Problem...

When I click to open a file, I get this error:

java.lang.NullPointerException

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.getOrCreateFolder(ProjectBuildManager.java:218)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.generateConfigurationSpecificBuildFolder(ProjectBuildManager.java:464)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.getMyBuildFolder(ProjectBuildManager.java:439)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.generateSourceToBuildFileMappings(ProjectBuildManager.java:687)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.refreshFileMapping(ProjectBuildManager.java:727)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.Builder.ProjectBuildManager.getMyFileMapping(ProjectBuildManager.java:747)

at com.MYDevelopers.LuaSupport.LuaProject.ProjectManagerAndBuilder.LuaProjectManager.getFileMapping(LuaProjectManager.java:121)

at com.MYDevelopers.LuaSupport.LuaProject.LuaProject.setDefaultOrUniqueIcon(LuaProject.java:744)

at com.MYDevelopers.LuaSupport.LuaProject.LuaProject.getIcon(LuaProject.java:730)

at com.MYDevelopers.LuaSupport.LuaSourceNode.getIcon(LuaSourceNode.java:89)

at org.openide.text.DataEditorSupport.initializeCloneableEditor(DataEditorSupport.java:407)

at org.openide.text.CloneableEditor.initializeBySupport(CloneableEditor.java:268)

at org.netbeans.core.spi.multiview.text.MultiViewCloneableEditor.<init>(MultiViewCloneableEditor.java:85)

at org.netbeans.core.spi.multiview.text.MultiViewEditorElement.<init>(MultiViewEditorElement.java:99)

at com.MYDevelopers.LuaSupport.LuaDataObject.createEditor(LuaDataObject.java:115)

Caused: java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:483)

at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.createElement(MultiViewFactory.java:456)

Caused: java.lang.IllegalStateException: Cannot instantiate com.MYDevelopers.LuaSupport.LuaDataObject

at org.netbeans.core.spi.multiview.MultiViewFactory$MapMVD.createElement(MultiViewFactory.java:464)

at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:222)

at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:132)

at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:128)

at org.netbeans.core.multiview.MultiViewPeer.peerComponentHidden(MultiViewPeer.java:361)

at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentHidden(MultiViewCloneableTopComponent.java:136)

[catch] at org.openide.windows.WindowManager.componentHidden(WindowManager.java:352)

at org.netbeans.core.windows.WindowManagerImpl.componentHidden(WindowManagerImpl.java:1215)

at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:535)

at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:275)

at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:251)

at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:189)

at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:127)

at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1797)

at org.netbeans.core.windows.WindowManagerImpl.topComponentRequestActive(WindowManagerImpl.java:1334)

at org.openide.windows.TopComponent.requestActive(TopComponent.java:861)

at org.netbeans.modules.notifications.FlashingIcon.onMouseClick(FlashingIcon.java:159)

at org.netbeans.modules.notifications.FlashingIcon.mouseClicked(FlashingIcon.java:150)

at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:269)

at java.awt.Component.processMouseEvent(Component.java:6530)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)

at java.awt.Component.processEvent(Component.java:6292)

at java.awt.Container.processEvent(Container.java:2234)

at java.awt.Component.dispatchEventImpl(Component.java:4883)

at java.awt.Container.dispatchEventImpl(Container.java:2292)

at java.awt.Component.dispatchEvent(Component.java:4705)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4542)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)

at java.awt.Container.dispatchEventImpl(Container.java:2278)

at java.awt.Window.dispatchEventImpl(Window.java:2739)

at java.awt.Component.dispatchEvent(Component.java:4705)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)

at java.awt.EventQueue.access$400(EventQueue.java:97)

at java.awt.EventQueue$3.run(EventQueue.java:697)

at java.awt.EventQueue$3.run(EventQueue.java:691)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)

at java.awt.EventQueue$4.run(EventQueue.java:719)

at java.awt.EventQueue$4.run(EventQueue.java:717)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)

at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

… Ok - I removed the Application Support directory and reinstalled the whole thing… seems to be better.

I had moved my user directory to a thunderbolt external drive… that likely messed up some path stuff. :slight_smile:

Anyway – all better now it seems.

Hello kennw,

Great! Thanks for letting us know.

Regards,

M.Y. Developers

… Ok - I removed the Application Support directory and reinstalled the whole thing… seems to be better.

I had moved my user directory to a thunderbolt external drive… that likely messed up some path stuff. :slight_smile:

Anyway – all better now it seems.

Hello kennw,

Great! Thanks for letting us know.

Regards,

M.Y. Developers