• Post Reply Bookmark Topic Watch Topic
  • New Topic

Illegal UTF8 string in constant pool in class file com/tibco/tibjms/TibjmsxSessionImp  RSS feed

 
Amrish Dwivedi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am getting error at run time when i am trying connect on JMS server :


Here is the code :
 
Rob Spoor
Sheriff
Posts: 21052
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Could you please UseCodeTags (<- link) next time? I've added them this time; see how much easier it is to read your code


About the error you're getting. A ClassFormatError means something is wrong in the compiled class file. Is the code you posted of class TibjmsxSessionImp? Because that class is where some String constant is causing this problem.
 
Amrish Dwivedi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

thanks for the reply, no this is my custom code where i am trying to call the createQueueConnection method of TibjmsQueueConnectionFactory class.
at line number 17 you can see the method.

Thanks.
 
Rob Spoor
Sheriff
Posts: 21052
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So TibjmsxSessionImp is part of a library you're using? Can you try recompiling it?

Also important: what Java version are you using?
 
Amrish Dwivedi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

i am using the Java 7, actually i tried to compile the TibjmsxSessionImpl but it gives me a lots of error. As it's a class file of tibjms.jar.
i have first decompile it and then compiled it but no success (got error). Please help me i am working first time with JMS services.

Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!