Unable to open CFBs of my old project in 4diac 1.10 - 1.13 [message #1834817] |
Wed, 18 November 2020 14:26 |
Marc Jakobi Messages: 67 Registered: April 2017 |
Member |
|
|
Hi,
I have a project hosted on GitHub (I last used it in 4diac 1.9, if I recall correctly): https://github.com/MrcJkb/PVTControllerLib
Somebody contacted me saying that they could not open function blocks in 4diac 1.10 (on Windows), due to a NullPointerException
I just downloaded 4diac 1.13 to see if I could reproduce the issue on my device (running Arch Linux).
I can open interfaces and basic FBs just fine, but when I try to open composite function blocks in the FB editor, I am given the error message "Failed to create the part's controls.", along with the following stack trace:
org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:76)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:203)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.fordiac.ide.gef.editparts.AbstractDiagramEditPart.refresh(AbstractDiagramEditPart.java:71)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
at org.eclipse.fordiac.ide.gef.DiagramEditorWithFlyoutPalette.initializeGraphicalViewer(DiagramEditorWithFlyoutPalette.java:232)
at org.eclipse.fordiac.ide.gef.DiagramEditorWithFlyoutPalette.createGraphicalViewer(DiagramEditorWithFlyoutPalette.java:140)
...
Have there been incompatible changes to CFBs? If so, is there a way I can migrate them?
Best regards,
Marc
[Updated on: Wed, 18 November 2020 14:38] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03784 seconds