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 73127 - NPE trying to save using toolbar save-button
Summary: NPE trying to save using toolbar save-button
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 71413 71446 74100 74205 75313 76354 80004 80766 81625 83512 83850 84268 131511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-01 11:57 UTC by assassin
Modified: 2008-03-29 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description assassin 2006-03-01 11:57:39 UTC
Not sure this belongs to "form", but here goes:

NPE when trying to save new file for the first time. Only occurs repeatedly when
trying to save using the toolbar savebutton, using file->save all works fine (?!).

Build 200601251500

*********** Exception occurred ************ at 12:49 PM on Mar 1, 2006
java.lang.NullPointerException
        at
org.netbeans.modules.form.JavaCodeGenerator.generateComponentCreate(JavaCodeGenerator.java:1115)
        at
org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:993)
        at
org.netbeans.modules.form.JavaCodeGenerator.addCreateCode(JavaCodeGenerator.java:998)
        at
org.netbeans.modules.form.JavaCodeGenerator.regenerateInitComponents(JavaCodeGenerator.java:815)
        at
org.netbeans.modules.form.JavaCodeGenerator.regenerateCode(JavaCodeGenerator.java:2548)
        at
org.netbeans.modules.form.JavaCodeGenerator$FormListener.formChanged(JavaCodeGenerator.java:2806)
        at org.netbeans.modules.form.FormModel.fireEvents(FormModel.java:979)
        at
org.netbeans.modules.form.FormModel.sendEventImmediately(FormModel.java:1007)
        at org.netbeans.modules.form.FormModel.fireFormToBeSaved(FormModel.java:694)
        at org.netbeans.modules.form.FormEditor.saveFormData(FormEditor.java:273)
        at
org.netbeans.modules.form.FormEditorSupport.saveDocument(FormEditorSupport.java:215)
        at org.netbeans.modules.java.JavaEditor$Save.save(JavaEditor.java:236)
        at org.netbeans.core.NbTopManager.saveAll(NbTopManager.java:261)
        at org.netbeans.core.NbTopManager.access$300(NbTopManager.java:63)
        at
org.netbeans.core.NbTopManager$NbLifecycleManager.saveAll(NbTopManager.java:421)
        at org.openide.actions.SaveAllAction.performAction(SaveAllAction.java:78)
        at
org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:94)
        at
org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:81)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
        at
org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:24)
        at
org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.doRun(ActionsBridge.java:72)
        at
org.netbeans.modules.openide.util.ActionsBridge$1.run(ActionsBridge.java:41)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Tomas Pavek 2006-07-04 14:40:01 UTC
Hopefully this problem was fixed with issue 77092.
Comment 2 Tomas Pavek 2006-07-04 14:57:53 UTC
*** Issue 74100 has been marked as a duplicate of this issue. ***
Comment 3 Tomas Pavek 2006-07-04 15:00:10 UTC
*** Issue 75313 has been marked as a duplicate of this issue. ***
Comment 4 Tomas Pavek 2006-07-04 15:01:29 UTC
*** Issue 76354 has been marked as a duplicate of this issue. ***
Comment 5 Tomas Pavek 2006-07-04 15:02:20 UTC
*** Issue 71446 has been marked as a duplicate of this issue. ***
Comment 6 Tomas Pavek 2006-07-04 15:04:47 UTC
*** Issue 74205 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Pavek 2006-07-19 11:20:20 UTC
*** Issue 80004 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Pavek 2006-07-26 14:29:29 UTC
*** Issue 80766 has been marked as a duplicate of this issue. ***
Comment 9 Tomas Pavek 2006-08-07 13:04:24 UTC
*** Issue 81625 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Pavek 2006-08-11 10:56:38 UTC
*** Issue 71413 has been marked as a duplicate of this issue. ***
Comment 11 Tomas Pavek 2006-08-28 09:30:07 UTC
*** Issue 83512 has been marked as a duplicate of this issue. ***
Comment 12 Jiri Prox 2006-08-31 09:07:28 UTC
*** Issue 83850 has been marked as a duplicate of this issue. ***
Comment 13 Tomas Pavek 2006-09-06 09:18:51 UTC
*** Issue 84268 has been marked as a duplicate of this issue. ***
Comment 14 Jan Stola 2008-03-29 12:30:26 UTC
*** Issue 131511 has been marked as a duplicate of this issue. ***
Comment 15 Jan Stola 2008-03-29 13:50:38 UTC
*** Issue 131511 has been marked as a duplicate of this issue. ***