Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!

locat error msg2

By: cc2k on Oct 10th, 2013  |  syntax: None  |  size: 4.80 KB  |  views: 1  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. 10-10 12:27:06.145: W/System.err(5058): org.json.JSONException: Value {"wines":[{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 0 is a very sweet red wine.","name":"Wine number: 0","barcode":1234567890123,"year":1982,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 1 is a very sweet red wine.","name":"Wine number: 1","barcode":1234568019470,"year":1983,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 2 is a very sweet red wine.","name":"Wine number: 2","barcode":1234568148817,"year":1984,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 3 is a very sweet red wine.","name":"Wine number: 3","barcode":1234568278164,"year":1985,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 4 is a very sweet red wine.","name":"Wine number: 4","barcode":1234568407511,"year":1986,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 5 is a very sweet red wine.","name":"Wine number: 5","barcode":1234568536858,"year":1987,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 6 is a very sweet red wine.","name":"Wine number: 6","barcode":1234568666205,"year":1988,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 7 is a very sweet red wine.","name":"Wine number: 7","barcode":1234568795552,"year":1989,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 8 is a very sweet red wine.","name":"Wine number: 8","barcode":1234568924899,"year":1990,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"},{"biologic":0,"sparkling":1,"color":"Red","description":"This wine number 9 is a very sweet red wine.","name":"Wine number: 9","barcode":1234569054246,"year":1991,"barcodeType":"EAN13","taste":"Sweet","country":"Netherlands"}],"reviewWine":[{"reviewIDWine":1,"dateReviewWine":1340826068189,"wineId":1234567890123,"titleReviewWine":"SWeet red: 0","reviewWine":0},{"reviewIDWine":2,"dateReviewWine":1340813068366,"wineId":1234568019470,"titleReviewWine":"SWeet red: 1","reviewWine":1},{"reviewIDWine":3,"dateReviewWine":1340800068543,"wineId":1234568148817,"titleReviewWine":"SWeet red: 2","reviewWine":2},{"reviewIDWine":4,"dateReviewWine":1340787068720,"wineId":1234568278164,"titleReviewWine":"SWeet red: 3","reviewWine":3},{"reviewIDWine":5,"dateReviewWine":1340774068897,"wineId":1234568407511,"titleReviewWine":"SWeet red: 4","reviewWine":4}]} of type org.json.JSONObject cannot be converted to JSONArray
  2. 10-10 12:27:06.165: W/System.err(5058):         at org.json.JSON.typeMismatch(JSON.java:107)
  3. 10-10 12:27:06.165: W/System.err(5058):         at org.json.JSONArray.<init>(JSONArray.java:91)
  4. 10-10 12:27:06.165: W/System.err(5058):         at org.json.JSONArray.<init>(JSONArray.java:103)
  5. 10-10 12:27:06.165: W/System.err(5058):         at com.moyoweb.winescanner.JSONParser.getJSONArrayWinesFromFile(JSONParser.java:176)
  6. 10-10 12:27:06.165: W/System.err(5058):         at com.moyoweb.winescanner.ListWineView.onCreate(ListWineView.java:58)
  7. 10-10 12:27:06.165: W/System.err(5058):         at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)
  8. 10-10 12:27:06.165: W/System.err(5058):         at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1836)
  9. 10-10 12:27:06.165: W/System.err(5058):         at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1893)
  10. 10-10 12:27:06.165: W/System.err(5058):         at android.app.ActivityThread.access$1500(ActivityThread.java:135)
  11. 10-10 12:27:06.165: W/System.err(5058):         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1054)
  12. 10-10 12:27:06.165: W/System.err(5058):         at android.os.Handler.dispatchMessage(Handler.java:99)
  13. 10-10 12:27:06.165: W/System.err(5058):         at android.os.Looper.loop(Looper.java:150)
  14. 10-10 12:27:06.165: W/System.err(5058):         at android.app.ActivityThread.main(ActivityThread.java:4385)
  15. 10-10 12:27:06.165: W/System.err(5058):         at java.lang.reflect.Method.invokeNative(Native Method)
  16. 10-10 12:27:06.165: W/System.err(5058):         at java.lang.reflect.Method.invoke(Method.java:507)
  17. 10-10 12:27:06.165: W/System.err(5058):         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
  18. 10-10 12:27:06.165: W/System.err(5058):         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
  19. 10-10 12:27:06.165: W/System.err(5058):         at dalvik.system.NativeStart.main(Native Method)
clone this paste RAW Paste Data