What does "Illegal Constant Pool Type" error signify ?

Hello,
I have developed an application on a windows system that connects to a database, places values onto an object, and displays on a screen. When I run on a windows environment everything works fine. When I export to my external server, which is linux system, I get an "Illegal Constant Pool Type" error.
What does this mean and how can I rectify?
The error message can be found at:
http://www.blazingvibes.com/blazinvibes/indexhome.jsp
Thank you all for your help.

No idea since I can't see the error or code.
And I don't know about anyone else but I don't click on links unless I know the source, so its current location isn't going to help in that matter.
Presumably you are doing printStackTrace() so the location of the error is obvious.

Similar Messages

  • Illegal constant pool type error

    hi friends,
    i would like to know the possible causes of this error ... i got this as soon as i deployed a class into tomcat ... Given below is the entire error i got while starting the tomcat server .....
    java.lang.ClassFormatError: com/infraportal/servlets/ipInitializer (Illegal cons
    tant pool type)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
    ClassLoader.java:1677)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
    der.java:900)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
    der.java:1350)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
    der.java:1230)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
    java:979)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:88
    7)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
    t.java:3959)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    284)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:866)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85
    0)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:320)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:727)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :394)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521
    at org.apache.catalina.core.StandardService.start(StandardService.java:5
    19)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
    5)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
    i will be glad to see some quick answers / comments on this
    thanks and regards
    venky

    This error can be caused by a corrupt class file. Check it was transferred correctly.

  • "Illegal constant pool type"...how do I fix this????!!

    I have a method that previously ran perfectly and now will not even start. It keeps giving me the following error message:
    "Exception in thread "main" java.lang.ClassFormatError: WF_RevAnalysis (Illegal constant pool type)"
    ...(where 'WF_RevAnalysis is the name of my class)
    Could someone please tell me what an illegal constant pool type is and how I can fix/see/change it???
    Thanks!

    No I haven't installed a new JRE. The method was working fine...then suddenly 15 minutes later it started giving the illegal pool type error.
    Do you by chance know how to find this Constant Pool?

  • Illegal constant pool type??

    Hi there,
    Anyone knows what's going on here????? any help appreciated!
    [java] java.lang.ClassFormatError: com/bellsouth/estore/cbs/sbvs/relatedaccount/ejb/RelatedAccountServiceBean
    (Illegal constant pool type]
    [java] at java.lang.ClassLoader.defineClass0(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    [java] at weblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:297)
    [java] at weblogic.ejb20.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:155)
    [java] at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfoImpl.java:157)
    [java] at weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:103)
    [java] at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:327)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:395)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main"
    [java] Java Result: 1

    Bt the way, there could be another tricky issue. If one uses CVS and checks
    in ejbjar without setting -kb on it, the ejbjar that is cheked out will be
    broken,
    at least for default CVS settings.
    Slava
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    It looks like a malformed class file. Run the verifier (or javap) against
    that class. Turn off JAR compression. Transport files via ftp with the"bin"
    setting. etc.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    Clustering Weblogic? You're either using Coherence, or you should be!
    Download a Tangosol Coherence eval today at http://www.tangosol.com/
    "Dong" <[email protected]> wrote in message
    news:[email protected]...
    Hi there,
    Anyone knows what's going on here????? any help appreciated!
    [java] java.lang.ClassFormatError:com/bellsouth/estore/cbs/sbvs/relatedaccount/ejb/RelatedAccountServiceBean
    (Illegal constant pool type]
    [java] at java.lang.ClassLoader.defineClass0(Native Method)
    [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
    [java] atjava.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
    [java] atjava.net.URLClassLoader.defineClass(URLClassLoader.java:248)
    [java] at
    java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [java] at java.security.AccessController.doPrivileged(NativeMethod)
    [java] atjava.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    [java] atsun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
    [java] atweblogic.ejb20.deployer.BeanInfoImpl.loadClass(BeanInfoImpl.java:297)
    [java] atweblogic.ejb20.deployer.BeanInfoImpl.<init>(BeanInfoImpl.java:155)
    [java] at
    weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.<init>(ClientDrivenBeanInfo
    Impl.java:157)
    [java] at
    weblogic.ejb20.deployer.SessionBeanInfoImpl.<init>(SessionBeanInfoImpl.java:
    103)
    [java] at
    weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:32
    7)
    [java] at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDep
    loymentInfoImpl.java:395)
    [java] at
    weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoIm
    pl.java:126)
    [java] atweblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main"
    [java] Java Result: 1

  • Java.lang.ClassFormatError: JavaBanner (Illegal constant pool type)

    How do I resolve this error? If you know please e-mail me @ [email protected] . Thank You. Thomas

    Why do you post the same thing in two different threads? Check the other thread. If you haven't got over it, give me the complete stack trace and the other details.

  • Reflection error (Illegal constant pool index)

    Heya,
    I use reflection to invoke Java classes and I get Error:
    java.lang.ClassFormatError: AppendToElement (Illegal constant pool index)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
         at XCOClassLoader.loadClass(XCOClassLoader.java:74)
    // AppendToElement is name of class I want to invoke
    I have bunch of classes from someone else, which I need to invoke and I get this error for all of them. When I invoke classes written (and compiled) by me, everything is OK.
    It seems that the problem is that, these external classes were compiled with different version of Java. As they were written by someone else and I don't have source code, I can't recompile them.
    Is cause of that problem, different JVM versions ? Is there a way how to correct it on runtime ?
    Thanks,
    Michal

    The problem isn't one of versions. The files have become corrupted somehow. I suggest you ask for another copy.

  • Exception with newFixedThreadPool -  Illegal constant pool index

    Hi,
    I got the following exception :
    Exception in thread "main" java.lang.ClassFormatError: Illegal constant pool index 1536 for method signature in class file java/util/concurrent/LinkedBlockingQueue
         at java.util.concurrent.Executors.newFixedThreadPool(Unknown Source)
    When executing the following line:
    ExecutorService es = Executors.newFixedThreadPool(10);
    What this error mean ?
    Thanks

    From the javadoc for java.lang.ClassFormatError:
    'Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.'
    Reinstall.

  • Illegal constant pool index ????

    Hi
    I wrote a hello world program using J2ME with a view to writing a game for a mobile phone. I'm a C++ programmer and have never looked a java befor so I have no idea what is going on under the sheets.
    The hello world program is called Welcome (straight out of Sun's J2ME book). It seemed to compile ok and left me with a file called Welcome.class
    Following the instructions in the book and working from the Command Line on WindowsXP I typed
    d:\preverify ....etc
    I got the following
    Error preverifying class Welcome
    Class loading error: Illegal constant pool index
    I've double checked everything and can't find a problem - any ideas?
    Cheers
    Steve

    Stupid - hadn't downloaded the runtime

  • Illegal start of type error when adding for loop to applet

    I have typed the following applet to print a horizontal row of stars with the length entered by the user (i.e. user enters 4 and applet prints out 4 stars in a row). Here is my code:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
           String input = "";
            int number;
         public void init()
              input = JOptionPane.showInputDialog ( null,
              "Enter a number\nbetween 1 and 30:" );
              number = Integer.parseInt( input );
         public void paint ( Graphics g )
              for ( int counter = 1; counter <= number; counter++ )
                                    System.out.print( "*" );
               System.out.println();
    };Now I am trying to make it do this 5 times, so it seems like just surrounding the init and paint methods in a for loop (i.e. for ( int i=1; i <= 5; i++ ) ) would do the trick but when I do that I get an illegal start of type error when trying to compile. Does anyone know why this error would show up. The most common reply to questions of this sort seems to be to check the closing braces but I have checked very carefully after adding the for loop and don't see any problems with mismatched braces. Could you please help me get on the right track as to how I can make this applet print a horizontal row of stars five times? All help is appreciated.

    Hello JTMOBOP:
    You were correct in figuring that I was trying to get the applet to print five rows of stars of different length according to five different inputs from the user. I tried your suggestions, and the code now does compile and run, but it still does not run properly (i.e. only asks user once for input and displays row of stars but does not show an input dialog again). Here is the code I have retyped:
    import java.awt.Graphics;
    import javax.swing.*;
    public class Histograms extends JApplet
       String input = "";
       int[] number = new int[5];
       public void init()
          for ( int i = 0; i < 5; i++ )
             input = JOptionPane.showInputDialog ( null,
                "Enter a number\nbetween 1 and 30:" );
             number[i] = Integer.parseInt( input );
       public void paint ( Graphics g )
          for ( int i = 0; i < 5; i++ )
             for ( int myNumber = 0; myNumber <= number; myNumber++ )
    System.out.print( "*" );
    System.out.println();
    Any ideas what's going on here?
    Also, your comments about not being able to loop a method make sense. Thank you for the input so far.

  • What does it mean when an error on downloading says cannot contact reliable source?

    what does it mean when an error on downloading says cannot contact reliable source?

    It's a problem with the download helper; download the offline installer from http://get.adobe.com/reader/enterprise/
    If you need more help, please specify your operating system & version.

  • Whats a String constant pool?

    I was reading an article about weak references and came across a peice of code
       Map<String,String> map = new WeakHashMap<String, String>();
          map.put(new String("Scott"), "McNealey");They also said
    if you don't call new String(), the reference for the map key will be to the system's string constant pool. This never goes away, so the weak reference will never be released. To get around this, new String("Scott") creates a reference to the reference in the string constant pool. The string contents are never duplicated. They stay in the constant pool. This simply creates a separate pointer to the string constant in the pool.
    I never heard of String constant pool could any one enlighten me. I didnt get the point of what above paragraph says also.
    Jubs

    No it won't: it will only be removed when the garbage collector rears
    its ugly head. Until then the reference will be present in the map.Okay it was unprecise. The item MAY be removed immediately after it
    has been inserted because the key object is only referenced from the
    Map itself.Yes, that is true, but mind though: any object that still has a strong
    reference to it will not be removed from that map. I use such weak maps
    for localization reasons a lot. When a localization changes (while the
    application is running), a whole lot of visual components must have
    their text part changed. They are all stored in such a weak reference map.
    Of course quite some visual components can be garbage collected
    at some time (think of labels etc. in JDialogs after the dialog has been
    disposed).
    These maps are ideal for those purposes.
    kind regards,
    Jos

  • What does the meaning of this error in udump?

    I solved my RMAN backup slowness problem. But I noticed that during the backup process, it generated an error file in udump as
    $ more mybk_ora_651394.trc
    /oracleapp/admin/mybk/udump/mybk_ora_651394.trc
    Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
    ORACLE_HOME = /oracleapp/oracle/product/10.2.0/db_1
    System name: AIX
    Node name: mybk
    Release: 3
    Version: 5
    Machine: ##########
    Instance name: mybk
    Redo thread mounted by this instance: 1
    Oracle process number: 34
    Unix process pid: 651394, image: oracle@mybk (TNS V1-V3)
    *** 2007-01-19 16:30:15.302
    *** ACTION NAME:(0000037 STARTED111) 2007-01-19 16:30:15.285
    *** MODULE NAME:(backup incr datafile) 2007-01-19 16:30:15.285
    *** SERVICE NAME:(SYS$USERS) 2007-01-19 16:30:15.285
    *** SESSION ID:(539.666) 2007-01-19 16:30:15.285
    *** 2007-01-19 16:30:25.862
    *** ACTION NAME:(0000063 STARTED111) 2007-01-19 16:30:25.862
    *** MODULE NAME:(backup archivelog) 2007-01-19 16:30:25.862
    What does it mean? Every "control autobackup" will produce such error file in udump.
    Message was edited by:
    user508054

    I think I need more investigation about this. I found two papers last night:
    http://www-128.ibm.com/developerworks/linux/linux390/perf/tuning_rec_database_OracleRec.html
    http://www.netapp.com/library/tr/3408.pdf
    with a previous online paper mentioning to alter the maxservers of aio0. Although this is an alternative, I tried to increase the value to 300 (500 at this moment) and it does not seem to work. On other hand, with change of the disk_asynch_io, it will hinder the exp/imp pump. So I really don´t know what to say.
    Apparently the disk_asynch_io needs to be FALSE in order to speed up the backup. just verified again, even with my maxserver=500 did not help.
    Message was edited by:
    user508054
    Use the expdp to dump my db with the asynch_io in FALSE. It looks OK, no delay.
    Message was edited by:
    user508054

  • HELP- what does this mean- time machine error- backup disk image "/Volumes/time Capsule/ cheryl lynott's MacBook.sparsebundle" is already in use?

    The last date of my back up was 10/4- keeps saying The backup disk image "/backup disk image "/Volumes/time Capsule/ cheryl lynott's MacBook.sparsebundle" is already in use?

    HELP -- what does this mean -- .......
    Often, this error can be corrected by pulling the power on the Time Capsule, waiting a few minutes, and powering the Time Capsule back up.
    See # C12  for more tips
    http://pondini.org/TM/Troubleshooting.html

  • What does it mean when the error code says:

    what does it mean when it says: cannot get mail-connection to server failed?
    I'm talking about my Ipad 2

    It means that the iPad cannot connect to the company that serves your email to you.
    This can be cause by incorrect settings on your iPad. But if you were able to get mail regularly iprior to this on your iPad it could be a problem with your email provider that is causing the problem.
    We're you able to get your email previously with the same device?

  • What does the 'TO' lock type represent?

    Does anyone know what the 'TO' lock type stands for? I found in the Oracle documentation for 8i the following list of lock types:
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76961/ch380.htm#28430
    but 'TO' is not included. I'm having issues with 'TO' locks hanging around for a while after a call to the database from a web server. They eventually timeout after a minute or so, but I hoping the lock type would be a clue as to the reason.
    Thanks,
    Sam
    Sam Santiago
    [email protected]

    I looked up the documentation too and noticed it wasn't mentioned. Here's the output from a query on DBA_LOCK showing that lock type:
    SESSION_ID     LOCK_TYPE     MODE_HELD     MODE_REQUESTED     LOCK_ID1     LOCK_ID2     LAST_CONVERT     BLOCKING_OTHERS
    9     TO     Row-X (SX)     None     635667     1     199     Not Blocking
    9     TO     Row-X (SX)     None     635664     1     196     Not Blocking
    9     TO     Row-X (SX)     None     601017     1     177     Not Blocking
    9     TO     Row-X (SX)     None     600979     1     27     Not Blocking
    These locks seem to linger around too.

Maybe you are looking for

  • BW - AP Aging Report

    Hello BW Experts, Could someone guide me through the development of an AP Aging report in releation to Base Date, Due Date, Net Due Date and how to derive the aging.  I am considering the use of FIAP Line Item (0FIAP_C03) cube. Thanks

  • Vendor List

    Hi All I am using class and characteristics in my vendor master,here my requirement is i want class and characteristics details in my vendor list report,So kindly suggest me what are all the report available with class and characteristics details Reg

  • Wireless Card Upgrade Help!

    Hello,           First post so be gentle with me! I need some help upgrading my wireless card on my Compaq nx6310 laptop. I have the original card in there since new and I now have a much faster fibre connection with a Hauwei HG533 wireless router so

  • Roles and queries Technical content cube

    Dear Experts, Is anyone aware of any technical content cube that has information about roles and which queries those roles have access to? ie. I need Roles - Query mapping I have already looked in to AGR_1251 table but here the direct value is not pr

  • Failure to Authorize

    I have a new pc running on vista. I imported my library from an external hard drive and can only play some of the songs and it wont transfer those I cannot play to my iphone. It keeps asking for authorization and when I type in my data it says my new