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 - Can't Deploy Project/Library on classpath - IAE
Summary: Can't Deploy Project/Library on classpath - IAE
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-03-18 16:20 UTC by zikmund
Modified: 2006-03-24 13:04 UTC (History)
0 users

See Also:
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) (3.09 KB, text/plain)
2005-03-18 16:21 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
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.