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

Summary: ClassCastException thrown during converting fs into webmodule
Product: javaee Reporter: L Martinek <lmartinek>
Component: CodeAssignee: Petr Pisl <ppisl>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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 ***