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 - NullPointerException when creating new File Template
Summary: NullPointerException when creating new File Template
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 19:10 UTC by Jan Lahoda
Modified: 2005-11-16 15:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The exception. (20.79 KB, text/plain)
2005-09-13 19:11 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
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