• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

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.
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic