Open rhijjawi opened 4 years ago
Can you explain this error? You are getting a null exception
i am experiencing an issue where the file is not recognized by the app. https://raw.githubusercontent.com/rhijjawi/android-vpn-client-ics-openvpn/master/filedetails.json is this formatted correctly?
Your file is invalid. Remove the whitespace.
whenever I click connect button, this is what it shows, Can you please help me on what to do
Your FileDetails.json is invalid. Remove the whitespaces and replace newlines with \n. It should work.
Also check through your ovpn
file for quotation marks like ("), ('), and (`). These will not allow the activities to parse your JSON property, so remove them from your ovpn
file before pasting it into your FileDetails.json
.
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.buzz.vpn, PID: 22879 java.lang.NumberFormatException: For input string: "NULL" at java.lang.Integer.parseInt(Integer.java:615) at java.lang.Integer.parseInt(Integer.java:650) at com.buzz.vpn.ServerActivity$CategoryArray.getView(ServerActivity.java:446) at android.widget.AbsListView.obtainView(AbsListView.java:2399) at android.widget.ListView.measureHeightOfChildren(ListView.java:1482) at android.widget.ListView.onMeasure(ListView.java:1389) at android.view.View.measure(View.java:23181) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23181) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23181) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at android.view.View.measure(View.java:23181) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1535) at android.widget.LinearLayout.measureVertical(LinearLayout.java:825) at android.widget.LinearLayout.onMeasure(LinearLayout.java:704) at android.view.View.measure(View.java:23181) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6749) at android.widget.FrameLayout.onMeasure(FrameLayout.java:185) at com.android.internal.policy.DecorView.onMeasure(DecorView.java:716) at android.view.View.measure(View.java:23181) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2727) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1580) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1864) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1468) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7208) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1004) at android.view.Choreographer.doCallbacks(Choreographer.java:816) at android.view.Choreographer.doFrame(Choreographer.java:751) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:990) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6694) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)