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.

Bug 146261 - NullPointerException at org.netbeans.modules.form.layoutsupport.delegates.JTabbedPaneSupport.processMouseClick
Summary: NullPointerException at org.netbeans.modules.form.layoutsupport.delegates.JTa...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-04 23:47 UTC by sternix
Modified: 2008-09-08 21:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 105826


Attachments
stacktrace (2.03 KB, text/plain)
2008-09-04 23:47 UTC, sternix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sternix 2008-09-04 23:47:06 UTC
Build: NetBeans IDE Dev (Build 200809040201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.layoutsupport.delegates.JTabbedPaneSupport.processMouseClick(JTabbedPaneSupport.java:103)
        at org.netbeans.modules.form.layoutsupport.LayoutSupportManager.processMouseClick(LayoutSupportManager.java:765)
        at org.netbeans.modules.form.HandleLayer.processMouseClickInLayoutSupport(HandleLayer.java:1145)
        at org.netbeans.modules.form.HandleLayer.mousePressed(HandleLayer.java:1927)
        at java.awt.Component.processMouseEvent(Component.java:6131)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
Comment 1 sternix 2008-09-04 23:47:10 UTC
Created attachment 69110 [details]
stacktrace
Comment 2 Jan Stola 2008-09-08 16:12:00 UTC
I am sorry, I am not able to reproduce this issue. Are you still able to reproduce it? If so, could you, please, 
describe exact steps to reproduce?

I am probably able to workaround this issue, but I would like to have a test-case to be sure. Thank you in advance.
Comment 3 Jan Stola 2008-09-08 16:37:31 UTC
I have implemented the mentioned workaround.

Modified file: http://hg.netbeans.org/main?cmd=changeset;node=e5cd7e73905c
Comment 4 sternix 2008-09-08 21:37:21 UTC
hi i was playing with the jide commons (open source version) https://jide-oss.dev.java.net/
you can reproduce this exception as,

open a new java application
create a new JFrame
put a JideTabbedPane (i put this component to the palette earlier)
put a JPanel on the JideTabbedPane
click the tab header for rename the tab name
enter a new value this makes Jpanel unvisible
and try to resize the JideTabbedPane,
i get always by this way...

Thank you for interest.