I feel like I must be missing something obvious. I started a new IntelliJ project using:
After building the modl out of the box and installing it, then using it in designer- the console prints:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.inductiveautomation.factorypmi.designer.property.editors.bb.SwingEnumEditor.setValue(SwingEnumEditor.java:79)
at com.inductiveautomation.factorypmi.designer.property.editors.IntegerEditor.setValue(IntegerEditor.java:85)
at com.inductiveautomation.factorypmi.designer.property.propertytable.PropertyValueEditor.getTableCellEditorComponent(PropertyValueEditor.java:154)
at com.inductiveautomation.factorypmi.designer.property.propertytable.PropertyValueEditor.getTableCellRendererComponent(PropertyValueEditor.java:91)
at com.jidesoft.grid.JideTable.a(Unknown Source)
at com.jidesoft.grid.CellStyleTable.a(Unknown Source)
at com.jidesoft.grid.JideTable.b(Unknown Source)
at com.jidesoft.grid.CellSpanTable.calculateRowHeight(Unknown Source)
at com.jidesoft.grid.JideTable.c(Unknown Source)
at com.jidesoft.grid.JideTable.getCellRect(Unknown Source)
at com.jidesoft.grid.CellSpanTable.getCellRect(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicTableUI.createTableSize(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicTableUI.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.ScrollPaneLayout.preferredLayoutSize(Unknown Source)
at java.desktop/java.awt.Container.preferredSize(Unknown Source)
at java.desktop/java.awt.Container.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.desktop/java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.desktop/java.awt.Container.preferredSize(Unknown Source)
at java.desktop/java.awt.Container.getPreferredSize(Unknown Source)
at java.desktop/javax.swing.JComponent.getPreferredSize(Unknown Source)
at com.jidesoft.swing.JideBoxLayout.getPreferredSizeOf(Unknown Source)
at com.jidesoft.swing.JideBoxLayout.calculateComponentSizes(Unknown Source)
at com.jidesoft.swing.JideSplitPaneLayout.calculateComponentSizes(Unknown Source)
at com.jidesoft.swing.JideBoxLayout.layoutContainer(Unknown Source)
at java.desktop/java.awt.Container.layout(Unknown Source)
at java.desktop/java.awt.Container.doLayout(Unknown Source)
at com.jidesoft.swing.JideSplitPane.doLayout(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validateTree(Unknown Source)
at java.desktop/java.awt.Container.validate(Unknown Source)
at java.desktop/javax.swing.RepaintManager$3.run(Unknown Source)
at java.desktop/javax.swing.RepaintManager$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
I’m using Oracle JDK11 for my IDE- any ideas?