DataCrow throws a critical error when starting up with a stack trace error as follows:
FATAL [main] (DataCrow.java:425) - Severe error occurred while starting Data Crow. The application cannot continue.
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1042)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at net.datacrow.core.DataCrow.main(DataCrow.java:349)
Caused by: java.lang.NullPointerException
at net.datacrow.console.menu.MainFrameMenuBar.build(MainFrameMenuBar.java:189)
at net.datacrow.console.menu.MainFrameMenuBar.<init>(MainFrameMenuBar.java:53)
at net.datacrow.core.modules.DcModule.getMenuBar(DcModule.java:908)
at net.datacrow.console.MainFrame.updateMenuBar(MainFrame.java:457)
at net.datacrow.console.MainFrame.changeModule(MainFrame.java:480)
at net.datacrow.console.MainFrame.initialize(MainFrame.java:144)
at net.datacrow.core.DataCrow$1.run(DataCrow.java:355)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1042)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1326)
at net.datacrow.core.DataCrow.main(DataCrow.java:349)
Caused by: java.lang.NullPointerException
at net.datacrow.console.menu.MainFrameMenuBar.build(MainFrameMenuBar.java:189)
at net.datacrow.console.menu.MainFrameMenuBar.<init>(MainFrameMenuBar.java:53)
at net.datacrow.core.modules.DcModule.getMenuBar(DcModule.java:908)
at net.datacrow.console.MainFrame.updateMenuBar(MainFrame.java:457)
at net.datacrow.console.MainFrame.changeModule(MainFrame.java:480)
at net.datacrow.console.MainFrame.initialize(MainFrame.java:144)
at net.datacrow.core.DataCrow$1.run(DataCrow.java:355)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I've had no previous problems with Datacrow, however the last time I used Datacrow before this error occurred I noticed that the main menu bar had disappeared.
I am wondering if this has anything to do with the module I have created, although it was working fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm, I suspect this has something to do with reusing the term 'item' in my custom module, although I'm not sure why it worked to start with. I should've guessed this is a reserved word.
Assuming this is the case, what files do I need to edit in order to not have to re-write the module completely?
Are there any guidelines on what are reserved words?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DataCrow throws a critical error when starting up with a stack trace error as follows:
I've had no previous problems with Datacrow, however the last time I used Datacrow before this error occurred I noticed that the main menu bar had disappeared.
I am wondering if this has anything to do with the module I have created, although it was working fine.
Hmm, I suspect this has something to do with reusing the term 'item' in my custom module, although I'm not sure why it worked to start with. I should've guessed this is a reserved word.
Assuming this is the case, what files do I need to edit in order to not have to re-write the module completely?
Are there any guidelines on what are reserved words?