• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Illegal Constant Pool error  RSS feed

 
Dean Reedy
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using java version "HP-UX Java C.01.18.01" on unix.
The problem is when I run my program via a shell from my home directories, it runs fine. Now I try to run it from super user directories I get the following error, "Illegal Constant Pool".
Now the following is try:
1) Class file exists
2) classpath has been set correctly
3) the super user directories and files have read/execute permission for all users
4) The login used to run the program has the same permissions as the superuser.
Any ideas? or anywhere I could look.
 
Dean Reedy
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found out the problem, we use a source control system called PVCS and somehow when the oiperations group moved my file from there to production invirnoment the PVCS changed the internal data of the compile java file. I promoted a file directly after compiling and it works fine.
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm glad you found your problem, and thanks for sharing the result with us. In most version control systems there is a way of marking a file (or file type) as "binary" and not to be messed with. Do you know if PVCS will let you do this ?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!