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 64273

Summary: NullPointerException when creating new File Template
Product: apisupport Reporter: Jan Lahoda <jlahoda>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: The exception.

Description Jan Lahoda 2005-09-13 19:10:32 UTC
Own build, recent sources (from today).

I tried to do create Wizard/New File, and when I confirmed the last step, the
attached UndeclaredThrowableException/NullPointerException occurred. The wizard
seems to be generated, but the registartion into the layer is not done.

Please let me know if you need more info.
Comment 1 Jan Lahoda 2005-09-13 19:11:41 UTC
Created attachment 24762 [details]
The exception.
Comment 2 Jesse Glick 2005-09-13 23:19:14 UTC
Did you perhaps try to add to a module which had no localizing bundle?
Comment 3 Jan Lahoda 2005-09-14 08:35:20 UTC
That's it. I suppose this won't be very common case (P2->P3).
Comment 4 Jesse Glick 2005-09-14 21:09:33 UTC
OK, should be easy enough to fix anyway.
Comment 5 Jesse Glick 2005-11-08 01:47:46 UTC
Will in this case simply not try to localize the file entry. If you cared about
localization, you shouldn't have deleted the localizing bundle...
Comment 6 Jesse Glick 2005-11-08 03:20:47 UTC
committed   * Up-To-Date  1.19       
apisupport/project/src/org/netbeans/modules/apisupport/project/CreatedModifiedFilesFactory.java
committed   * Up-To-Date  1.21       
apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/CreatedModifiedFilesTest.java
Comment 7 pzajac 2005-11-16 15:28:30 UTC
verified