Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6003747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:09:55+00:00 2026-05-23T01:09:55+00:00

My intention is to read a raw resource and convert it to Java code

  • 0

My intention is to read a raw resource and convert it to Java code using JSON. The class and external libraries that do this are stored in a different project. When I run my app I get this error in the log cat:

06-08 13:51:34.680: WARN/dalvikvm(563): Unable to resolve superclass of 
Lnet/sf/json/JSONException; (297)
06-08 13:51:34.680: WARN/dalvikvm(563): Link of class 'Lnet/sf/json/JSONException;' failed
06-08 13:51:34.690: WARN/dalvikvm(563): VFY: unable to resolve exception class 186 (Lnet/sf/json/JSONException;)
06-08 13:51:34.690: WARN/dalvikvm(563): VFY: unable to find exception handler at addr 0x2e
06-08 13:51:34.690: WARN/dalvikvm(563): VFY:  rejected Lnet/sf/json/JSONSerializer;.toJSON (Ljava/lang/Object;Lnet/sf/json/JsonConfig;)Lnet/sf/json/JSON;
06-08 13:51:34.700: WARN/dalvikvm(563): VFY:  rejecting opcode 0x0d at 0x002e
06-08 13:51:34.700: WARN/dalvikvm(563): VFY:  rejected Lnet/sf/json/JSONSerializer;.toJSON (Ljava/lang/Object;Lnet/sf/json/JsonConfig;)Lnet/sf/json/JSON;
06-08 13:51:34.700: WARN/dalvikvm(563): Verifier rejected class Lnet/sf/json/JSONSerializer;
06-08 13:51:34.710: DEBUG/AndroidRuntime(563): Shutting down VM
06-08 13:51:34.710: WARN/dalvikvm(563): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
06-08 13:51:34.730: ERROR/AndroidRuntime(563): FATAL EXCEPTION: main
06-08 13:51:34.730: ERROR/AndroidRuntime(563): java.lang.VerifyError: net.sf.json.JSONSerializer
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at fliphouse.JSONUtils.setup(JSONUtils.java:67)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at ie.fliphouse.luas.LuasUtils.readJSON(LuasUtils.java:130)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at ie.fliphouse.luas.ZoneList.onCreate(ZoneList.java:51)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.ActivityThread.access$2300(ActivityThread.java:125)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.os.Handler.dispatchMessage(Handler.java:99)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.os.Looper.loop(Looper.java:123)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at android.app.ActivityThread.main(ActivityThread.java:4627)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at java.lang.reflect.Method.invokeNative(Native Method)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at java.lang.reflect.Method.invoke(Method.java:521)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
06-08 13:51:34.730: ERROR/AndroidRuntime(563):     at dalvik.system.NativeStart.main(Native Method)
06-08 13:51:34.740: WARN/ActivityManager(59):   Force finishing activity ie.fliphouse.luas/.ZoneList

I can tell that the error is arising from the creation of a JSONArray. I have come across this error already on stackoverflow but there was no clear way of how resolve this. Can anyone recommend to me a way to solve this problem. Help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:09:56+00:00Added an answer on May 23, 2026 at 1:09 am

    You are adding the net.sf.json library that seems to have a unresolved dependency. Try to use the Android SDK JSON implementaton instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the code section from inno setup.My intention is to make two Checkbox
When I read about nesting an interface inside of a class, the intention appears
I have a class that is wrapping a stream, with the intention of that
My intention is to read every elements in the 2nd column into a buffer[]
I have no intention of using My for anything in any of my projects.
In the following snippet my intention is to convert a System.Object (which could be
In Python, when running shutil.rmtree over a folder that contains a read-only file, the
import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicInteger; public class Main implements Runnable { private final CountDownLatch cdl1
I've read a few posts about backing up Subversion (on Windows) in particular this
My intention in this question is not to be pedantic, but rather to explore

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.