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 27469 - NPE and Ilegal state exception on create from template
Summary: NPE and Ilegal state exception on create from template
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2002-09-20 13:39 UTC by pzajac
Modified: 2008-12-23 11:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exceptions stack trace (9.13 KB, text/plain)
2002-09-20 13:40 UTC, pzajac
Details
exceptions stacktraces (2.75 KB, text/plain)
2003-02-27 13:17 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2002-09-20 13:39:35 UTC
Steps to reproduce:
After start netbeans set default system as
visible. Explore Templates->java classes folder.
And doble click to Class.java template. It perform
default action on template -- create from template.
Comment 1 pzajac 2002-09-20 13:40:55 UTC
Created attachment 7464 [details]
exceptions stack trace
Comment 2 Tomas Hurka 2002-09-25 09:54:48 UTC
ISE is from openide. Reassigning to openide for evaluation. Thanks.
Comment 3 Marian Mirilovic 2002-09-25 12:49:54 UTC
I am not sure where is a problem , but reassigne to David S. (loaders)
and cc'ing Jirka R. (wizards).

Davide can you look at this, thanks.
Comment 4 Jiri Rechtacek 2002-10-08 14:28:13 UTC
Sorry Petre, I cannot reproduce it on Oct08 dev build. It works for
me. If you would think it isn't fixed then reopen. Regards
Comment 5 pzajac 2002-10-09 10:36:46 UTC
I reproduced it on [NB200210099100]. No dataobject wasn't opened in
editor before create new from template on java templates in system
filesystem.  
Comment 6 Jiri Rechtacek 2002-11-12 15:09:20 UTC
Petre, the attached fix solved this issue maybe. Please, could you try
reproduce the defect? I can't reproduce in today's build. Thanks. 

Date: Sun Nov 10 15:28:57 CET 2002
Message: impl #28486, the WizardDescriptor.Panel and Component
implementations are separated 
1.4 /cvs/openide/src/org/openide/loaders/NewObjectPanel.java
1.1 /cvs/openide/src/org/openide/loaders/NewObjectWizardPanel.java [Added]
1.59 /cvs/openide/src/org/openide/loaders/TemplateWizard.java
1.34 /cvs/openide/src/org/openide/loaders/TemplateWizard1.java
1.47 /cvs/openide/src/org/openide/loaders/TemplateWizard2.java
1.1 /cvs/openide/src/org/openide/loaders/TemplateWizardPanel1.java [Added]
1.1 /cvs/openide/src/org/openide/loaders/TemplateWizardPanel2.java [Added]
Comment 7 Jaromir Uhrik 2003-01-06 11:21:57 UTC
Version changed: 4.0 dev -> S1S 4.2
Comment 8 Marian Mirilovic 2003-02-19 13:25:58 UTC
Sorry Peter, I cannot reproduce it on [nb_dev](20030219)
Comment 9 pzajac 2003-02-27 13:17:22 UTC
Created attachment 9198 [details]
exceptions stacktraces
Comment 10 pzajac 2003-02-27 13:19:50 UTC
[200302270100]I cannot exactly to reproduce it, but it occures
sometimes. See to exceptions stacktraces. The secont NPE exception is
different than exception from 2002-09-20 05:40 PDT.
Comment 11 Jiri Rechtacek 2003-02-27 13:35:43 UTC
I'm not reproduce it on Feb27 dev. We will see how often it appears.
Comment 12 pzajac 2003-04-16 09:17:42 UTC
instantite template is not default action.
Comment 13 pzajac 2003-04-23 09:05:49 UTC
verified