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.
Cannot open .jsp files when VisualWeb module is active. (Root cause looks like NullPointerException on line 391 of JsfProjectUtils.java): org.openide.loaders.DataObjectNotFoundException: MasterFileObject@147f75[C:/ptc/Windchill/web-root/jsp/flexbom/ViewBOM.jsp] at org.openide.loaders.DataObject.find(DataObject.java:474) at org.netbeans.modules.openfile.DefaultOpenFileImpl.open(DefaultOpenFileImpl.java:431) at org.netbeans.modules.openfile.OpenFile.openFile(OpenFile.java:83) at org.netbeans.modules.openfile.OpenFileAction.performAction(OpenFileAction.java:114) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:100) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:53) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:96) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) 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) Caused by: java.io.IOException: java.lang.NullPointerException at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:379) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:408) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:368) at org.openide.loaders.DataObject.find(DataObject.java:465) ... 32 more Caused by: java.lang.NullPointerException at com.sun.rave.project.jsf.api.JsfProjectUtils.getDocumentRoot(JsfProjectUtils.java:391) at com.sun.rave.project.jsf.api.JsfProjectUtils.getBasePathForJsp(JsfProjectUtils.java:599) at com.sun.rave.project.jsf.api.JsfProjectUtils.getJavaForJsp(JsfProjectUtils.java:505) at com.sun.rave.project.jsfloader.Utils.findJavaForJsp(Utils.java:46) at com.sun.rave.project.jsfloader.JsfJspDataLoader.findPrimaryFile(JsfJspDataLoader.java:82) at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:268) at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:71) at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:129) at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:364) ... 35 more Also cannot see any .jsp files in File/Favorites when VisualWeb module is active. Inactivating the visualweb module eliminates the .jsp file problems.
Fix will be available soon when the update center is ready. Please go to http://www.netbeans.org/products/visualweb/ or using auto-update when patch is ready. Currently it shows: "Pack update in progress, download coming soon "