-
Notifications
You must be signed in to change notification settings - Fork 232
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
Parsing a Session Description on Android causes a NullPointerException. #267
Comments
Have you found any solution? |
@Neerajsh8851 Sadly i have not, did you? |
I added some
And on desktop, notice the
This is from the same artifact on Android and Desktop. Also, the lines executed seen in Android debugger don't match the source file. Changes made to |
Also, a |
I am creating my own solution in kotlin. I found pj project but that was in c. |
@jussme Did a little digging, and the issue is because |
Not sure if it will work for Ice4J as well, but you can try shadowing the jars to avoid the class name conflict. This can be done fairly simply with a shadow plugin like https://imperceptiblethoughts.com/shadow/. I'm using this on java-sdp-nist-bridge, which includes the jain-sip library. For simplicity, I just have a separate gradle module that has all the dependencies I want to shadow, and then I use the auto-relocation feature to prefix everything, and depend on the shadow module from my app module. |
Artifact version: 3.0-61-g76e8a19
It seems to be thrown when calling
.get()
onLexerCore.currentLexer
.I've added the line
currentLexer = new ConcurrentHashMap()
to the constructor missing it, with Recaf. Android Studio and other decompilers confirm that it's being instantiated in both constructors (it's moved to the field declaration to be precise) but nothing changed.The text was updated successfully, but these errors were encountered: