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.
NetBeans close abruptly while editing or switching to a JSP. The only hint that indicate the above fact is the following stack trace: INFORMATIONAL *********** Exception occurred ************ at Tue Dec 02 15:37:33 EST 2003 org.apache.jasper.compiler.ParseException: /error. jsp(68,0) Unterminated <% tag at org.apache.jasper.compiler.Parser$Scriptlet.accept (Parser.java:617) at org.apache.jasper.compiler.Parser.parse (Parser.java:1145) at org.apache.jasper.compiler.Parser.parse (Parser.java:1103) at org.apache.jasper.compiler.Parser.parse (Parser.java:1099) at org.apache.jasper.compiler.ParserController.parse (ParserController.java:214) [catch] at org.netbeans.modules.web.jspparser.JspParserImpl.c allTomcatParser(JspParserImpl.java:126) at org.netbeans.modules.web.jspparser.JspParserImpl.p arsePage(JspParserImpl.java:117) at org.netbeans.modules.web.core.jsploader.TagLibPars eSupport$ParsingRunnable.run (TagLibParseSupport.java:119) at org.openide.util.Task.run (Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:328) at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:670)
Today, NetBeans closed abruptly 3 times. No stack trace in the log. The last time it closed, I clicked on WEB-INF node in the Explorer window. I don't know what to do with it (change to component/subcomponent). Also, I don't know if it is related, but I tried to install the ant- grammar module - but failed. Maybe there is rubbish that remained in the my NetBeans installation. I think the problem started after I tried that installation. But I have nothing related to ant-grammar in the log file.
NetBeans closed again while I was accessing my web application using the internal Tomcat server 4.0.6. While both runide.exe processes was shutted down, the Tomcat server was still alive. I tried to create a new user directory (was .netbeans\3.5 now is .netbeans\3.5.new) in an attempt to reset my configuration to something clean, and I still have the same problem.
Created attachment 12405 [details] Thread dump of an Unexpected Signal
This problem occurs with JDK 1.4.2-b28 and JDK 1.4.2_03-b02 but not with 1.4.1-b21.
Following exeption using JDK 1.4.1: NOTE: if I do jar -xvf mail.jar, everything is ok - no error. java.lang.InternalError: jzentry == 0, jzfile = 669241520, total = 213, name = D:\projets_starteam\Voila\Developpement\site\WEB- INF\lib\mail.jar, i = 2, message = invalid LOC header (bad signature) at java.util.zip.ZipFile$2.nextElement(ZipFile.java:309) at java.util.jar.JarFile$1.nextElement(JarFile.java:201) at org.apache.jasper.compiler.TldLocationsCache.tldConfigJar (TldLocationsCache.java:237) at org.apache.jasper.compiler.TldLocationsCache.processJars (TldLocationsCache.java:210) at org.apache.jasper.compiler.TldLocationsCache.<init> (TldLocationsCache.java:139) at org.netbeans.modules.tomcat.tomcat40.compile.WMDataCache.getTldLocatio nsCache(WMDataCache.java:86) at org.netbeans.modules.tomcat.tomcat40.compile.TomcatOptionsImpl.initial ize(TomcatOptionsImpl.java:78) at org.netbeans.modules.tomcat.tomcat40.compile.TomcatOptionsImpl.<init> (TomcatOptionsImpl.java:69) at org.netbeans.modules.tomcat.tomcat40.compile.TomcatCompileContext$Tomc atDevelopmentCompilation.initialize(TomcatCompileContext.java:208) at org.netbeans.modules.tomcat.tomcat40.compile.TomcatCompileContext$Tomc atDevelopmentCompilation.<init>(TomcatCompileContext.java:192) at org.netbeans.modules.tomcat.tomcat40.compile.TomcatCompileContext.getD evelopmentCompilation(TomcatCompileContext.java:121) at org.netbeans.modules.web.core.jsploader.JspDataObject.getCookie (JspDataObject.java:173) at org.openide.loaders.DataNode.getCookie(DataNode.java:296) at org.openidex.nodes.looks.NodeProxyLook.getCookie (NodeProxyLook.java:93) at org.openidex.nodes.looks.CompositeLook.getCookie (CompositeLook.java:237) at org.netbeans.modules.web.core.jsploader.WebLookNode.getCookie (WebLookNode.java:233) at org.openide.actions.AbstractCompileAction.enable (AbstractCompileAction.java:58) at org.openide.util.actions.NodeAction.isEnabled (NodeAction.java:123) at org.openide.awt.Actions$ButtonBridge.updateState (Actions.java:296) at org.openide.awt.Actions$1.run(Actions.java:253) at org.openide.util.Mutex.doEvent(Mutex.java:912) at org.openide.util.Mutex.readAccess(Mutex.java:232) at org.openide.awt.Actions$Bridge.propertyChange (Actions.java:251) at java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:252) at org.openide.util.SharedClassObject.firePropertyChange (SharedClassObject.java:386) at org.openide.util.actions.NodeAction.maybeFireEnabledChange (NodeAction.java:257) at org.openide.util.actions.NodeAction$NodesL.forget (NodeAction.java:375) at org.openide.util.actions.NodeAction$NodesL.update (NodeAction.java:350) at org.openide.util.actions.NodeAction$NodesL.propertyChange (NodeAction.java:342) at java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:252) at org.netbeans.core.windows.RegistryImpl.tryFireChanges (RegistryImpl.java:261) at org.netbeans.core.windows.RegistryImpl.selectedNodesChanged (RegistryImpl.java:217) at org.netbeans.core.windows.WindowManagerImpl$TopComponentManager.setAct ivatedNodes(WindowManagerImpl.java:1778) at org.openide.windows.TopComponent.setActivatedNodes (TopComponent.java:184) at org.openide.explorer.ExplorerPanel$PropL.propertyChange (ExplorerPanel.java:287) at org.openide.util.WeakListener$PropertyChange.propertyChange (WeakListener.java:485) at java.beans.PropertyChangeSupport.firePropertyChange (PropertyChangeSupport.java:252) at org.openide.explorer.ExplorerManager.setSelectedNodes (ExplorerManager.java:208) at org.openide.explorer.ExplorerManager.setSelectedNodes1 (ExplorerManager.java:344) at org.openide.explorer.ExplorerManager.setExploredContextAndSelection (ExplorerManager.java:309) at org.openide.explorer.view.BeanTreeView.selectionChanged (BeanTreeView.java:86) at org.openide.explorer.view.TreeView.callSelectionChanged (TreeView.java:613) at org.openide.explorer.view.TreeView$TreePropertyListener.run (TreeView.java:934) at org.openide.util.Mutex.postRequest(Mutex.java:875) at org.openide.util.Mutex.postReadRequest(Mutex.java:358) at org.openide.explorer.view.TreeView$TreePropertyListener.valueChanged (TreeView.java:904) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged (DefaultTreeSelectionModel.java:629) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange (DefaultTreeSelectionModel.java:1076) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths (DefaultTreeSelectionModel.java:287) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath (DefaultTreeSelectionModel.java:170) at javax.swing.JTree.setSelectionPath(JTree.java:1181) at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent (BasicTreeUI.java:2192) at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.handleSelection (BasicTreeUI.java:2840) at javax.swing.plaf.basic.BasicTreeUI$MouseHandler.mousePressed (BasicTreeUI.java:2801) at java.awt.AWTEventMulticaster.mousePressed (AWTEventMulticaster.java:218) at java.awt.AWTEventMulticaster.mousePressed (AWTEventMulticaster.java:217) at java.awt.AWTEventMulticaster.mousePressed (AWTEventMulticaster.java:217) at java.awt.AWTEventMulticaster.mousePressed (AWTEventMulticaster.java:217) at java.awt.AWTEventMulticaster.mousePressed (AWTEventMulticaster.java:217) at java.awt.Component.processMouseEvent(Component.java:5090) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3162) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:136) at java.awt.EventDispatchThread.run (EventDispatchThread.java:99)
Same symptoms (invalid LOC header) as Issue 31573. Closing as duplicate.
*** This issue has been marked as a duplicate of 31573 ***
v