JSON-RPC2 client libraries not resolved during run time in Android

186 views
Skip to first unread message

Ram

unread,
Mar 16, 2015, 1:36:09 AM3/16/15
to json...@googlegroups.com
I have used the JSON-RPC2 libraries in my Android application. During coding and build there are no errors. All library classes and methods are properly resolved during compile time. However, when I tried to run I get the ClassNotFound error. Thanks in advance for your help !

Below is the log output
_________________________________________________________________________________________________________________
03-15 23:27:16.280    1900-1900/com.example.admin.myapplication E/libprocessgroup﹕ failed to make and chown /acct/uid_10053: Read-only file system
03-15 23:27:16.280    1900-1900/com.example.admin.myapplication W/Zygote﹕ createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
03-15 23:27:16.280    1900-1900/com.example.admin.myapplication I/art﹕ Not late-enabling -Xcheck:jni (already on)
03-15 23:27:16.350    1900-1900/com.example.admin.myapplication I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<com.thetransactioncompany.jsonrpc2.JSONRPC2Message>
03-15 23:27:16.350    1900-1900/com.example.admin.myapplication I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<com.thetransactioncompany.jsonrpc2.JSONRPC2Message>
03-15 23:27:16.350    1900-1900/com.example.admin.myapplication I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<com.thetransactioncompany.jsonrpc2.JSONRPC2Request>
03-15 23:27:16.350    1900-1900/com.example.admin.myapplication I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<com.thetransactioncompany.jsonrpc2.JSONRPC2Request>
03-15 23:27:16.500    1900-1919/com.example.admin.myapplication D/OpenGLRenderer﹕ Render dirty regions requested: true
03-15 23:27:16.500    1900-1900/com.example.admin.myapplication D/﹕ HostConnection::get() New Host Connection established 0x7f2e061bf140, tid 1900
03-15 23:27:16.550    1900-1900/com.example.admin.myapplication D/Atlas﹕ Validating map...
03-15 23:27:16.670    1900-1919/com.example.admin.myapplication D/﹕ HostConnection::get() New Host Connection established 0x7f2e061bf380, tid 1919
03-15 23:27:16.760    1900-1919/com.example.admin.myapplication I/OpenGLRenderer﹕ Initialized EGL, version 1.4
03-15 23:27:16.820    1900-1919/com.example.admin.myapplication D/OpenGLRenderer﹕ Enabling debug mode 0
03-15 23:27:16.840    1900-1919/com.example.admin.myapplication W/EGL_emulation﹕ eglSurfaceAttrib not implemented
03-15 23:27:16.840    1900-1919/com.example.admin.myapplication W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e06183880, error=EGL_SUCCESS
03-15 23:27:17.480    1900-1919/com.example.admin.myapplication W/EGL_emulation﹕ eglSurfaceAttrib not implemented
03-15 23:27:17.480    1900-1919/com.example.admin.myapplication W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f2e06183840, error=EGL_SUCCESS
03-15 23:27:32.410    1900-1900/com.example.admin.myapplication I/System.out﹕ VALUES COMING FROM 2VALUES COMING FROM3
03-15 23:27:32.410    1900-1900/com.example.admin.myapplication I/art﹕ Rejecting re-init on previously-failed class java.lang.Class<com.thetransactioncompany.jsonrpc2.JSONRPC2Request>
03-15 23:27:32.410    1900-1900/com.example.admin.myapplication D/AndroidRuntime﹕ Shutting down VM
    --------- beginning of crash
03-15 23:27:32.410    1900-1900/com.example.admin.myapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: com.example.admin.myapplication, PID: 1900
    java.lang.NoClassDefFoundError: com.thetransactioncompany.jsonrpc2.JSONRPC2Request
            at com.example.admin.myapplication.MainActivity.accessWebService(MainActivity.java:154)
            at com.example.admin.myapplication.MainActivity$1.onClick(MainActivity.java:55)
            at android.view.View.performClick(View.java:4756)
            at android.view.View$PerformClick.run(View.java:19749)
            at android.os.Handler.handleCallback(Handler.java:739)
            at android.os.Handler.dispatchMessage(Handler.java:95)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5221)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
____________________________________________________________________________________________________________________

Matt (MPCM)

unread,
Mar 20, 2015, 10:01:29 PM3/20/15
to json...@googlegroups.com
You'll need to follow up with the author of the library, unless they happen to also watch this group. This group is primarily for discussing the specification and implementations, so you may not get the assistance you are looking for with specific errors
Reply all
Reply to author
Forward
0 new messages