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.
5.5.1 0308_2 1. Fresh userdir 2. New project 3. Create a new page (page2) 4. Add a page fragment to page2 5. open page fragment (double click) 6. add a property sheet to the page fragment. 7. switch back to page 2 8. Goto project tab and set page2 as Start Page 9. move your mouse over the page fragment and the error appears. I tried it with 5.5 and could not reproduce this issue. *********** Exception occurred ************ at 9:02 PM on Mar 12, 2007 java.lang.NullPointerException at com.sun.rave.text.Range.ensureMarkIsFirst(Range.java:184) at com.sun.rave.text.Range.<init>(Range.java:113) at com.sun.rave.text.DesignerCaret.handleSetDot(DesignerCaret.java:852) at com.sun.rave.text.DesignerCaret.setDot(DesignerCaret.java:765) at com.sun.rave.text.DesignerPaneBase.setCaretPosition (DesignerPaneBase.java:845) at com.sun.rave.designer.InteractionManager.updateDropState (InteractionManager.java:725) at com.sun.rave.designer.InteractionManager$MouseHandler.mouseMoved (InteractionManager.java:2671) at java.awt.Component.processMouseMotionEvent(Component.java:5533) at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3144) at java.awt.Component.processEvent(Component.java:5257) 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:3905) 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) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) [catch] 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)
Went through the other components. Here is a woodstock list of components that error when inside of a page fragment whose parent page is marked as the start page: Property sheet, dropdown, textarea, listbox, checkbox, password, file upload, anchor These do NOT error textfield, calendar, tree, statictext, button, hyperlink, image hyperlink, checkbox group, radio button group, image, table, hidden field, message, message group, group panel, layout panel, page separator, tab set, page fragment, page alert, form, alert, add remove, breadcrumbs, inline help.
Both the Standard, and braveheart components seem to work error free, so the issue is specific to woodstock.
Peter, could you please take a look at this bug since the NPE is from a designer class? It might still be a woodstock bug.
Yes, I am gonna have a look at it. The NPE shouldn't happen in the designer, and I will fix at least that part, but the cause of this issue might be still somewhere else.
Lark I can't reproduce it. Please attach entire log. From the code, there should be some exceptions (at least informational) which occure before this one.
Now I succeded to reproduce it!
Fixed in 5.5.1 Checking in designer/src/com/sun/rave/designer/InteractionManager.java; /cvs/rave/designer/src/com/sun/rave/designer/InteractionManager.java,v <-- InteractionManager.java new revision: 1.89.2.1; previous revision: 1.89 done
I was able to reproduce the exception with 5.5 using the scenario which included the property sheet. Could not reproduce with a dropdown. (on WXP, jdk1.6)
I can't reproduce it with property sheet & dropdown on 5.5: jdk 1.5.0_08-b03, vwp 1127_6. I have the jboss cobundle.
*** Issue 99296 has been marked as a duplicate of this issue. ***
Verified using 5.5.1 FCS