hello,my android project runs ok in emulator but in some real devices it pops an exception. After searching for the problem I found that the exception thrown while setting image to imageView with remote URL.
$.radioImage.image = 'http://myimage.com';
if i change it with a local image, it runs ok:
$.radioImage.image = '/images/ic_action_play.png'
Here is the logcat:
[DEBUG] : AndroidRuntime: Shutting down VM [WARN] : dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x415aa898) [ERROR] : TiApplication: (main) [13847,15825] Sending event: exception on thread: main msg:java.lang.ClassCastException: android.net.http.HttpResponseCache cannot be cast to org.appcelerator.titanium.util.TiResponseCache; Titanium 3.3.0,2014/07/11 12:36,787cd39 [ERROR] : TiApplication: java.lang.ClassCastException: android.net.http.HttpResponseCache cannot be cast to org.appcelerator.titanium.util.TiResponseCache [ERROR] : TiApplication: at org.appcelerator.titanium.util.TiResponseCache.peek(TiResponseCache.java:187) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.TiUIImageView.setImageInternal(TiUIImageView.java:715) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.TiUIImageView.processProperties(TiUIImageView.java:802) [ERROR] : TiApplication: at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1185) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:500) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:507) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:491) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:469) [ERROR] : TiApplication: at org.appcelerator.titanium.proxy.TiViewProxy.forceCreateView(TiViewProxy.java:437) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.createControls(TiTableViewRowProxyItem.java:247) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:428) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:91) [ERROR] : TiApplication: at ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:237)NOTE: There are more images that i set. It is a tableView and when i click in a row, it opens another tableview which has an imageview and a label in every row. When it tries to set the images to the rows, it throws an exception. It is very weird because the app works ok in EVERY emulator but in ALCATEL onetouch 5050y (android 4.3) and samsung galaxy s2 (android 4.1.2) it throws that.