aspose file tools*
The moose likes Applets and the fly likes problem in obfuscation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "problem in obfuscation " Watch "problem in obfuscation " New topic
Author

problem in obfuscation

naresh govindaswmay
Ranch Hand

Joined: Aug 15, 2007
Posts: 90
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


Thanks and Regards<br />Naresh govindaswamy
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
What version number does the class file in question have? Does the RetroGuard documentation say what class file versions it supports?


Ping & DNS - my free Android networking tools app
naresh govindaswmay
Ranch Hand

Joined: Aug 15, 2007
Posts: 90
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
Marshal

Joined: Mar 22, 2005
Posts: 41525
    
  53
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in obfuscation