Hello Everyone
I made an app with b4a and I tested it with a phone with android 5.1, Now I tested my app with another device using Android 7.1.1.
The previous test was successful but with android 7 I get NPE (NullPointException) Error:
java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftwhere.b4a.objects.collections.Map.Initialize()' on a null object reference.
I wanted to know what happened so I saw this part of Error:
'…Map.Initialize()'
In Process globals I defined a Map
And then initialized that in Activity Create sub
Later, I used that map in another sub.
How to fix this problem?
I made an app with b4a and I tested it with a phone with android 5.1, Now I tested my app with another device using Android 7.1.1.
The previous test was successful but with android 7 I get NPE (NullPointException) Error:
java.lang.NullPointerException: Attempt to invoke virtual method 'void anywheresoftwhere.b4a.objects.collections.Map.Initialize()' on a null object reference.
I wanted to know what happened so I saw this part of Error:
'…Map.Initialize()'
In Process globals I defined a Map
And then initialized that in Activity Create sub
Later, I used that map in another sub.
How to fix this problem?