This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 090707) VM: Java HotSpot(TM) Client VM, 1.5.0_18-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_18-b02 OS: Linux, 2.6.28-13-generic, i386 User Comments: jglick: Just started IDE. Not using web apps. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.JspEditorWarmUpTask.isWebProjectOpened(JspEditorWarmUpTask.java:342) at org.netbeans.modules.web.core.JspEditorWarmUpTask.run(JspEditorWarmUpTask.java:143) at org.netbeans.core.WarmUpSupport.run(WarmUpSupport.java:87) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Created attachment 84451 [details] stacktrace
Build: NetBeans IDE Dev (Build 090707) VM: Java HotSpot(TM) Client VM, 1.5.0_18-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_18-b02 OS: Linux, 2.6.28-13-generic, i386 User Comments: Restarting IDE with cobertura open as an autoproject. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.JspEditorWarmUpTask.isWebProjectOpened(JspEditorWarmUpTask.java:342) at org.netbeans.modules.web.core.JspEditorWarmUpTask.run(JspEditorWarmUpTask.java:143) at org.netbeans.core.WarmUpSupport.run(WarmUpSupport.java:87) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Created attachment 84554 [details] stacktrace
Possible dupe of issue #156889?
If it is AutoProj then it most probably is dupe. I will try to look at AP this week. *** This issue has been marked as a duplicate of 156889 ***
Reopening to make sure this gets tracked. Will probably need to backport whatever changes you make to autoproject.web to the release67/contrib repo (or you can just make them directly there in the autoproject_fixes branch).
So is this FIXED in contrib #6fe109df6b87?
Fixed by contrib #6fe109df6b87 and contrib #2e1a8bc2576d
Created attachment 84879 [details] patch for release67
Jesse, could you verify the fix please and if ok apply attached patch to release67. I created patch against autoproject_fixes branch. Thx.
Have not found any problems yet with trunk version.
I take that back. I got java.lang.NullPointerException at org.netbeans.modules.autoproject.web.WebModuleImpl.getMetadataModel(WebModuleImpl.java:114) at org.netbeans.modules.web.api.webmodule.WebModule.getMetadataModel(WebModule.java:250) at org.netbeans.modules.web.project.ui.SetExecutionUriAction.isServletFile(SetExecutionUriAction.java:198) at org.netbeans.modules.web.project.ui.SetExecutionUriAction.enable(SetExecutionUriAction.java:111) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:206) at org.openide.actions.ToolsAction.generate(ToolsAction.java:173) at org.openide.actions.ToolsAction.access$200(ToolsAction.java:74) at org.openide.actions.ToolsAction$Inline.synchMenuPresenters(ToolsAction.java:243) at org.openide.actions.ToolsAction$Inline.getMenuPresenters(ToolsAction.java:250) at org.openide.awt.DynaMenuModel.loadSubmenu(DynaMenuModel.java:98) at org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(MenuBar.java:688) at org.openide.loaders.FolderInstance.defaultProcessObjectsFinal(FolderInstance.java:870) at org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:735) at org.openide.util.Task.run(Task.java:249) [catch] at org.netbeans.modules.openide.loaders.AWTTask.run(AWTTask.java:70) at org.netbeans.modules.openide.loaders.AWTTask$Processor.run(AWTTask.java:111) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:117) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) after restarting with jspwiki open. Not sure if it is related, but may be. It does not appear that any code ever writes to cpProvider. Bug in constructor?
yeap, cpProvider initialization was missing. contrib 6a8f4441be4e. it is different issue
Backported in release67/contrib #8708ae05d673 and release67/contrib #ae5b4e2eda62, will push to AU.