question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iosTest fails with Null pointer exception loading bundle

See original GitHub issue

Maybe related to #48 #80 or #97, but translations are working when running the app, but when I try to run iosTest task I get a null pointer exception in this code:

actual object MR {
  private val bundle: NSBundle by lazy {
      NSBundle.loadableBundle("com.genesys.purecloud.wfmshared.MR") }

Presumably because the resource bundle cannot be found.

I cannot make any headway on trying to track this down

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Alex009commented, Sep 5, 2020

@dalewking in 0.12.0 release implemented logic for ios tests with resources. sample mpp-hierarhical contains sample configuration of tests

0reactions
Alex009commented, Sep 3, 2020

problem not fixed in 0.11.1. reproducer here https://github.com/icerockdev/moko-resources/issues/99#issuecomment-684470108 will try fix in 0.12.0 (kotlin 1.3.72 version)

Read more comments on GitHub >

github_iconTop Results From Across the Web

NullPointerException from a bundle [duplicate] - Stack Overflow
You are calling methods on the bundle when it is null. Therefore first check if bundle is not null then proceed.
Read more >
NULL POINTER EXCEPTION WHEN LOADING XML ... - IBM
Error description. NullPointerException is thrown from the NamedDeclaration class when an XML document is loaded: com.ibm.xml.xlxp.internal.s1.grammar.
Read more >
MobiVM/robovm - Gitter
[ERROR] Couldn't start application java.lang.NullPointerException at org.robovm.idea.running.RoboVmRunProfileState.executeRun(RoboVmRunProfileState.java:62)
Read more >
Security update for javapackages-tools, javassist, mysql-connector ...
Bug#101558 (32141210), NULLPOINTEREXCEPTION WHEN EXECUTING INVALID QUERY WITH ... WL#14096, Add option to specify LOAD DATA LOCAL allow list folder.
Read more >
Java.lang.NullPointerException error while performing any ...
I am using RTC v6.0.5 Eclipse client and trying to create Iterations but while saving iterations, I am receiving Java.land.NullPointer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found