Results 1 to 2 of 2
  1. #1
    paty is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default error stack when I try to execute my code

    this error appears when I try to execute my code called IllegalStateException, here is the error stack,

    Java Code:
    java.lang.IllegalStateException: 
    	at java.util.zip.ZipFile.getEntryImpl(Native Method)
    	at java.util.zip.ZipFile.getEntry(ZipFile.java:182)
    	at java.util.jar.JarFile.getEntry(JarFile.java:250)
    	at java.util.jar.JarFile.getJarEntry(JarFile.java:109)
    	at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:508)
    	at java.net.URLClassLoader$4.run(URLClassLoader.java:632)
    	at java.security.AccessController.doPrivileged(AccessController.java:102)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:125)
    	com.ibm.osg.smf.BundleClassLoader.loadClass(BundleClassLoader.java:337)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:541)

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    9

    Default

    at java.util.zip.ZipFile.getEntry
    Looking up the getEntry method in the ZipFile class, in the Method Detail section, it says that an IllegalStateException is thrown if the zip file has been closed.
    Last edited by hardwired; 08-02-2007 at 09:37 PM. Reason: fix typos

Similar Threads

  1. Help with code (static error)
    By oceansdepth in forum New To Java
    Replies: 1
    Last Post: 03-28-2008, 05:32 AM
  2. Stack not popping
    By bugger in forum New To Java
    Replies: 2
    Last Post: 01-28-2008, 05:59 PM
  3. Pls help with a code error.
    By saytri in forum New To Java
    Replies: 8
    Last Post: 12-24-2007, 09:10 PM
  4. error in code
    By dirtycash in forum New To Java
    Replies: 2
    Last Post: 12-07-2007, 12:40 AM
  5. Help with heap and stack
    By coco in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •