Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem using obfuscator

 
akshay saraswat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys i have a problem using obfuscator for my code,the retroguard log says

# Unrecoverable error during obfuscation:
# java.lang.ClassNotFoundException: javax.microedition.midlet.MIDlet
java.lang.ClassNotFoundException: javax.microedition.midlet.MIDlet
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at c.i.a(SourceFile:568)
at c.i.a(SourceFile:529)
at c.i.k(SourceFile:484)
at c.t$7.a(SourceFile:518)
at c.t.a(SourceFile:1198)
at c.t.a(SourceFile:1191)
at c.t.a(SourceFile:1170)
at c.t.do(SourceFile:517)
at c.c.int(SourceFile:447)
at c.c.do(SourceFile:471)
at c.m.a(SourceFile:170)
at c.m.a(SourceFile:127)
at c.m.a(SourceFile:114)
at RetroGuard.main(SourceFile:70)

can anyone suggest a solution to this,as to what is wrong
 
Nikos Pougounias
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should check for classes that get serialized. As a quick test, exclude them from the obfuscation process.
 
akshay saraswat
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi nikos,
thanks for the advice,as i am new to j2me,can you guide me how to use the retroguard obfuscator,also i wanted to know how can i exclude the classes which are being serialized during obfuscation.
regards,
akshay.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic