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

Summary: "(Re)Load" does not work for web-project
Product: javacard Reporter: vitalys <vitalys>
Component: Java CardAssignee: _ tboudreau <tboudreau>
Status: RESOLVED FIXED    
Severity: normal CC: tboudreau
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

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