Hi,
I worked hard since a week. I read a lot of web pages but i can't solve.
My application has #additionaljar.
i am calling java methods with JAVAOBJECT and #IF JAVA scripts.
Application worked properly on Emulator 7.0 Nougat without error but emulator 6.0 and below occured unfortunately stopped error.
My real devices are 4.4.2 and another one is 6.01 .
Application Unfortunately Stopped on real devices too. (I have no real device with 7.0 Nougat )
Testing debug and release modes.
What should i do?
My Application:
B4A 6.31
tried manifesto: <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23"/>
starter service/application_error is return true.
javac.exe: ...\jdk1.8.0_60\...
android.jar: ...\android-23\..
Error Log:
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at b4a.example.main.afterFirstLayout(main.java:108)
at b4a.example.main.access$000(main.java:23)
at b4a.example.main$WaitForLayout.run(main.java:86)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7331)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String[] net.zemberek.yapi.kok.KokOzelDurumBilgisi.ozelDurumUygula(net.zemberek.yapi.Kok)' on a null object reference
at net.zemberek.bilgi.kokler.AgacSozluk.ekle(AgacSozluk.java:131)
at net.zemberek.bilgi.kokler.AgacSozluk.<init>(AgacSozluk.java:73)
at net.zemberek.yapi.TurkceDilBilgisi.kokler(TurkceDilBilgisi.java:198)
at net.zemberek.erisim.Zemberek.initialize(Zemberek.java:93)
at net.zemberek.erisim.Zemberek.<init>(Zemberek.java:75)
at b4a.example.main.AndroidKok(main.java:461)
... 20 more
** Activity (main) Resume **
Application is attached below. Jar file addres is http://www.java2s.com/Code/JarDownload/zemberek/zemberek-tum-2.0.jar.zip
I worked hard since a week. I read a lot of web pages but i can't solve.
My application has #additionaljar.
i am calling java methods with JAVAOBJECT and #IF JAVA scripts.
Application worked properly on Emulator 7.0 Nougat without error but emulator 6.0 and below occured unfortunately stopped error.
My real devices are 4.4.2 and another one is 6.01 .
Application Unfortunately Stopped on real devices too. (I have no real device with 7.0 Nougat )
Testing debug and release modes.
What should i do?
My Application:
B4A 6.31
tried manifesto: <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23"/>
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23"/>
SetApplicationAttribute(android:largeHeap,"true")
SetApplicationAttribute(android:largeHeap,"true")
javac.exe: ...\jdk1.8.0_60\...
android.jar: ...\android-23\..
Error Log:
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at b4a.example.main.afterFirstLayout(main.java:108)
at b4a.example.main.access$000(main.java:23)
at b4a.example.main$WaitForLayout.run(main.java:86)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:7331)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String[] net.zemberek.yapi.kok.KokOzelDurumBilgisi.ozelDurumUygula(net.zemberek.yapi.Kok)' on a null object reference
at net.zemberek.bilgi.kokler.AgacSozluk.ekle(AgacSozluk.java:131)
at net.zemberek.bilgi.kokler.AgacSozluk.<init>(AgacSozluk.java:73)
at net.zemberek.yapi.TurkceDilBilgisi.kokler(TurkceDilBilgisi.java:198)
at net.zemberek.erisim.Zemberek.initialize(Zemberek.java:93)
at net.zemberek.erisim.Zemberek.<init>(Zemberek.java:75)
at b4a.example.main.AndroidKok(main.java:461)
... 20 more
** Activity (main) Resume **
Application is attached below. Jar file addres is http://www.java2s.com/Code/JarDownload/zemberek/zemberek-tum-2.0.jar.zip
Attachments
Last edited: