Cannot delete package/applet

hi there
I loaded a package (.cap file) onto the card and made the applet selectable. immediately after these operations I tried to delete the package and/or the applet but I keep getting 69 85 error described as "Conditions of use not satisfied".
has anybody got a clue?
thanks

Can you delete it after a card reset and authenticating to the card manager? If not, here is what gave me the same error on a latest generation SIM card from GemPlus:
If the applet stores any reference to an array (transient or persistent) or object in class variables, the applet can not be deleted anymore. The solution was to add an APDU which, when received by the applet, causes the applet to assign null to each reference type class variables. After doing this, the applet becomes uninstallable.
This may or may not be the reason for your problem, but if you cannot find another reason, you may want to give this a try.

Similar Messages

  • Cannot delete the applet

    i'm working on JCOP in Eclipse and have a big problem now. normally i can install, select, and send command and finally delete applets. but the recent applet(performing class Cipher testing) i've installed, selected and run, but it can't be delete. attempting to delete always return error code 6985 and the applet stucks forever!! so i wanna know how can i delete such the applet? and can we replace the applet with a new one that has the same AID?
    the trouble code is:
    public static byte constructor01(){
              try{
                   cip = new CipherTestClass();
              }catch(Exception e){
                   return (byte)1;  // FAIL
              return (byte)0;  // PASS
         }the above code always return status word 6985 and the applet cannot be remove
    but if i change to this one, the applet can be delete with "delete" command with status word 9000:
    public static byte constructor01(){
              try{
                   CipherTestClass cip = new CipherTestClass();
              }catch(Exception e){
                   return (byte)1;  // FAIL
              return (byte)0;  // PASS
         }Both of the code have no error, can be installed, selected, and run, but only the second that can be remove from card.
    thank you

    Your first sample seems to store a reference to an object in a static field. You cannot delete an applet if a such a reference exists. (See Java Card specification!)
    If you are using a GP211 card, you can delete the entire package using the following JCShell command:
    delete -r <pkgaid>

  • Cannot delete Package Link due to being "used in schedule"

    Hello all,
    I am trying to delete a Package Link in EPM's Data Manager and am getting the message that:
    "Package link {technical name of package link} is used in schedule"
    Is there a way to find what schedule this Package Link thinks it is a part of? We are not running this Link in a schedule to our knowledge.
    We are running EPM 10.0 SP14 Patch 2 .NET 4
    Thank You.

    Hi Alex,
    You can disable the schedule link from EPM Add-in menu Data Manager->View status->View schedule status-> Then you can right click on the schedule and select delete schedule.
    Best regards,
    Charlie

  • Cannot get any applets to run

    Here�s my story
    I�ve downloaded the latest JDK (including JRE 1.5_06) and install goes fine. For example I can run java programs I've written locally.
    The problem is with my Browsers and the JRE (both IE 6 and Firefox)
    I run XP SP2 and am up to date on everything
    I thought the problem was with the Microsoft VM (MSJVM) and removed it so that ALL I have is the Sun JRE. I even found a site (at Penn State) that talked about how before installing the JRE
    You have to remove a left over registry key so that the Sun package installs correctly. http://www.oit.state.pa.us/oaoit/cwp/view.asp?a=172&q=194113&oaoitNavDLTEST=%7C9138%7C
    I did all of that and it appears to work fine.
    So now the MSJVM is gone and cannot be reinstalled but I cannot run ANY applet. I�ve checked EVERYTHING I can possibly think of but I�m missing something.
    The MSJVM did work before so I don�t think it�s a firewall problem.
    Every applet gives me the following types of errors (seen in the java console)
    The following happens on the Sun jre verify page at
    http://www.java.com/en/download/help/testvm.xml
    load: class testvm.class not found.
    java.lang.ClassNotFoundException: testvm.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-testvm.class" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    This is similar behavior for EVERY applet no matter what site it's located on. I�ve checked cache, paths, registry setting. I can�t think of anything else to try. It's as if every applet cannot access the �jar� files needed from its server.
    Behavior is the same from IE or Firefox. I�ve uninstalled and reinstalled many times.
    Any help would be greatly appreciated.
    Thanks
    Marc

    If anyone should happen by here with this problem the following is the solution. Even if you have not installed MSN make sure to check this (I did not have MSN installed so there must be other programs that change this)
    When MSN Messenger 7.5 installs it changes a registry entry: HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath from REG_EXPAND_SZ to REG_SZ which causes it to fail to expand %SystemRoot%, therefore breaking the path.
    Changing the key back to REG_EXPAND_SZ solves the problem on the machine, but to do so you have to delete the entry and re-create it!
    If you feel uncomfortable making registry changes I suggest you follow these directions:
    1. Open REGEDIT
    2. Navigate to HKLM\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
    3. RIGHT click in the right pane and create a New Expandable String Value
    4. Name it DataBasePathExpand
    5. Right click on DataBasePathExpand and click Modify
    6. Enter the value of %systemRoot%\System32\drivers\etc and save
    7. Now right click on DataBasePath and delete it
    8. Right click on DataBasePathExpand and rename it to DataBasePath

  • Cannot start JNLP applet on IE 9 64 bits (replicated)

    Hello,
    I made a post on the "Applets" section of the forum, but after further search I think it should have been here, so I leave the link
    Cannot start JNLP applet on IE 9 64 bits
    Ty
    Cad
    To any moderator, feel free to delete this thread and move the one posted above to this section

    1) Make sure you have correct version of JRE installed. Need 32 for 32 bit browser and 64 bit otherwise.
    Check list of installed plugins in IE to see if java plugin is listed.
    2) Make sure java plugin is enabled for IE in the Control Panel.
    If UAC is on then you need to run Java Control Panel as administrator for settings to take effect.
    3) Create small bat file to launch IE:
    set JPI_PLUGIN2_DEBUG=true
    <path-to-ie>\iexplore.exe
    Close IE and launch using this file. Try to open any applet, you should see window with trace log. Does it mention any errors?
    Please paste content here if you need further help.

  • Cannot add package named WFSQLiteTests

    I've been experiencing this problem since LR5 was released and worked with Support to try to identify the cause  —but the debug tool adobe gave me didn't show what was happening during startup.
    This time, I disabled all of my plugins, exited and restarted Lightroom.
    These messages appeared in the System Log:
    5/24/14 9:39:29.780 AM Adobe Photoshop Lightroom 5[26865]: ERROR: ForceShrinkPersistentStore_NoLock -delete- We do not have a BLOB or TEXT column type.  Instead, we have 5.
    5/24/14 9:39:29.819 AM Adobe Photoshop Lightroom 5[26865]: Cannot find executable for CFBundle 0x7fd8306f4210 </Users/mark/Library/Application Support/Adobe/Lightroom/Plugins/gps-proximity-jfriedl.lrplugin> (not loaded)
    5/24/14 9:42:00.000 AM kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=27135[LogTransport2] final status 0x0, allowing (remove VALID) page
    5/24/14 9:42:09.000 AM kernel[0]: CODE SIGNING: cs_invalid_page(0x100000000): p=27140[AdobeCrashDaemon] final status 0x0, allowing (remove VALID) page
    5/24/14 9:42:10.374 AM Adobe Photoshop Lightroom 5[27138]: Cannot add package named WFCoreTests
    Looked in /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFCoreTests.f ramework, /Applications/Adobe Photoshop Lightroom 5.app/WFCoreTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFCoreTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFCoreTests.a gtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/WFCoreTests.agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFCoreTests.agtoolkit
    !! Did you remember to add a copy frameworks step to your project?
    5/24/14 9:42:10.375 AM Adobe Photoshop Lightroom 5[27138]: Cannot add package named WFSQLiteTests
    Looked in /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFSQLiteTests .framework, /Applications/Adobe Photoshop Lightroom 5.app/WFSQLiteTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFSQLiteTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFSQLiteTests .agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/WFSQLiteTests.agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFSQLiteTests.agtoolkit
    !! Did you remember to add a copy frameworks step to your project?
    5/24/14 9:42:10.376 AM Adobe Photoshop Lightroom 5[27138]: Cannot add package named WFWebTests
    Looked in /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFWebTests.fr amework, /Applications/Adobe Photoshop Lightroom 5.app/WFWebTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFWebTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFWebTests.ag toolkit, /Applications/Adobe Photoshop Lightroom 5.app/WFWebTests.agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFWebTests.agtoolkit
    !! Did you remember to add a copy frameworks step to your project?
    5/24/14 9:42:10.376 AM Adobe Photoshop Lightroom 5[27138]: Cannot add package named WFOzClientTests
    Looked in /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFOzClientTes ts.framework, /Applications/Adobe Photoshop Lightroom 5.app/WFOzClientTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFOzClientTests.framework, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WichitaFoundation.agtoolkit/Versions/A/Frameworks/WFOzClientTes ts.agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/WFOzClientTests.agtoolkit, /Applications/Adobe Photoshop Lightroom 5.app/Contents/Frameworks/WFOzClientTests.agtoolkit
    !! Did you remember to add a copy frameworks step to your project?
    5/24/14 9:42:51.625 AM xpcproxy[27156]: assertion failed: 13D65: xpcproxy + 3438 [D559FC96-E6B1-363A-B850-C7AC9734F210]: 0x2
    5/24/14 9:42:54.635 AM Adobe Photoshop Lightroom 5[27138]: Oops! An untagged string (assertion failed!) got thrown far enough that we display it to the user. This shouldn't happen.
    I've seen the "Oops!" message on a regular bases, but the messages:  "Cannot add package named WFSQLiteTests" and  "!! Did you remember to add a copy frameworks step to your project?" look like pointers to the problem.
    Anyone have an idea?

    I have a lot of plugins that I'd accumulated over the years.  And I had them active in the plugin manager even though I only use a few of them.
    I never went through the exercise of moving everything out and adding them back - selectively - and checking for updates while doing so.
    Some of my plugins have been abandoned by the author and most of the others have been updated (possible several times).  I downloaded all of the updates and reloaded the plugins and exited Lightroom.
    So far - I think the issue is resolved.  The cause was an outdated plugin. 
    The solution is to re-evaluate the plugins you have in your Plugins and Modules folders, remove any you know you don't use, add the rest back with the Plugin Manager and check for updates.
    It's OK to add back a plugin that already in the plugin manager's list.  Doing so probably reloads it and highlights the plugin's name.  Then you can check for updates using the "check for updates" function (found in most recent plugins) or manually, by going to the developer's web site.  If you can't find the latter - remove the plugin as it's likely not current or might be abandoned.

  • Delete my applet in java card. Its coming 69 85 error

    hi,
    Any body give me solution for delete applet from java card.
    I am using Eclipse SDK JCOP tool. I create Shareable object in java card.
    First time i load it. Second time start to load my applet but it showing
    cm> ext-auth plain
    => 84 82 00 00 10 24 99 56 8D FE 6F CF B4 F8 E7 AB .....$.V..o.....
    69 E0 8B DD C6 i....
    (42750 usec)
    <= 90 00 ..
    Status: No Error
    cm> delete -r 0505050505
    => 80 E4 00 80 07 4F 05 05 05 05 05 05 00 .....O.......
    (9683 usec)
    <= 69 85 i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Ignoring expected error
    cm> upload -b 250 "D:\Handheld\ObjectShare\bin\hcl\demo\server\javacard\server.cap"
    => 80 E6 02 00 12 05 05 05 05 05 05 08 A0 00 00 00 ................
    03 00 00 00 00 00 00 00 ........
    (10845 usec)
    <= 69 85 i.
    Status: Conditions of use not satisfied
    jcshell: Error code: 6985 (Conditions of use not satisfied)
    jcshell: Wrong response APDU: 6985
    Unexpected error; aborting execution
    how to solve this problem.

    hi safeer,
    I solve this problem. First I delete select applet AID. Then delete package AID.
    Now its working good.

  • Downloaded ios7 to my iphone 4 and now I have songs that I cannot delete and they do not show up on itunes either

    Daughter upgraded to ios 7 and now she has like 4 songs that are not age appropriate on her iphone- I went into itunes and they dont show up...they are like hidden or something- and I cannot delete them from the phone...does anyone know why the upgrade did this and how I can get these songs off her phone- one of them is not even on my phone so I dont understand how in the world it popped onto hers! thanks!

    Hello DavoDavo81,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes Match on iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT5637
    Deleting songs downloaded to your device
    You can delete a song or album from your iPhone, iPad, or iPod touch at any time. Don't worry; it'll still be in the cloud.
    Tap the Music app.
    Tap More > Songs at the bottom.
    Scroll or search for the song you would like to delete from your device.
    Swipe right to left on the song, and then tap Delete.
    Note: You must be in Artists, Songs, or Albums view to delete songs from your device. Deleting from a playlist won't remove a song from your iOS device.
    iTunes Store: How to delete songs from iCloud
    http://support.apple.com/kb/ht4915
    Best of luck,
    Mario

  • Cannot delete file from external hard drive (error code 36) in Finder, but Terminal is ok

    I have a relatively new Macbook Pro Retina 15" and have a Western Digital 1 TB Passport.  I've been using the passport for about a year now without any problems on older Macbooks in my house.  I used to be able to read and write to this drive no problem.  I am using the Paragon NTFS for Mac software in order to read and write to the NTFS drive.  When I navigate through the drive in Finder, if I try to create a new folder, I do not have a problem.  If I try to delete that folder I just created, I get this error:
    The Finder can’t complete the operation because some data in “untitled folder” can’t be read or written.
    (Error code -36)
    The folder has nothing in it whatsoever.  I just created it.  But if I go to Terminal and I run
    rm -rf "untitled folder"
    This works fine.  Why is Terminal acting different than Finder?  This does not happen on my other Macbooks.  Thanks in advance.

    Thanx for such qucik reply!!! The pages were great, it had an answer for my problem, but unfortunately it also involved me dealing with it only on the MacIntosh HD itself, not on mounted external drive I suppose... So it didn't work they say that there is an icon in the left corner indicating locked folder - I don't see any icon on it. It says you can untick the box to unlock the folder - there is no tick to be unticked. Finally, they say that if I don't have permition or rights I cannot delete it. But how do i change permittion which already says that i can read and write in it? So everything appears to be normal only I cannot delete it. there is not even any warnig telling me I don't have enough rights, it just requires the password and after me typing it in it makes the sound of scraping paper but does nothing more. I aslo had some problems with emptying Trash after being seemingly succesful with one file and had got so far to have them appear in the Trash (no clue how this one actully got there though..) I followd the advice and emptied the Trash with Terminal. The Folder is still there but it shows 0 Kb... So far so good BUT: It is still on the external drive, so I obviously only managed to copy it into the Trash!!! Phew, innit a bit too tight to poor owners, this macbook?? I want my rights back!

  • Cannot delete file from disk after emailling that file like attachment

    After i send some file from disk in Mail like attachment i cannot delete that file from disk unless i quit Mail. Like Mail is still using a file. Of course, that mail is in Sent mail, not in outbox.

    This deeper than that. I created another account on the same iMac and it works in Harmony with my other devices and Documents in the cloud. I can only imagine the icloud account is somehow corrupted (I am on my macbook not iMac at the moment). There have been no updates to the Calendar, Contacts or Documents since early January on that account. I have spent 1hr on the phone with support and they were baffled as well. Only thing I can gove as insight to the problem is this, I was on the Mac Mini which was backed up on Time Machine. about 4 or 5 months ago I had to completley restore the Mac Mini becasue of the never ending circle on the load screen. The Backup failed to work it kept loading the issue and 4 or 5 times the circle of death kept coming up I would subsequently wipe the Mini and go further back in the back up until I go a copy that worked.  I then loaded the Time Mache back up into my NEW iMac and wnet from there. It took about a month for this problem I am detailing above to start happening. It maybe a corrupt file loaded from the backup into the new iMac causing this problem. Best answer I can think of on my own???

  • How do I delete and create a new iCloud account on my iPhone, when I cannot delete the old account off my phone!

    I have given my 4s to my wife, she has an iCloud account which uses her work address, she has now left the company and we want to start a new iCloud account, trouble is we cannot delete the old account, we have created a new iCloud account but the iPhone won't let us log into it as it only recognises the old version, we can't access her email anymore to reset the account. Have tried all online help. We restored the phone through iTunes

    Ah thanks Razmee however there is NO option to delete the iCloud account in settings!

  • I moved itunes file to external hard drive and want to move the file on my pc to recycle bin. When I move i get an error message that it cannot delete ituneshelper.dll access is denied. Can I move that file to the recycle bin?

    I am trying to free up space on my pc and moving itunes files to external hard drive. I have followed instructions and believe I have file copied to new drive, but I am having trouble moving file to recycle bin as the instructions say. I am getting the following error message: cannot delete ituneshelper.dll:access denied, make sure disk is not full or write protected and file not in use. I know the file is not in use when trying to move. Any help would be most appreciated. I am on Windows XP.

    Yes. And you should not have moved that folder. Put it back. To move your iTunes library move the folder from User's Music.
    tt2

  • Cannot delete old voice memos from iPhone 4S, ios 6.0.1

    So I noticed today while doing some housecleaning in iTunes and on my iPhone that I had three voice memos in my iphone that didnt get deleted (see picture below).
    So naturally I go and attempt to delete those (because they are just taking up space (I know it's not much, but why have them if I am not using them?). Weird things is, I cannot delete these at all. I highlight all three and hit the delete key, no good. I right click and these are my only options:
    The thing is, I go into my voice memos options in the main iTunes library, nothing is there.
    As well, there is nothing in my iPhone's voice memo library. Also, the voice memo folder in my iTunes folder is empty.
    Any suggestions to try and remove these off the device? I've tried everything I can think of to try and get rid of them.
    Thanks.

    I cannot see your screen shots for some reason, but here's a suggestion:
    Open iTunes on your computer, look at your playlists there.  Go to your "Voice Memos" playlist, delete all its contents, and then sync your iPhone to iTunes.

  • I have orphaned voice memos on my iPhone5 and cannot delete. Listed in iTunes but not on my iPhone's Voice Memo app.

    When I upgraded from my iPhone 4 to iPhone 5, a bunch of voice memos were orphaned.
    What this means is that when I connect my iPhone to iTunes, I see the voice memos.
    They are listed in iTunes under my iPhone directories  "Voice Memo" and in "Music".
    But I cannot delete these.
    When I go to my iPhone, the Voice memo app has changed (ok) and you can see there
    are no voice memos. It appears that they are orphaned from the voice memo app.
    So the voice memos are in my phone somewhere.
    How can I delete them or export them or something with them?
    I can't play them except on iTunes. They don't show up in Music in my iPhone.
    Thanks for your Help
    Steph Beach

    I have the same problem and I still can't delete that stupid song. I downloaded it from Starbucks almost over a year ago!!!

  • Podcasts on my ipod do not show up in itunes. So I cannot delete them. WHY?

    podcasts on my ipod do not show up in itunes. So I cannot delete them. WHY?

    podcasts on my ipod do not show up in itunes. So I cannot delete them. WHY?

Maybe you are looking for