"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?

Similar Messages

  • 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.

  • 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

  • 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.

  • 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.

  • I am coming across a probelm when using multipel tabs in FireFox6. If I open a new tab it takes several minutes for the address bar to become clickable to type. how do I fix this?.

    recently upgraded to 6.0.2. Could this be the reason? using windows XP. unable to duplicate issue through other browsers so definitely FireFox related.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • 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.

  • My "Notes" app on my iPhone 4S is no longer syncing up with my "Notes" app on my PC or on my iPad.  It was syncing up fine before.  But no longer.  How do I fix this so that whatever I type in iPhone "Notes" will appear in my other devices' "Notes"?

    My "Notes" app on my iPhone 4S is no longer syncing up with my "Notes" app on my PC or on my iPad.  It was syncing up fine before.  But no longer.  How do I fix this so that whatever I type in iPhone "Notes" will appear in my other devices' "Notes"?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Help.  How do I fix this?  Have been using adobe reader opening this template for months and now all of the sudden its not working.Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the

    I coach youth soccer and use a PDF template to save my sessions in.  Today I got this message when trying to open one of my sessions.
    Adobe Reader could not open 'NSCAAInteractiveSessionPlan.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).
    How can I fix this?  I have not done anything I don't normally do.

    What is your operating system?  Reader version?

  • TS3694 How can I fix this type of error in iphone 4?"The iphone could not be restored. An unknown error occurred (3194) "please help me.

    Hi everybody !
    AT&T company is unlocked (factory)my iphone4 before 3 days ago so i want to restore to unlock iphone 4 with itunes but it is not restore.
    How can I fix this type of error in iphone 4?- "The iphone could not be restored. An unknown error occurred (3194) "
    please help me in nepali language(if posible) or english. thank you.

    http://support.apple.com/kb/TS3694#error3194
    This means that either your firewall/antivirus is blocking access to Apple's servers, or you have used your computer to jailbreak an iDevice in the past. The link above tells you how to resolve this issue.

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • I need to send an attachment.  When I attach it to my email it shows up "open" in the recipients email instead of being an icon type attachment.  How do I fix this?

    I need to send an attachment.  When I attach it to my email it shows up "open" in the recipients email instead of being an icon type attachment.  How do I fix this?

    once you finalize the addressing the list disappears, so how can is affect the subject . For that matter is disappears when it looses focus.
    I have heard of a bug that selects the name that is highlighted when the mouse leaves the selection box if no address is selected. Perhaps that is your issue. Until the issue is fixed I suggest you use tab to leave the address box

  • My web pages keep closing when I type in the web browser. How do I fix this?

    My web pages keep closing when I type in the web browser. How do I fix this?

    Safari?
    Safari > Preferences > Extensions
    Turn those off and try.

  • When I type the keyboard is in the way and I can't see what I am typing. How do I fix this on my iPad?

    When I type the keyboard is in the way and I cannot see what I am typing. How do I fix this?

    I just updated to ios8 on my iPad and the keyboard blocking the text is driving me nuts!  You used to be able to scroll the page up which would allow one to see what you were typing.  Ugh! Help.  splitting the screen is not an option. It used to work fine

  • 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.

Maybe you are looking for