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 129642 - NullPointerException at org.netbeans.modules.swingapp.ProjectCustomizerProvider$SaveListener.storeValue
Summary: NullPointerException at org.netbeans.modules.swingapp.ProjectCustomizerProvid...
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-03-10 11:37 UTC by bhavin_55
Modified: 2008-09-10 11:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 10526


Attachments
stacktrace (445 bytes, text/plain)
2008-03-10 11:37 UTC, bhavin_55
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bhavin_55 2008-03-10 11:37:10 UTC
Build: NetBeans IDE 6.0 RC1 (Build 200711131200)
VM: Java HotSpot(TM) Client VM, 1.5.0_06-b05
OS: Windows XP, 5.1, x86

User Comments: 
I have migrated my Desktop Application which is previously developed using Netbeans 3.0 and JDK 1.4., now i am using in Netbeans 6.0 RC1 and JDK 1.5 as tool.
This application is developed using SWING framework. I have already configure library path.
Its compiled without any errors. But when i am trying to run it it will gives me this type of error.
So if you anybody has solution please help me to solved out this problem. Even Though my application is working.
Comment 1 bhavin_55 2008-03-10 11:37:14 UTC
Created attachment 58054 [details]
stacktrace
Comment 2 bhavin_55 2008-03-10 11:40:07 UTC
this is the actual exception ...
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at javax.swing.ArrayTable.remove(ArrayTable.java:188)
        at javax.swing.ActionMap.remove(ActionMap.java:117)
        at javax.swing.ToolTipManager.unregisterComponent(ToolTipManager.java:388)
        at javax.swing.JComponent.setToolTipText(JComponent.java:2877)
        at net.infonode.docking.internalutil.InternalDockingUtil.updateButtons(InternalDockingUtil.java:162)
        at net.infonode.docking.WindowTab.updateTabButtons(WindowTab.java:179)
        at net.infonode.docking.DockingWindow.updateButtonVisibility(DockingWindow.java:1372)
        at net.infonode.docking.View.updateButtonVisibility(View.java:541)
        at net.infonode.docking.DockingWindow.updateButtonVisibility(DockingWindow.java:1375)
        at net.infonode.docking.TabWindow.doUpdateButtonVisibility(TabWindow.java:172)
        at net.infonode.docking.TabWindow.updateButtonVisibility(TabWindow.java:157)
        at net.infonode.docking.AbstractTabWindow$6.run(AbstractTabWindow.java:146)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        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)
Comment 3 Jan Stola 2008-03-10 14:35:37 UTC
> this is the actual exception ...
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>         at javax.swing.ArrayTable.remove(ArrayTable.java:188)
>         at javax.swing.ActionMap.remove(ActionMap.java:117)
>         at javax.swing.ToolTipManager.unregisterComponent(ToolTipManager.java:388)
>         at javax.swing.JComponent.setToolTipText(JComponent.java:2877)
>         at net.infonode.docking.internalutil.InternalDockingUtil.updateButtons(InternalDockingUtil.java:162)
>         ...

I am sorry, but I don't see how is this issue related to NetBeans. The stack trace shows that the exception comes from 
your code.

> NullPointerException at org.netbeans.modules.swingapp.ProjectCustomizerProvider$SaveListener.storeValue
> ...

I am not able to reproduce this exception. Are you still able to reproduce it? If so, could you, please, provide exact 
steps to reproduce? Thank you in advance.
Comment 4 Jan Stola 2008-03-10 15:29:13 UTC
> This same application source code is work fine in Netbeans 3.6 (JDK 1.4) and and gives me error
> in Netbeans 6.x(JDK 1.5). Even I am not sure why this happen.
>
> So I have tried to change Platform in Netbeans 6.x to jdk 1.4 for this application but still same error.
> So I am confuse and bit wonder how this possible.

I am sorry, I still don't understand how is this issue related to NetBeans GUI builder. The attached exception is 
thrown by your own code and I have no idea what your code does and why it may fail.

If you still believe that there is some bug in NetBeans GUI builder, please, specify more details. It would be ideal to 
provide steps to reproduce. Thank you in advance.
Comment 5 Jan Stola 2008-03-17 17:46:37 UTC
Closing as non-reproducible.
Comment 6 deamonuy 2008-09-05 03:59:55 UTC
I have NetBeans 6.1, and the error still going
Comment 7 Jan Stola 2008-09-10 11:10:32 UTC
I believe that this issue was fixed together with issue 134831.