-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proguard breaks usage #3
Comments
I've never tried pro-guard'ing it. Where are you getting a NPE? Can you post a stacktrace? |
NPE is in the line of call to resolveRawArguments. |
I got also an exception when i tried to resolve a lambda modified by retrolambda. The exception I got based on the 0.4.7 version was:
This is because the call In the #28 pull request I also covered this case by filtering on methods. It could fix the issue, but it might not return the expected result with proguard (and does not work correctly with jacoco/intellij code coverage in combination with retrolambda for instance) they all change the constantPool and the heuristic used in the |
Before everything works fine, calls return fine:
resolveRawArguments(Class type, Class
subType)resolveRawArgument(Class type, Class
subType)After proguarding the project (it is an Android project with no rules considering any particular classes related to the call) same call returns NPE.
I've already set:
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,Annotation,EnclosingMethod
and it doesnt seem to help.
Do you have any hints how to create proper proguard settings?
I know its more of a proguard usage issue, but still - any hints welcome. Maybe someone had this problem and dealt with it already.
The text was updated successfully, but these errors were encountered: