This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

problem using obfuscator

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I'm sure glad that he's gone. Now I can read this tiny ad in peace!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic