Listing resources in a .jar

How can you list the resources in a jar file, and step through all the different directories.
I want to be able to find out all the images in the /image directory
and load them into memory. The image directory may also include sub directories containing more images.

Have you tried JarFile?
There are examples on the web.
http://www.google.co.uk/search?num=20&hl=en&ie=UTF-8&c2coff=1&q=java.util.jar.JarFile+example&btnG=Search&meta=

Similar Messages

  • How to Read all files inside resource Folder inside Jar?

    I have a Jar file,,,, The program reads for resource files in the resource folder inside the Jar. I want my program to read all files inside this folder without knowing the names or the number of files in the folder.
    I am using this to make an Applet easy to be updated with spicific files. I just want to add a file inside the resource folder and Jar the program and automatically the program reads what ever is in there!!
    I used the File class to get all file names inside the resource folder. it works fine before Jarring the program. After I jar I recieve a URI not Herarichy Exception!!
    File fold=new java.io.File(getClass().getResource(folder).toURI());
    String[] files=fold.list();
    I hope the question is clear!!

    How to get the directory and jar file that you class resides in:
    // returns path and jarfile (ex: /home/mydir/my.jar)
    public String getJarfileName()
            // Get the location of the jar file and the jar file name
            java.net.URL outputURL = YourClass.class.getProtectionDomain().getCodeSource().getLocation();
            String outputString = outputURL.toString();
            String[] parseString;
            int index1 = outputString.indexOf(":");
            int index2 = outputString.lastIndexOf(":");
            if (index1!=index2) // Windows/DOS uses C: naming convention
               parseString = outputString.split("file:/");
            else
               parseString = outputString.split("file:");
            String jarFilename = parseString[1];
           return jarFilename;
    }If your my.jar was in /home/mydir, it will store "/home/mydir/my.jar" in jarFilename.
    note: getLocation returns "file:/C:/home/mydir/my.jar" for Windows/DOS and "file:/home/mydir/my.jar" for windows, thus why I look for the first and last index of the colon so I can correctly split the string.
    If you want to grab a file in the jar file and get an InputStream, do the following:
    import java.io.*;
    import java.util.Enumeration;
    // jar stuff
    import java.util.jar.*;
    import java.util.zip.ZipEntry;
    public class Jaris
       private JarFile jf;
       public Jaris(String jarFilename) throws Exception
           try
                           jf = new JarFile(jarFilename);
           catch (Exception e)
                jf=null;
                throw(e);
       public InputStream getInputStream(String matchString) throws Exception
           ZipEntry ze=null;
           try
              Enumeration resources = jf.entries();
              while ( resources.hasMoreElements() )
                 JarEntry je = (JarEntry) resources.nextElement();
                 // find a file that matches this string from anywhere in my jar file
                 if ( je.getName().matches(".*\\"+matchString) )
                    String filename=je.getName();
                    ze=jf.getEntry(filename);
          catch (Exception e)
             throw(e);
          InputStream is = jf.getInputStream(ze);
          return is;
       // for testing the Jaris methods
       public static void main(String[] args)
          try
               String jarFilename=getJarfileName();
               Jaris jis = new Jaris(jarFilename); // this is the string we got from the other method listed above
               InputStream is=jis.getInputStream("myfile.txt"); // can be used for xml, xsl, etc
          catch (Exception e)
             // this is just a test, so we'll ignore the exception
    }Happy coding! :)
    Doc

  • How to raplace resource files in jar file by other files?

    Can I replace resource files (ex: some jpeg file which is in the jar file) when midlet execute on the phone. Is it possible?
    Usualy, we use getResourceAsStream(filename) to get resource data as stream.
    Is there some API function like 'setResource(filenmae,stream)' ??
    Assume that I have a javaME application which displays some image in the jar file.
    It is different from general image viewr program because it can display only
    image file in the jar file (it means image file is resource file of java applcation).
    In other words, when application executes, It shows always same image at first.
    but I want that user can change image displayed if user wnat to do. I want to embed
    authoring function into application. So user can replace resource file by other image files on the phone.
    How to do that?

    I already told you, you CAN'T replace resources in a jar file.
    [http://forums.sun.com/thread.jspa?threadID=5334325]
    Look into using rms to save content on a mobile device.
    Now do you have anything else you want to ask?
    db
    edit And it's also rude to repost the question here without posting a response on the other topic you started.
    Edited by: Darryl.Burke

  • Packaging and accessing resources in a JAR

    I'm working on an application and I would like to package my resources (icons, about dialog images, splash screen images, release version text, etc.) in the jar file I'm going to distribute for deployment.  I would like to access these resources from the JAR file in my deployed code.  But I would also like them accessible when I'm running the code in my Eclipse IDE.  Is there a way to do this using only one code base?
    My Eclipse project structure is src (folder) which contains my source code, bin (folder) which contains my class files and res (folder) which contains my resource files.
    I am using the javapackager utility to create my deployment JAR and build a self-contained deployment .exe for deploying to Windows.
    Is there a way to have the javapackager build a single JAR file from multiple sources (i.e. my bin and res folders)?  What do I have to do in my code so that the same code can be used to load resources when I'm running in Eclipse and the self-contained deployment?
    Thanks,
    Mike

    The Java Tutorials has several trails for loading resources.
    Retrieving Resources (The Java™ Tutorials >                    Deployment > Java Web Start)
    Use the getResource method to read resources from a JAR file. For example, the following code retrieves images from a JAR file.
    // Get current classloader
    ClassLoader cl = this.getClass().getClassLoader();
    // Create icons
    Icon saveIcon  = new ImageIcon(cl.getResource("images/save.gif"));
    Icon cutIcon   = new ImageIcon(cl.getResource("images/cut.gif"));
    The example assumes that the following entries exist in the application's JAR file:
    •images/save.gif
    •images/cut.gif
    See that last sentence?
    You put what you need in the jar file and then use the 'getResource' methods to load them.

  • FillOutInterfaceInfo - Impl kCSDTPObserverImpl not yet registered. Missing from factory list resource in plugin kCSDTPPluginID?

    I know this is a very basic question and I also undestand that I have to include the same in my XXXFactoryList.h file.
    But the issue is that I have included it perfectly every where and still I an getting this ASSERT due to this, no instance of my CSDTPObserver:CObserver is getting created
    Please help to get this rectifiedFillOutInterfaceInfo - Impl kCSDTPObserverImpl not yet registered. Missing from factory list resource in plugin kCSDTPPluginID?
    below code from file CSDTPObserverImpl.cpp
    CREATE_PMINTERFACE(CSDTPObserverImpl, kCSDTPObserverImpl)
    /* CSDTPObserverImpl Constructor
    CSDTPObserverImpl::CSDTPObserverImpl(IPMUnknown* boss)
      : CObserver(boss, IID_ICSDTPOBSERVER)
    below code from CSDTPFactoryList.h:
    REGISTER_PMINTERFACE(CSDTPObserverImpl, kCSDTPObserverImpl)
    Below code from CSDTP.fr:
    resource FactoryList (kSDKDefFactoryListResourceID)
      kImplementationIDSpace,
      #include "CSDTPFactoryList.h"
    resource ClassDescriptionTable(kSDKDefClassDescriptionTableResourceID)
    AddIn
      kDocBoss,
      kInvalidClass,
      IID_ICSDTPOBSERVER, kCSDTPObserverImpl,
    Below code from CSDTPID.h:
    // InterfaceIDs:
    DECLARE_PMID(kInterfaceIDSpace, IID_ICSDTPOBSERVER, kCSDTPPrefix + 6)
    // ImplementationIDs:
    DECLARE_PMID(kImplementationIDSpace, kCSDTPObserverImpl, kCSDTPPrefix + 5)
    Can some one please point out the mistake I am doing here???

    Hi Dirk,
    Please see below configuration in XXXID.h file:
    // ImplementationIDs:
    DECLARE_PMID(kImplementationIDSpace, kCSDTPServiceProviderImpl, kCSDTPPrefix + 0)
    DECLARE_PMID(kImplementationIDSpace, kCSDTPIndesignResponderImpl, kCSDTPPrefix + 1)
    DECLARE_PMID(kImplementationIDSpace, kCSDTSelectionObserverImpl, kCSDTPPrefix + 2)
    DECLARE_PMID(kImplementationIDSpace, kCSDTPObserverImpl, kCSDTPPrefix + 3)
    DECLARE_PMID(kImplementationIDSpace, kCSDTPStartupShutdownServiceImpl,  kCSDTPPrefix + 4)
    Above configuration is giving me below ASSERT:
    FillOutInterfaceInfo - Impl kCSDTPObserverImpl not yet registered. Missing from factory list resource in plugin kCSDTPPluginID?
    Now I changed the configuration as below:
    // ImplementationIDs:
    DECLARE_PMID(kImplementationIDSpace, kCSDTPServiceProviderImpl, kCSDTPPrefix + 0)
    DECLARE_PMID(kImplementationIDSpace, kCSDTPIndesignResponderImpl, kCSDTPPrefix + 1)
    DECLARE_PMID(kImplementationIDSpace, kCSDTSelectionObserverImpl, kCSDTPPrefix + 2)
    DECLARE_PMID(kImplementationIDSpace, kCSDTPObserverImpl, kCSDTPPrefix + 4)        //<-------changed from 3 to 4
    DECLARE_PMID(kImplementationIDSpace, kCSDTPStartupShutdownServiceImpl,   kCSDTPPrefix + 3)    //<-------changed from 4 to 3
    Now it is giving below ASSERT:
    FillOutInterfaceInfo - Impl kCSDTPStartupShutdownServiceImpl not yet registered. Missing from factory list resource in plugin kCSDTPPluginID?
    Now this looks really wierd. I also tried with some random combinations 5,6,7 but none is working and some how 3 is not working but 4 is working. Now how can I decide which
    is going to work and why 3 is not working here.
    Please enlighten me if any one has any clue here

  • Add XML resources into a Jar Using ClassLoader

    hi,
    Can any one give an example to load XML/XSL resources in a jar file, Where this jar file xml resources can be used as templates to load Data using XML Generators.
    give me example path / example ...
    Thanx
    sharma

    I haven't done this so far, but it should be possible.
    One thing you should have in mind is this:
    Every WAR is a separate Web Application and has its own context as well as context root.
    If you'd like to reuse pages from another WAR file you need to know its context root at the bare minimum to reference to it.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • List dirs in a jar

    Hi,
    i need to scan a directory (resources) for files and if there are any files (there are!) - put all file names in a list. All works fine until I pack all class files and the resources dir in a jar file. I need to run the application packed as a jar file.
    Is there any possibility to read a DIRECTORY inside a jar file? I can open files inside the archive, but not directories...
    Any help is appreciated :)
    Thanks in advance,
    Merlin

    Perhaps I did not explained my problem very well...
    what you propose, JProg, is of course correct, but
    what if I don't know the name of the jar file? Can I
    determine during the run time the name of the jar file
    in which the class files and the resources are
    packed?
    Now I find a single resource file like that:
    this.getClass().getResource("resources/text.properties"
    This works fine for files, but not for dirs. If I
    request the URL for a dir inside the jar file
    this.getClass().getResource("resources/");
    I only get a FileNotFoundException: Specified resource
    can not be found.
    How can I determine the name of the jar in which the
    involved class is packed?Hm it's something like this...
    Class anyClassOfTheJar;
    URL jarURL = anyClassOfTheJar.getProtectionDomain().getCodeSource().getLocation();

  • Listing files in a jar, one screen at a time

    I need to list all the files in a .jar file from the DOS command line (using jar tf etc.). There are so many files that half of the list scrolls above the top of the window before the end of the list is displayed, so I can't see half the list. How do I tell it to pause the list when the screen is full, then continue scrolling only when I hit come key? I tried using \p (which is used in DOS) but that doesn't work.

    Redirect the output to a file, and then use Notepad to display the contents of that file.
    jar ... >somefile.txt

  • Problem in reading a resource file form JAR

    Problem in finding a resource file from the jar.....
    I have my code in the following directory structure
    rootDir -
         libDir -
              XMLEntities.res
         modelDir -
              File1
              File2
              File3
    Step1 - I create a jar file with root as modelDir and with all its files.
    Step2 - I add XMLEntities.res also to the root of the jar
    If I run my application using
    java -classpath ;C:\aip_build\build_dm\rmi_server_files\dm.jar; model.data_model.ActivateDataManager
    My application which uses Xalan.jar (lyong under ext directory in jdk) does not find XMLEntiries.res.
    If I use my application as under without creating jar my application does find XMLEntites.res
    Can anyone tell me why the application can not find the XMLEntities.res inside jar?

    Sorry I missed one line............
    Problem in finding a resource file from the jar.....
    I have my code in the following directory structure
    rootDir -
    ----libDir -
    --------XMLEntities.res
    ----modelDir -
    --------File1
    --------File2
    --------File3
    Step1 - I create a jar file with root as modelDir and
    with all its files.
    Step2 - I add XMLEntities.res also to the root of the
    jar
    If I run my application using
    java -classpath
    ;C:\aip_build\build_dm\rmi_server_files\dm.jar;
    model.data_model.ActivateDataManager
    My application which uses Xalan.jar (lyong under ext
    directory in jdk) does not find XMLEntiries.res.
    If I use my application as under without creating jar
    my application does find XMLEntites.res
    java -classpath
    ;C:\aip_build\build_dm\rmi_server_files\;C:\aip_build\b
    ild_dm\rmi_server_files\lib
    model.data_model.ActivateDataManager
    Can anyone tell me why the application can not find
    the XMLEntities.res inside jar?try loading the resources as a InputStream
    something like :
    InputStream is = NameOfLoadingClass.class.getClassLoader().getResourceAsStream("XMLEntities.res");
    Hope this might help you in some way.

  • Loading Resources from a .JAR

    I've read through this forum and searched java.sun.com and have found nothing to solve my problem, although I see many other people are having the same problem.
    I wrote a small application that needs to load a text file and images. When I just compile everything and then run it, all is well, my text file is found and my images are displayed. Now the problem is when I package everything into a .JAR file, suddenly my magic stops. Here is the directory structure
    - State.class
    FiftyStatesGame.class
    FlagPanel.class
    StatsPanel.class
    StatePanel.class
    states.txt
    /images
    /flags
    a bunch of .gif images (50 total)
    /states
    a bunch of .gif images (50 total)
    I create my archive with the following command
    jar cvf FiftyStates.jar *
    and all seems well, I've even changed the extension to .zip to ensure that the images and text file is inside the jar
    Now when I try to run the program using
    java -cp FiftyStates.jar FiftyStatesGame
    the program starts but I get a NullPointerException and my pictures don't load. :-(
    I've read in the forum about using
    URL imageURL = ClassLoader.getSystemResource(<path to image>);
    Image logo = Toolkit.getDefaultToolkit().getImage(imageURL);
    and I tried this and once again, it works when not in jar form, but as soon as the application is JARed, I encounter the same problems.
    Can anyone give me the answer to this crazy problem?
    and I guess I should go one step further and ask, if I want to give this program to a friend with the JRE installed on a windows machine, what command should I put in my batch file to run this program on his machine?
    javaw -cp FiftyStates.jar FiftyStatesGame
    Thanks for any help and advice

    Hi,
    Getting the image
    =================
    It seems to me you can't be too far away from resolving your problem.
    I've never actually tried to get an image from a jar file, so I'm guessing that this may not work for you, but I have unzipped a zip file contained within an executable jar.
    What I did was this:
        private ZipInputStream findInstallationFile() {
            ClassLoader classLoader;
            URL url;
            ZipInputStream zipInputStream = null;
            InputStream inputStream;
            classLoader = getClass().getClassLoader();
            url = classLoader.getResource(ZIP_RESOURCE_NAME);
            if (url != null) {
                try {
                    inputStream = url.openStream();
                    zipInputStream = new ZipInputStream(inputStream);
                } catch (IOException ioe) {
                    ioe.printStackTrace();
            } else {
                System.err.println("Failed to find resource: " + ZIP_RESOURCE_NAME);
            return zipInputStream;
        }The good thing about this is that you can see whether or not the resource was found in the jar file. If the returned URL is null, then the resource isn't there.
    Once you have the InputStream, you can just read the entire contents and do what you like with them.
    Executable jars
    ===============
    You can make it easier to run a jar file by including a manifest file. This is just a text file which should be in the META-INF directory in your jar file. The manifest file itself should be called Manifest.mf.
    The contents of the Manifest should be:
    Manifest-Version: 1.0
    Main-Class: FiftyStatesGame
    This assumes that your main class is FiftyStatesGame which is in the default package (tut, tut!).
    Hope this helps!
    Rhys

  • How to retrieve resources from a jar file ?

    Hello,
    Currently, I have application classes in a jar file, and all other resources (pictures, properties, and so forth..) in my windows folder. I do not have any problem for using them such way. For example to set an icon to a JFrame I have coded :
    f.setIconImage("mypicture.jpg");To make installation easier, I'd like to put my picture into the jar file with the classes. Is it possible ? if so, how should I modify my code to make things work ? Should I specify a special path ?
    Thanks for all
    Gege

    Thanks a lot, I'm going to try both ways.What both ways? Both replies are about the same thing -- using the classpath to find resources.
    The question now is what about if there is the same file
    name in the jar file and also in the directory ? Is
    there a search hierarchy ?It will find the first one it encounters in the classpath. You shouldn't have 2 resources with the same name in the classpath -- that's just like having two classes with the same package and class name.

  • Accessing resources in a jar

    im working on a msn clone in jbuilder 9(enternprise), and im having a really hard time organizing my resources. i have a few icons and i grouped them into a folder name 'icons'. at first, the images can only be loaded when i place them in the class directory, which is fine until i compiled the project into a executable jar. the jar has trouble loading the images, i opened up the jar with winzip and found all the images are included. i also played around with the source for a while but with no luck. im just wondering if this have ever happened to you and how u dealt with it, thank you

    package gui;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.ImageIcon;
    import java.awt.Component;
    import javax.swing.tree.DefaultMutableTreeNode;
    import dataobjects.UserStruc;
    import javax.swing.JTree;
    import java.net.URL;
    class IconBuilder
    extends DefaultTreeCellRenderer {
    ImageIcon online;
    ImageIcon offline;
    ImageIcon away;
    ImageIcon phone;
    ImageIcon lunch;
    ImageIcon busy;
    ImageIcon brb;
    ImageIcon idle;
    URL onlineURL;
    public IconBuilder() {
    System.out.println("Creating icons");
    onlineURL = gui.IconBuilder.class.getResource("images/online.jpg");//this worked in jbuilder but not in the jar
    online = new ImageIcon(onlineURL);
    //online = new ImageIcon("images/online.jpg");
    offline = new ImageIcon("images/offline.jpg");
    away = new ImageIcon("images/away.jpg");
    phone = new ImageIcon("images/busy.jpg");
    lunch = new ImageIcon("images/away.jpg");
    busy = new ImageIcon("images/busy.jpg");
    brb = new ImageIcon("images/away.jpg");
    idle = new ImageIcon("images/away.jpg");
    public Component getTreeCellRendererComponent(
    JTree tree,
    Object value,
    boolean sel,
    boolean expanded,
    boolean leaf,
    int row,
    boolean hasFocus) {
    super.getTreeCellRendererComponent(
    tree, value, sel,
    expanded, leaf, row,
    hasFocus);
    DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
    UserStruc user = (UserStruc) (node.getUserObject());
    if (user.getStatus().compareTo("NLN") == 0) {
    setIcon(online);
    setToolTipText(user.getUsername() + " (Online)");
    else if (user.getStatus().compareTo("FLN") == 0) {
    setIcon(offline);
    setToolTipText(user.getUsername() + " (Offline)");
    else if (user.getStatus().compareTo("BRB") == 0) {
    setIcon(brb);
    setToolTipText(user.getUsername() + " (BeRightBack)");
    else if (user.getStatus().compareTo("AWY") == 0) {
    setIcon(away);
    setToolTipText(user.getUsername() + " (Away)");
    else if (user.getStatus().compareTo("LUN") == 0) {
    setIcon(lunch);
    setToolTipText(user.getUsername() + " (Out To Lunch)");
    else if (user.getStatus().compareTo("PHN") == 0) {
    setIcon(phone);
    setToolTipText(user.getUsername() + " (On the Phone)");
    else if (user.getStatus().compareTo("BSY") == 0) {
    setIcon(busy);
    setToolTipText(user.getUsername() + " (Busy)");
    else if (user.getStatus().compareTo("IDL") == 0) {
    setIcon(idle);
    setToolTipText(user.getUsername() + " (Idle)");
    return this;

  • List the contents of jar, ear, war files

    Hi All,
    It has been several years since I have worked in java and now I am trying to get caught back up :-).
    My question is: Is there a standard utility that can dump/list the contents of the packaging files: jar, ear, war?
    Thanks in advance!

    You can use winzip. OR you can use the jar command provided in JDK.
    jar -tvf <<your archive (jar, war, ear)>>

  • Accessing resource files inside Jar using Fat Jar Eclipse plugin

    Hi,
    I want to develop single JAR file that uses a set of other JAR libraries. I am using Fat Jar Eclipse plugin. It works fine. However, I have problem to access resources files (i.e. rdf file) using relative path from my classes. Is there any idea how can I pack, set classpath and use relative path in order to make it works.
    Thanks
    Zoran

    I have solved this problem. The problem was in a way how I have trying to access it. It should be like:
    URL fileURL = this.getClass().getResource("resource/myFile.rdf");
    Zoran

  • DISKWARRIOR 4 PROPERTY LIST & RESOURCE HEADER DAMAGED AND CANNOT BE REPAIRE

    Machine running funny, doing its own thing, curser
    jumping all over page when barely touched touchpad,
    running slower, programs close when using it,
    safari always closes automatically.
    Anyway, 1st I ran Diskwarrior and got two messages,
    message: File " FontValidator.plist ", Detected
    that " Property List " date is damaged and cannot be
    repaired.
    XML parser error: Encountered unexpected EOF
    Old-style plist parser error.
    Location: Macintosh
    HD/private/etc/macinit_perused.dl
    2nd message: File Printoption.rsrc
    Dectected that the resource header is damaged
    and cannot be repaired Location: Macintosh
    HD/Library/Printers/Epson/C86Series.plugin/Contents/PDEs/PrintOption.plugin/Cont ents/Resources/French.Iproj/
    Steps I did in Diskwarrior, Directory - Rebuild
    1 link file had a creation date that was
    repaired. The root creation date was repaired.
    Incorrect values in the volume information were
    repaired.
    ran hardware test. Hard drives's built in S.M.A.R.T
    diagnostics indicated the drive is functioning
    normally.
    Can you help, can I fix any of this, I did not
    delete any of these files since I have ran
    diskwarrior, in the past I may have deleted files
    that have caused this instability. Could it?
    Can it be fixed?

    Hi h,
    First, it is possible that the HD has mechanical issues that SMART cannot detect, and which could in turn cause software/OS issues. If that's the case, it's time for a new HD, but first I would install a fresh OS (see below).
    in the past I may have deleted files that have caused this instability. Could it?
    Deleting any one of thousands of OS files can wreak all kinds of havoc, most of it unpredictable. Some have names that you would never consider to be part of the OS, like "unknown."
    Can it be fixed?
    Odds are, if DW can't do, no. But I would still at least try Repair Disk while booted from your install disc. It's free and will take only a few minutes (though I wouldn't put much hope in it, no reason not to try).
    If no success, in your situation, I would back up my data files, erase/zero the HD, and install a new squeaky clean OS. Then I would have confidence that things should be back to normal, but I'd still run Repair Disk regularly for a few weeks to make sure nothing becomes corrupted again.

Maybe you are looking for

  • Error building table

    Can someone please guide me in the right direction? I'm trying to build a table based on certain calculations. However once I add my pdate date variable and the appropriate calculation I get the following error: ORA-01858: a non-numeric character was

  • Crash 8.1.2 in OS 10.5.2 Every Time Focus Goes to Field with a Large Pop-up

    I am working on a form that every time I tab into or click on a particular field (which I must fill out), it looks like a big pop-up tries to come up, but then Reader crashes. Help! It is for a proposal that I must submit. Thanks!

  • Can I force a Flexconnect AP into Standalone mode?

    I've found an interesting setup where some remote sites have over 400+ ms latency to the controller (This is due to the 3G/4G WWAN connection back to corp), I am thinking this causing some issues since the required latency for Flexconnect is no more

  • Calling Procedure for each record ?

    Hi, I am using a procedure in a mapping. I defined the procedure which is having 4 out parameters. I am assigning these default values to the tables in a mapping. When I see the generated code in a mapping, I observed that, the procedure is being cal

  • Error Code WAP00011

    When I click Guest Access-->Settings on ise version 1.3 getting below error. Error! There was an internal error on the server. (status: 500) Error code WAP00011.