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 91521 - New File metawiz does not work in 6.0
Summary: New File metawiz does not work in 6.0
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
: 95855 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-23 15:50 UTC by Jesse Glick
Modified: 2007-02-19 19:58 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 Jesse Glick 2006-12-23 15:50:53 UTC
If you make a module in a dev build and add a new file type to it, and you
select the template in the New File wizard, the Next button is disabled. Some
debugging revealed that dataNode.getCookie(DataObject.class) == null. Whatever
the new DataObject/DataNode template is supposed to do, it's not working.
Comment 1 Jesse Glick 2006-12-23 16:00:40 UTC
Workaround: in FooDataObject.java, replace

return new FooDataNode(this, getLookup());

with

return new FooDataNode(this);
Comment 2 Jaroslav Tulach 2007-02-12 17:14:03 UTC
I guess this should be fixed soon.
Comment 3 Jaroslav Tulach 2007-02-13 08:42:30 UTC
/shared/data/ccvs/repository/openide/loaders/test/unit/src/org/openide/loaders/Sample60M7ProblemWithGetDataObjectTest.java,v  
<--  Sample60M7ProblemWithGetDataObjectTest.java
initial revision: 1.1
done
Checking in src/org/openide/loaders/MultiDataObject.java;
/shared/data/ccvs/repository/openide/loaders/src/org/openide/loaders/MultiDataObject.java,v  
<--  MultiDataObject.java
new revision: 1.27; previous revision: 1.26
Comment 4 Jesse Glick 2007-02-19 19:58:04 UTC
*** Issue 95855 has been marked as a duplicate of this issue. ***