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 58191 - Create WebApp with existing sun-web.xml for AS 8.0 throws exception
Summary: Create WebApp with existing sun-web.xml for AS 8.0 throws exception
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 18:46 UTC by zikmund
Modified: 2006-06-04 23:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.ClassCastException: org.netbeans.modules.j2ee.sun.dd.impl.web.model_2_4_0.JspConfig at org.netbeans.modules.j2ee.sun.dd.impl.web.model_2_4_1.SunWebApp.setJspConfig(SunWebApp.java:850) (1.74 KB, text/plain)
2005-04-21 18:47 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-04-21 18:46:59 UTC
Build 200504201930

1) Have Web Project sources containing sun-web.xml for AS 8.0 (e.g. sources from
4.0 project in CVS)
2) Create WebApp with Existing Sources with AppServer 8.1 UR1 target server
3) EXCEPTION -- see attachment
Comment 1 zikmund 2005-04-21 18:47:32 UTC
Created attachment 21801 [details]
java.lang.ClassCastException: org.netbeans.modules.j2ee.sun.dd.impl.web.model_2_4_0.JspConfig at org.netbeans.modules.j2ee.sun.dd.impl.web.model_2_4_1.SunWebApp.setJspConfig(SunWebApp.java:850)
Comment 2 _ pcw 2005-11-07 05:45:29 UTC
This should be fixed by the versioning code that went in (post 5.0 beta, use
latest trunk or Q-build for verification).