Skip to content

Java.lang.ExceptionInInitializerError #544

@kylenietfeld

Description

@kylenietfeld

Hello! I have successfully downloaded, built, and ran the demo application on this repository. I am trying to add ABJ functionality to another app I am building, but the app instantly crashes whenever a function from ABJ is called. In my case, the app crashes at:
val session = Session()

I imported the autobahn library the same way I have with other libraries. File > Import Module. Android Studio appears to install all dependencies and I can call ABJ functions in my code without any errors. The app builds successfully but instantly crashes when it is ran. The error that I am seeing is a Java.lang.ExceptionInInitializerError. ABJ appears to be imported correctly, but I am still getting this error. I have "implementation project(path: ':autobahn')" in my main build gradle file. Is there any other initialization steps that I am missing?

I would really appreciate any help/feedback, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions