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 56652

Summary: Can't Deploy Project/Library on classpath - IAE
Product: javaee Reporter: zikmund <zikmund>
Component: Web ProjectAssignee: Marek Fukala <mfukala>
Status: CLOSED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 4.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: java.lang.IllegalArgumentException: Item is not of required type - JAR at org.netbeans.modules.web.project.classpath.ClassPathSupport$Item.getFile(ClassPathSupport.java:524)

Description zikmund 2005-03-18 16:20:36 UTC
Build 200503172015

1) Create WebApp
2) Open project's Properties | Libraries
3) Add Library/Project to the classpath entry
4) Uncheck Deploy checkbox of added entry
5) Check Deploy checkbox of added entry
6) EXCEPTION -- NPE see attachment
Reopening of project's Properties doesn't help.
Comment 1 zikmund 2005-03-18 16:21:33 UTC
Created attachment 20956 [details]
java.lang.IllegalArgumentException: Item is not of required type - JAR at org.netbeans.modules.web.project.classpath.ClassPathSupport$Item.getFile(ClassPathSupport.java:524)
Comment 2 zikmund 2005-03-18 16:22:08 UTC
not NPE, but IAE, sorry
Comment 3 Marek Fukala 2005-03-18 16:48:03 UTC
I will fix it. Just note, that this problem doesn't seem be caused by any of my
commits to web project area.
Comment 4 Marek Fukala 2005-03-22 09:21:22 UTC
already fixed.
Comment 5 Marek Fukala 2005-03-22 09:22:07 UTC
tm=4.1
Comment 6 zikmund 2005-03-23 12:10:39 UTC
Verified in 200503221900.