I'm using android-serialport-api library in my application in order to establish communication between one tablet as master and another devices connected over a RS485 network as slaves.
Recentely I had two tablets crashing after being turned on and coincidentaly both of them had faced troubles with power sources or cable malfunction before it happened.
Here below the logs of them:
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.ExceptionInInitializerError
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:234)
at java.lang.Class.forName(Class.java:181)
at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:378)
at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:365)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:247)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at b4a.example.main.afterFirstLayout(main.java:91)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3688)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at android_serialport_api.SerialPort.<clinit>(SerialPort.java:93)
... 22 more
AND THE OTHER ONE:
modulo485_process_globals (java line: 109)
java.lang.ExceptionInInitializerError
at jab.comboio.modulo485._process_globals(modulo485.java:109)
at jab.comboio.main.initializeProcessGlobals(main.java:703)
at jab.comboio.main.afterFirstLayout(main.java:94)
at jab.comboio.main.access$100(main.java:16)
at jab.comboio.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3688)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at android_serialport_api.SerialPort.<clinit>(SerialPort.java:93)
... 14 more
Any ideas ????
Recentely I had two tablets crashing after being turned on and coincidentaly both of them had faced troubles with power sources or cable malfunction before it happened.
Here below the logs of them:
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.ExceptionInInitializerError
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:234)
at java.lang.Class.forName(Class.java:181)
at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:378)
at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:365)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:247)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at b4a.example.main.afterFirstLayout(main.java:91)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3688)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at android_serialport_api.SerialPort.<clinit>(SerialPort.java:93)
... 22 more
AND THE OTHER ONE:
modulo485_process_globals (java line: 109)
java.lang.ExceptionInInitializerError
at jab.comboio.modulo485._process_globals(modulo485.java:109)
at jab.comboio.main.initializeProcessGlobals(main.java:703)
at jab.comboio.main.afterFirstLayout(main.java:94)
at jab.comboio.main.access$100(main.java:16)
at jab.comboio.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3688)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load serial_port: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)
at android_serialport_api.SerialPort.<clinit>(SerialPort.java:93)
... 14 more
Any ideas ????