File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in obfuscation

 
naresh govindaswmay
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
# If this log is to be used for incremental obfuscation / patch generation,
# add any '.class', '.method', '.field' and '.attribute' restrictions here:


#-DO-NOT-EDIT-BELOW-THIS-LINE------------------DO-NOT-EDIT-BELOW-THIS-LINE--
#
# RetroGuard Bytecode Obfuscator, v1.1.13, a product of Retrologic Systems - www.retrologic.com
#
# Logfile created on Fri Dec 07 18:39:08 GMT+05:30 2007
#
# Jar file to be obfuscated: t_lhclient.jar
# Target Jar file for obfuscated code: lhclient.jar
# RetroGuard Script file used: myscript.rgs
#
# ERROR - corrupt class file: com/leader/livehelp/client/ChatArea$1.class (Incompatible version number for class file format.)

# Unrecoverable error during obfuscation:
# java.lang.NullPointerException
java.lang.NullPointerException
at a.a.a.s.for(Unknown Source)
at a.a.a.s.a(Unknown Source)
at RetroGuard.a(Unknown Source)
at RetroGuard.a(Unknown Source)
at RetroGuard.main(Unknown Source)

I am compileing the applet through this obfuscation method.I am getting this message for that i have searched in net they are saying you need to set the plugin.jar in the classpath. so i did the same though i am getting the error.please any body can help me out of this. I am waitng for yours reply
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version number does the class file in question have? Does the RetroGuard documentation say what class file versions it supports?
 
naresh govindaswmay
Ranch Hand
Posts: 90
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:
What version number does the class file in question have? Does the RetroGuard documentation say what class file versions it supports?



hi,
This version is in my system
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\naresh>java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)


hos can i find RetroGuard documentation what class file versions it supports? please can you help me out of this.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Knowing what version the Java tools are is only tangentially interesting. The important thing is what the class file version is. In other words, what this document calls the major version and minor version. You'll find it in bytes 5 through 8 of the class file.

As to RetroGuard -about which I know nothing- there'a link to the company in the stuff you posted. If it's a commercial product it should come with documentation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic