Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. JSONArray.<init>() has thrown a JSONException
    JSON in Java
    52
    43
    1
  2. JSONArray.<init>() has thrown a JSONException
    JSON in Java
    52
    44
    1

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.json.JSONException: Value {"message":"No Results found!","status":"false"} of type org.json.JSONObject cannot be converted to JSONArray
1 matching frame hidden
    at org.json.JSONArray.<init>(JSONArray.java:96)
    at org.json.JSONArray.<init>(JSONArray.java:108)

External results for this pattern (10)

  1. Value {"Response":"Success","Message":"Coin list succesfully returned! This api is moving to https:\/\/min-api.cryptocompare.com\/data\/all\/coinlist, please change the path.","BaseImageUrl":"https:\/\/www.cryptocompare.com",...**(its really big)**
    Show stack trace
  2. Farshid PCvia Stack Overflow4 months ago
    Value <html><body><script of type java.lang.String cannot be converted to JSONArray
    Show stack trace
  3. Value {"sub":"system","created":1525944986850,"exp":1526001986,"user":{"userId":"5af2e4f4dae7bb353ac9d9d2","userFirstName":"Sastra","userMiddleName":"Test","userLastName":"Creations","userAccountType":null,"userOrganizationName":null,"userEmail":"sastratestmail@gmail.com","userPhone":"9841987654","username":"system","userGender":"male","userAddress":null,"userPassword":null,"userRole":null,"userStatus":null,"userCreatedBy":null,"userDateCreated":null,"userDateLong":null,"userModifiedBy":null,"userDateModified":null,"userIsDisabled":null,"userTrackers":null,"userFeatures":null,"userCode":null,"token":null}} of type org.json.JSONObject cannot be converted to JSONArray
    Show stack trace
  4. Value {"message":"No Results found!","status":"false"} of type org.json.JSONObject cannot be converted to JSONArray
    Show stack trace
  5. Value <html><body><script of type java.lang.String cannot be converted to JSONArray
    Show stack trace
  6. Value <br of type java.lang.String cannot be converted to JSONArray
    Show stack trace
  7. prabuvia Stack Overflow4 months ago
    Value Login of type java.lang.String cannot be converted to JSONArray
    Show stack trace
  8. Chienvia Stack Overflow4 months ago
    Value of type java.lang.String cannot be converted to JSONArray
    Show stack trace
  9. Value {"status":"ok","totalResults":10,"articles":[{"source":{"id":"google-news","name":"Google News"},"author":"https:\/\/www.facebook.com\/bbcnews","title":"Private search for MH370 formally ends","description":"The Malaysia Airlines plane with 239 people disappeared while flying to Beijing from Kuala Lumpur.","url":"http:\/\/www.bbc.com\/news\/world-asia-44285241","urlToImage":"https:\/\/ichef.bbci.co.uk\/news\/1024\/branded_news\/E54A\/production\/_101789685_mediaitem101789684.jpg","publishedAt":"2018-05-29T05:17:22+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":"Analysis by Stephen Collinson, CNN","title":"Trump whips up immigration storm over children","description":"For President Donald Trump, every crisis in America's immigration system is an opportunity.","url":"https:\/\/www.cnn.com\/2018\/05\/29\/politics\/donald-trump-immigration-separated-children\/index.html","urlToImage":"https:\/\/cdn.cnn.com\/cnnnext\/dam\/assets\/180523143703-02-trump-immigration-rountable-05-23-2018-super-tease.jpg","publishedAt":"2018-05-29T05:02:57+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":null,"title":"The Rockets' heartbreaking failure to launch","description":"Houston's stars thrived, Clint Capela emerged and all the pieces fell into place. But in the end, the Warriors and an untimely CP3 injury proved too much to overcome.","url":"http:\/\/www.espn.com\/nba\/story\/_\/id\/23634056\/the-houston-rockets-heartbreaking-failure-launch-nba","urlToImage":"http:\/\/a2.espncdn.com\/combiner\/i?img=%2Fphoto%2F2018%2F0528%2Fr377007_1296x729_16%2D9.jpg","publishedAt":"2018-05-29T04:44:35+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":"Vivian Salama","title":"White House Halts New North Korea Sanctions in Mad Dash to Save Summit","description":"The U.S. decided to defer launching a major new sanctions push against North Korea, part of a flurry of weekend moves by both sides aimed at reviving a summit between President Trump and North Korea’s Kim Jong Un.","url":"https:\/\/www.wsj.com\/articles\/nations-race-to-save-korea-summit-1527547115","urlToImage":"https:\/\/images.wsj.net\/im-12257\/social","publishedAt":"2018-05-29T03:44:58+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":"https:\/\/www.nytimes.com\/by\/matt-stevens","title":"TV Journalists Covering Storm Are Killed When Tree Crushes S.U.V. in North Carolina","description":"The news anchor and photojournalist for WYFF News 4 in Greenville, S.C., had been reporting on the effects of Subtropical Storm Alberto.","url":"https:\/\/www.nytimes.com\/2018\/05\/28\/us\/tv-news-crew-killed-falling-tree.html","urlToImage":"https:\/\/static01.nyt.com\/images\/2018\/05\/29\/us\/29WYFF\/29WYFF-facebookJumbo.jpg","publishedAt":"2018-05-29T03:13:51+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":"Erik Ortiz, Tim Stelloh, Associated Press, Mary Murray, Matthew Vann","title":"Two journalists killed as Alberto makes landfall on Florida Panhandle","description":"Two journalists for NBC affiliate WYFF of Greenville, South Carolina, were killed when a tree fell on their car in North Carolina after Alberto made landfall.","url":"https:\/\/www.nbcnews.com\/news\/us-news\/storm-alberto-nearing-landfall-along-florida-panhandle-threatens-heavy-rains-n878021","urlToImage":"https:\/\/media3.s-nbcnews.com\/j\/newscms\/2018_22\/2446921\/180528-storm-alberto-florida-1059a-rs_356711a28e00435f2979771b572648ba.1200;630;7;70;5.JPG","publishedAt":"2018-05-29T02:32:29+00:00"},{"source":{"id":"google-news","name":"Google News"},"author":"Laurel Wamsley","title":"On Memorial Day, Trump Honors Fallen Soldiers; Draws Criticism Over Tweet","description":"\"They fought and bled and died so that America would forever remain safe and strong and free,\" Trump said at Arlington cemetery. Earlier, he drew criticism online for praise some found self-serving.","url":"https:\/\/www.npr.org\/sections\/thetwo-way\/2018\/05\/28\/614993465\/on-memorial-day-trump-honors-fal
    Show stack trace