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 178026 - "(Re)Load" does not work for web-project
Summary: "(Re)Load" does not work for web-project
Status: RESOLVED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 15:00 UTC by vitalys
Modified: 2010-03-30 18:06 UTC (History)
1 user (show)

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 vitalys 2009-12-02 15:00:59 UTC
When "(Re)Load" is invoked for the simple web-project first time, everything is fine and the module is successfully loaded on card.
When this action is called second time (just after the first one), re-loading actually fails.

Example of the output:

---------------------------
[ INFO: ] [Deleting an instance /my_web_prj_c from http://localhost:8021/cardmanager/]
[ INFO: ] "Off Card Installer validating delete request information"
[ INFO: ] "Off Card Installer sending delete request"
[ INFO: ] Attempt to delete a non-existed instance ///my_web_prj_c
...
...
[ INFO: ] "Off Card Installer Validating load information"
[ INFO: ] "Off Card Installer sending load request"
[ INFO: ] Attempt to load module (or) library which was already loaded.
Bundle/Library my_web_prj_1 exists on the card. 
---------------------------
Comment 1 _ tboudreau 2009-12-02 18:15:06 UTC
Anki, assigning to you - since the Ant task clearly finds the correct string "Bundle/Library my_web_prj_1" to load it, it would appear the problem is unlikely to be in the project metadata or the IDE.
Comment 2 msmirnov 2010-03-17 11:11:56 UTC
This issue is fixed automatically after issue 177997 - ""Unload" command doesn't work" was fixed in nbtasks.jar
Comment 3 _ tboudreau 2010-03-30 18:06:59 UTC
Fixed w/ updated Ant tasks jar