Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6329

org.json migration issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 8.0.0-M4
    • 8.0.0-M5
    • wicket
    • None

    Description

      My project uses both Wicket and Google Firebase.

      After migrating to Wicket8 M4 I have this issue:

      java.lang.NoSuchMethodError: org.json.JSONStringer.object()Lorg/json/JSONWriter;
      at com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:56)
      at com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:45)
      at com.google.firebase.database.util.JsonMapper.serializeJson(JsonMapper.java:25)
      at com.google.firebase.database.util.GAuthToken.serializeToString(GAuthToken.java:53)
      at com.google.firebase.database.core.JvmAuthTokenProvider$1.onComplete(JvmAuthTokenProvider.java:40)
      at com.google.firebase.tasks.OnCompleteCompletionListener$1.run(OnCompleteCompletionListener.java:37)

      Reason: Google libraries uses one library and Wicket uses another by the same name. These 2 libraries are in conflict.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mfursov Mikhail Fursov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: