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 47864 - NullPointerException from New File Wizard
Summary: NullPointerException from New File Wizard
Status: CLOSED DUPLICATE of bug 47628
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-08-25 08:26 UTC by Marian Petras
Modified: 2006-01-19 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
full callstack (9.23 KB, text/plain)
2004-08-25 08:27 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2004-08-25 08:26:36 UTC
I accidentaly invoked the New File action from the
context menu of node "Source Packages" and got the
exception below. The project was of type "Java
Application".

The exception is thrown no matter of what template
is selected.

The exception is not thrown if the action is
invoked from the "Test Packages" node.

The first five lines of the exception follow. The
full callstack will be attached:

java.lang.NullPointerException
   
at-org.netbeans.modules.java.project.NewJavaFileWizardIterator.current(NewJavaFileWizardIterator.java:195)
   
at-org.openide.loaders.TemplateWizard$Brigde2Iterator.current(TemplateWizard.java:924)
   
at-org.openide.loaders.TemplateWizardIterImpl.current(TemplateWizardIterImpl.java:103)
   
at-org.openide.WizardDescriptor.updateState(WizardDescriptor.java:514)
   
at-org.openide.loaders.TemplateWizard.updateState(TemplateWizard.java:686)
Comment 1 Marian Petras 2004-08-25 08:27:57 UTC
Created attachment 17099 [details]
full callstack
Comment 2 Jesse Glick 2004-08-25 19:54:39 UTC
Pretty sure this was just fixed somewhere, but don't remember the issue #.
Comment 3 Jiri Rechtacek 2004-08-26 15:27:27 UTC

*** This issue has been marked as a duplicate of 47628 ***
Comment 4 Jaromir Uhrik 2006-01-19 09:31:33 UTC
Duplicate. Verified->Closed.