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 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261 OS: Mac OS X User Comments: mperezma: This exception is thrown every time the mouse pointer moves over the bottom of checkout dialog! mperezma: I've just reported a problem from the IDE Report Problem wizard. Stacktrace: java.lang.ArrayIndexOutOfBoundsException: 0 at javax.swing.text.BoxView.getViewAtPoint(BoxView.java:655) at javax.swing.text.CompositeView.viewToModel(CompositeView.java:406) at javax.swing.text.BoxView.viewToModel(BoxView.java:486) at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(BasicTextUI.java:1541) at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1090) at javax.swing.text.html.HTMLEditorKit$LinkController.mouseMoved(HTMLEditorKit.java:665)
Created attachment 104282 [details] stacktrace
Created attachment 105011 [details] stacktrace
Created attachment 105012 [details] stacktrace
Created attachment 105446 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=173896
I have no idea how to fix it or how to reproduce. However from the stacktrace it seems related to the area inside a NB wizard where an error/info message is displayed. I tried to debug the code and it seems that WizardDescriptor sometimes tries to set text, icons and foreground of the message label in a background thread outside of AWT (see http://hg.netbeans.org/core-main/file/d0d4728eef07/openide.dialogs/src/org/openide/WizardDescriptor.java#l1454 and http://hg.netbeans.org/core-main/file/d0d4728eef07/openide.dialogs/src/org/openide/WizardDescriptor.java#l1473). Can you move that part of code into the EDT? Or if you have any idea what subversion might do wrong, reassign back.
*** Bug 195424 has been marked as a duplicate of this bug. ***
this seems to be a duplicate of #195272 the versioning wizard probably catches some exception and displays it as an html formatted error notification at the bottom of the wizard window. the error message most likely contains some elements which break swing's html document. so there are exceptions like this one: java.lang.NullPointerException at javax.swing.text.DefaultStyledDocument.getParagraphElement(DefaultStyledDocument.java:445) at javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes(StyledEditorKit.java:223) at javax.swing.text.StyledEditorKit$AttributeTracker.caretUpdate(StyledEditorKit.java:258) at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:391) at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4387) at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4409) at javax.swing.text.DefaultCaret.fireStateChanged(DefaultCaret.java:782) at com.apple.laf.AquaCaret.fireStateChanged(AquaCaret.java:56) at javax.swing.text.DefaultCaret.changeCaretPosition(DefaultCaret.java:1257) at javax.swing.text.DefaultCaret.handleSetDot(DefaultCaret.java:1153) at javax.swing.text.DefaultCaret.setDot(DefaultCaret.java:1134) at javax.swing.text.DefaultCaret$Handler.removeUpdate(DefaultCaret.java:1777) at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243) at javax.swing.text.AbstractDocument.handleRemove(AbstractDocument.java:608) at javax.swing.text.AbstractDocument.remove(AbstractDocument.java:576) at javax.swing.JEditorPane.setText(JEditorPane.java:1493) at org.openide.WizardDescriptor$WizardPanel.prepareMessage(WizardDescriptor.java:2643) and the broken html also makes problems when user mouse-overs the error notification: java.lang.ArrayIndexOutOfBoundsException: 0 at javax.swing.text.BoxView.getViewAtPoint(BoxView.java:655) at javax.swing.text.CompositeView.viewToModel(CompositeView.java:406) at javax.swing.text.BoxView.viewToModel(BoxView.java:486) at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(BasicTextUI.java:1541) at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1090) at javax.swing.text.html.HTMLEditorKit$LinkController.mouseMoved(HTMLEditorKit.java:665) if this problem is reproducible, i recommend checking the error message for broken html fragments and/or escaping special html characters in it. *** This bug has been marked as a duplicate of bug 195272 ***