jcricket / gwt-syncproxy

Provides Synchronous and Asynchronous access to GWT-RPC servlets from Java and Android
http://www.blueesoteric.com/open-source/gwt-syncproxy
Apache License 2.0
23 stars 14 forks source link

SyncProxy not working in android version nougat and above #53

Open gaurav19643 opened 6 years ago

gaurav19643 commented 6 years ago

06-09 20:03:34.582 5393-5418/com.example.gwttest E/AndroidRuntime: FATAL EXCEPTION: Thread-4 Process: com.example.gwttest, PID: 5393 java.lang.ExceptionInInitializerError at com.gdevelop.gwt.syncrpc.SyncProxy.setBaseURL(SyncProxy.java:530) at com.example.gwttest.Mpsend$1.run(Mpsend.java:31) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.NullPointerException: Attempt to get length of null array at com.gdevelop.gwt.syncrpc.RpcPolicyFinder.searchPolicyFileInDirectory(RpcPolicyFinder.java:272) at com.gdevelop.gwt.syncrpc.RpcPolicyFinder.searchPolicyFileInClassPath(RpcPolicyFinder.java:243) at com.gdevelop.gwt.syncrpc.SyncProxy.(SyncProxy.java:617) at com.gdevelop.gwt.syncrpc.SyncProxy.setBaseURL(SyncProxy.java:530)  at com.example.gwttest.Mpsend$1.run(Mpsend.java:31)  at java.lang.Thread.run(Thread.java:761)