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 11952 - ClassCastException thrown during converting fs into webmodule
Summary: ClassCastException thrown during converting fs into webmodule
Status: CLOSED DUPLICATE of bug 12001
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker with 1 vote (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-04 14:33 UTC by L Martinek
Modified: 2001-06-18 10:35 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 L Martinek 2001-05-04 14:33:25 UTC
[010503_1]

Convert some filesystem into webmodule by Tools | Convert into Webmodule. 
Filesystem is converted but excpetion is thrown in console. Doesn't occurs 
always - try to do it with new installed IDE and for first converting.

java.lang.ClassCastException: org.openide.loaders.DataFolder
        at 
org.netbeans.modules.web.context.WebContextLoader.findContext(WebContextLoader.j
ava:163)
        at 
org.netbeans.modules.web.context.WebInfObject.init(WebInfObject.java:69)
        at 
org.netbeans.modules.web.context.WebInfObject.<init>(WebInfObject.java:64)
        at 
org.netbeans.modules.web.context.WebInfLoader.handleFindDataObject(WebInfLoader.
java:94)
        at 
org.openide.loaders.DataObjectPool.callHandleFind(DataObjectPool.java:93)
        at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:183)
        at 
org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:359)
        at org.openide.loaders.FolderList.createBoth(FolderList.java:491)
        at org.openide.loaders.FolderList.access$600(FolderList.java:40)
        at org.openide.loaders.FolderList$2.run(FolderList.java:194)
        at org.openide.util.Task.run(Task.java:124)
        at 
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:626)
Comment 1 Jan Chalupa 2001-05-06 15:48:38 UTC
Target milestone -> 3.3
Comment 2 Petr Pisl 2001-06-18 10:34:30 UTC
*** This issue has been marked as a duplicate of 12001 ***


*** This issue has been marked as a duplicate of 12001 ***