iosTest fails with Null pointer exception loading bundle
See original GitHub issueMaybe 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:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dalewking in 0.12.0 release implemented logic for ios tests with resources. sample
mpp-hierarhical
contains sample configuration of testsproblem 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)