---
title: "Not able to understand logCat error"  
description: "Not able to understand logCat error"  
author: "Anonymous User"  
published: 2016-01-11  
updated: 2016-01-11  
canonical: https://www.mindstick.com/forum/33854/not-able-to-understand-logcat-error  
category: "android"  
tags: ["android"]  
reading_time: 1 minute  

---

# Not able to understand logCat error

I have checked this [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) many times, but the code crashes with some unhandled [exception](https://www.mindstick.com/articles/1824/objective-c-exception-handling) every time i [add](https://www.mindstick.com/forum/12983/add-address-in-textbox-when-page-is-load-and-if-i-search-address-in-textbox-show-in-map-by-javascript) the [item](https://www.mindstick.com/forum/156564/remove-item-in-an-array-in-javascript) to the cart it [shows](https://yourviews.mindstick.com/view/81380/new-york-violent-shooting-shows-people-are-not-safe-in-night-life) in the logcat. Please help to recognize the my [error](https://yourviews.mindstick.com/view/88527/fixing-quickbooks-error-4120-reinstalling-vs-repairing)

```
 01-11 18:07:02.271: E/Volley(29037): [15630] NetworkDispatcher.run:Unhandled exception java.lang.RuntimeException: Bad URL null
 01-11 18:07:02.271: E/Volley(29037): java.lang.RuntimeException: Bad URL null
 01-11 18:07:02.271: E/Volley(29037):at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:127)
 01-11 18:07:02.271: E/Volley(29037):at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:110)
 01-11 18:07:02.271: E/Volley(29037): Caused by: java.net.MalformedURLException: Protocol not found: null
 01-11 18:07:02.271: E/Volley(29037):at java.net.URL.<init>(URL.java:176)
 01-11 18:07:02.271: E/Volley(29037):at java.net.URL.<init>(URL.java:125)
 01-11 18:07:02.271: E/Volley(29037):at com.android.volley.toolbox.HurlStack.performRequest(HurlStack.java:101)
 01-11 18:07:02.271: E/Volley(29037):at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:93)
 01-11 18:07:02.271: E/Volley(29037):... 1 more
```

## Replies

### Reply by Anonymous User

Your URL is coming as null and you are not handling exception also.\
run:Unhandled exception java.lang.RuntimeException: Bad URL null


---

Original Source: https://www.mindstick.com/forum/33854/not-able-to-understand-logcat-error

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
