Skip to content
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

1.4.4 - Extremely Rare Android 12: Exception java.lang.NullPointerException #101

Open
danoli3 opened this issue Aug 30, 2022 · 0 comments
Open

Comments

@danoli3
Copy link

danoli3 commented Aug 30, 2022

Exception java.lang.NullPointerException

Screen Shot 2022-08-31 at 12 37 11 am

Code stack:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File android.content.Context.getDir(java.lang.String, int)' on a null object reference
  at android.content.ContextWrapper.getDir (ContextWrapper.java:335)
  at com.getkeepsafe.relinker.ReLinkerInstance.getWorkaroundLibDir (ReLinkerInstance.java:215)
  at com.getkeepsafe.relinker.ReLinkerInstance.getWorkaroundLibFile (ReLinkerInstance.java:230)
  at com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal (ReLinkerInstance.java:173)
  at com.getkeepsafe.relinker.ReLinkerInstance.access$000 (ReLinkerInstance.java:31)
  at com.getkeepsafe.relinker.ReLinkerInstance$1.run (ReLinkerInstance.java:142)
  at java.lang.Thread.run (Thread.java:920)
  

Calling code:

ReLinker.loadLibrary(this, "openFrameworksAndroid", new ReLinker.LoadListener() {
  			@Override
  			public void success() {
  				OFAndroidLifeCycle.coreLibraryLoaded = true;
  				Setup();
  			}
  			@Override
  			public void failure(Throwable t) {
  				Log.e(TAG, "Failure to Load Core Static Library: " + t.getMessage());
  			}
  		});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant