aspose file tools*
The moose likes Other Open Source Projects and the fly likes While processing in Proguard i am getting error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "While processing in Proguard i am getting error" Watch "While processing in Proguard i am getting error" New topic
Author

While processing in Proguard i am getting error

kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
Can't read [proguard.ClassPathEntry@1067d4c] (Can't process class [org/apache/naming/StringManager.class] (invalid entry CRC (expected 0xaea2753b but got 0xc46fe4d0)))


can anyone knows about this,
thanks.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

It seems to be saying that you've got a corrupt or incorrect version of that class, I'd try a fresh copy.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
Yeah you might be correct...i have taken fresh jar of rt.jar ,now its not showing that error .thanks

but while obfuscating i am getting the error as follows

Obfuscating...
Preverifying...
Unexpected error while performing partial evaluation:
Class = [org/apache/commons/vfs/cache/LRUFilesCache]
Method = [b(Lorg/apache/commons/vfs/FileSystem;)Ljava/util/Map;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [java/util/Map] and [org/apache/commons/vfs/cache/LRUFilesCache$MyLRUMap])
Unexpected error while preverifying:
Class = [org/apache/commons/vfs/cache/LRUFilesCache]
Method = [b(Lorg/apache/commons/vfs/FileSystem;)Ljava/util/Map;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [java/util/Map] and [org/apache/commons/vfs/cache/LRUFilesCache$MyLRUMap])
Can't find common super class of [java/util/Map] and [org/apache/commons/vfs/cache/LRUFilesCache$MyLRUMap]

I have downloaded the jar and added in jar file,but still i am getting same trouble
any idea about this

thanks for your response..
kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
i have fixed all the warning,errors...
its created successfully....
but i want all class name and public method should be same which i had before obfuscation...
i want the changes only on private methods
which keep option i need to select...

thanks for your response in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42602
    
  65
Start with this:

The online ProGuard manual has extensive explanations and examples for all the keep options.


Ping & DNS - my free Android networking tools app
kalaiyarasan sivaprakasam
Greenhorn

Joined: Aug 17, 2009
Posts: 29
Everything is created ,i could keep all public classes and the changes are in private methods only.

but now i am getting one more problem,I am deploying in jboss sever,in my product i have used EJB.
so its not deploying properly,its getting error as there is no create method in EJB jar.
so i need to keep those method also..do you have any idea regard this..

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: While processing in Proguard i am getting error