Menu

#747 Missing logLoadLibrary method in the ConfigurationLogger class

v6.0
closed-fixed
None
Medium
2019-05-14
2019-04-02
No

Using proguard 6.0.3 with the -addconfigurationdebugging directive we are getting following exception:

    java.lang.NoSuchMethodError: No static method logLoadLibrary(Ljava/lang/String;Ljava/lang/String;)V in class La/a/a; or its super classes (declaration of 'a.a.a' appears in ...classes2.dex)
        at com.couchbase.lite.storage.SQLiteNativeLibrary.loadSystemLibrary(SQLiteNativeLibrary.java:93)

According to mapping.txt the a.a.a class is obfuscated proguard.configuration.ConfigurationLogger

I have inspected the latest proguard source (from here) and I see that:

1) There are several mentions of the logLoadLibrary in ConfigurationLoggingInstructionSequenceConstants
2) But it's not declared in ConfigurationLogger

Therefore it's seems there's an implementation of that method missing.

Discussion

  • Eric Lafortune

    Eric Lafortune - 2019-05-01

    Thanks for your report. This is an error indeed; the lines below // Resource files. (which refer to logLoadLibrary) are not necessary and can be removed. We've now fixed it for the upcoming ProGuard 6.1.0 beta3.

     
  • Eric Lafortune

    Eric Lafortune - 2019-05-01
    • status: open --> open-fixed
    • assigned_to: Eric Lafortune
     
  • Eric Lafortune

    Eric Lafortune - 2019-05-14
    • Status: open-fixed --> closed-fixed
     

Log in to post a comment.