Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

While processing in Proguard i am getting error

 
kalaiyarasan sivaprakasam
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to be saying that you've got a corrupt or incorrect version of that class, I'd try a fresh copy.
 
kalaiyarasan sivaprakasam
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start with this:

The online ProGuard manual has extensive explanations and examples for all the keep options.
 
kalaiyarasan sivaprakasam
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic