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.
When closing a project created with web wizard.
Created attachment 16547 [details] messages.log
Another exception: *********** Exception occurred ************ at 3:54 PM on Jul 29, 2004 java.lang.IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1 at org.netbeans.editor.LineRootElement.getElement (LineRootElement.java:54) at org.netbeans.editor.DrawEngineDocView.createCustomView (DrawEngineDocView.java:217) at org.netbeans.lib.editor.view.GapBoxView.customReloadChildren (GapBoxView.java:1797) at org.netbeans.editor.DrawEngineDocView.customReloadChildren (DrawEngineDocView.java:184) at org.netbeans.lib.editor.view.GapBoxView.reloadChildren (GapBoxView.java:1710) at org.netbeans.lib.editor.view.GapBoxView.getChildren (GapBoxView.java:646) at org.netbeans.lib.editor.view.GapBoxView.setParent (GapBoxView.java:627) at org.netbeans.lib.editor.view.GapDocumentView.setParent (GapDocumentView.java:169) at org.netbeans.editor.DrawEngineDocView.setParent (DrawEngineDocView.java:96) at org.netbeans.editor.view.spi.LockView.setParentLocked (LockView.java:215) at org.netbeans.editor.view.spi.LockView.setParent (LockView.java:193) at javax.swing.plaf.basic.BasicTextUI$RootView.setView (Unknown Source) at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source) at org.netbeans.editor.BaseTextUI.modelChanged (BaseTextUI.java:139) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange (Unknown Source) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange (Unknown Source) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange (Unknown Source) at javax.swing.JComponent.firePropertyChange(Unknown Source) at org.openide.text.QuietEditorPane.firePropertyChange (QuietEditorPane.java:42) at javax.swing.text.JTextComponent.setDocument(Unknown Source) at org.openide.text.CloneableEditor$1.run (CloneableEditor.java:137) at java.awt.event.InvocationEvent.dispatch(Unknown Source) [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) *********** Exception occurred ************ at 3:54 PM on Jul 29, 2004 java.lang.IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1 at org.netbeans.editor.LineRootElement.getElement (LineRootElement.java:54) at org.netbeans.editor.DrawEngineDocView.createCustomView (DrawEngineDocView.java:217) at org.netbeans.lib.editor.view.GapBoxView.customReloadChildren (GapBoxView.java:1797) at org.netbeans.editor.DrawEngineDocView.customReloadChildren (DrawEngineDocView.java:184) at org.netbeans.lib.editor.view.GapBoxView.reloadChildren (GapBoxView.java:1710) at org.netbeans.lib.editor.view.GapBoxView.getChildren (GapBoxView.java:646) at org.netbeans.lib.editor.view.GapBoxView.setParent (GapBoxView.java:627) at org.netbeans.lib.editor.view.GapDocumentView.setParent (GapDocumentView.java:169) at org.netbeans.editor.DrawEngineDocView.setParent (DrawEngineDocView.java:96) at org.netbeans.editor.view.spi.LockView.setParentLocked (LockView.java:215) at org.netbeans.editor.view.spi.LockView.setParent (LockView.java:193) at javax.swing.plaf.basic.BasicTextUI$RootView.setView (Unknown Source) at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source) at org.netbeans.editor.BaseTextUI.modelChanged (BaseTextUI.java:139) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange (Unknown Source) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange (Unknown Source) at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange (Unknown Source) at javax.swing.JComponent.firePropertyChange(Unknown Source) at org.openide.text.QuietEditorPane.firePropertyChange (QuietEditorPane.java:42) at javax.swing.text.JTextComponent.setDocument(Unknown Source) at org.openide.text.CloneableEditor$1.run (CloneableEditor.java:137) at java.awt.event.InvocationEvent.dispatch(Unknown Source) [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
And now when opening another project: *********** Exception occurred ************ at 3:58 PM on Jul 29, 2004 java.lang.NullPointerException at org.netbeans.modules.web.project.ProjectWebModule.getWebInf (ProjectWebModule.java:111) at org.netbeans.modules.web.project.ProjectWebModule.getDeploymentDescri ptor(ProjectWebModule.java:67) at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.pro jectOpened(WebProject.java:426) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened (ProjectOpenedHook.java:49) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened (OpenProjectList.java:316) at org.netbeans.modules.project.ui.OpenProjectList.open (OpenProjectList.java:135) at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed (OpenProject.java:68) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy (Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Passing to editor for evaluation, but looks like a JDK bug to me. I know some problems like this in BoxView were fixed in JDK 1.5.
Issue was already fixed. *** This issue has been marked as a duplicate of 45765 ***
Works ok.