{ "id": "171211", "key": "AC-5630", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-03-04T22:38:55.000+0000", "created": "2018-02-28T10:00:53.000+0000", "labels": [ "7.0.2.GA", "ANDROID" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-15T22:26:31.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When autorotate parameter is true in an ImageView, the the application terminates and the following message appears:\r\n\r\n\r\n\r\n\r\n[ERROR] : TiApplication: (main) [1718,1960] Sending event: exception on thread: main msg:android.os.NetworkOnMainThreadException; Titanium 7.0.2,2018/02/09 10:59,undefined\r\n\r\n[ERROR] : TiApplication: android.os.NetworkOnMainThreadException\r\n\r\n[ERROR] : TiApplication: \tat android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1303)\r\n\r\n[ERROR] : TiApplication: \tat java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:86)\r\n\r\n[ERROR] : TiApplication: \tat java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)\r\n\r\n[ERROR] : TiApplication: \tat java.net.InetAddress.getAllByName(InetAddress.java:752)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:187)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:156)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:98)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:345)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:328)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:246)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:457)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:405)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:243)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)\r\n\r\n[ERROR] : TiApplication: \tat com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java)\r\n\r\n[ERROR] : TiApplication: \tat java.net.URL.openStream(URL.java:1057)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiFileHelper.handleNetworkURL(TiFileHelper.java:245)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiFileHelper.handleMessage(TiFileHelper.java:783)\r\n\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:98)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.common.TiMessenger.sendMessage(TiMessenger.java:323)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:289)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:191)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.util.TiFileHelper.openInputStream(TiFileHelper.java:182)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiDrawableReference.getInputStream(TiDrawableReference.java:892)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiDrawableReference.getOrientation(TiDrawableReference.java:983)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.TiUIImageView.processProperties(TiUIImageView.java:822)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:1237)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:528)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:519)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:491)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.proxy.TiViewProxy.forceCreateView(TiViewProxy.java:459)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.createControls(TiTableViewRowProxyItem.java:242)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:423)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableViewRowProxyItem.setRowData(TiTableViewRowProxyItem.java:86)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableView$TTVListAdapter.getView(TiTableView.java:254)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.AbsListView.obtainView(AbsListView.java:2363)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.ListView.makeAndAddView(ListView.java:1970)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.ListView.fillDown(ListView.java:704)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.ListView.fillFromTop(ListView.java:765)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.ListView.layoutChildren(ListView.java:1716)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.AbsListView.onLayout(AbsListView.java:2162)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:610)\r\n\r\n[ERROR] : TiApplication: \tat ti.modules.titanium.ui.widget.tableview.TiTableView.onLayout(TiTableView.java:650)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:862)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.support.v4.view.ViewPager.onLayout(ViewPager.java:1767)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat org.appcelerator.titanium.view.TiCompositeLayout.onLayout(TiCompositeLayout.java:862)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.onLayout(FrameLayout.java:261)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:443)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.onLayout(FrameLayout.java:261)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.LinearLayout.onLayout(LinearLayout.java:1494)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)\r\n\r\n[ERROR] : TiApplication: \tat android.widget.FrameLayout.onLayout(FrameLayout.java:261)\r\n\r\n[ERROR] : TiApplication: \tat com.android.internal.policy.DecorView.onLayout(DecorView.java:726)\r\n\r\n[ERROR] : TiApplication: \tat android.view.View.layout(View.java:17637)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewGroup.layout(ViewGroup.java:5575)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2346)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2068)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)\r\n\r\n[ERROR] : TiApplication: \tat android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337)\r\n\r\n[ERROR] : TiApplication: \tat android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)\r\n\r\n[ERROR] : TiApplication: \tat android.view.Choreographer.doCallbacks(Choreographer.java:686)\r\n\r\n[ERROR] : TiApplication: \tat android.view.Choreographer.doFrame(Choreographer.java:621)\r\n\r\n[ERROR] : TiApplication: \tat android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)\r\n\r\n[ERROR] : TiApplication: \tat android.os.Handler.handleCallback(Handler.java:751)\r\n\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:95)\r\n\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:154)\r\n\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:6119)\r\n\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Native Method)\r\n\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)\r\n\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)\r\n\r\n[INFO] : art: Do partial code cache collection, code=123KB, data=109KB\r\n\r\n[INFO] : art: After code cache collection, code=122KB, data=108KB\r\n\r\n[INFO] : art: Increasing code cache capacity to 512KB\r\n\r\n[WARN] : TiVerify: (Timer-0) [3044,5004] Verifying module licenses...\r\n\r\n[INFO] : TiVerify: (Timer-0) [1098,6102] Succesfully verified module licenses", "attachment": [], "flagged": false, "summary": "Android: Autorotate parameter causes crash", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "435028", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a full reproducible test code for the issue. A sample project is even batter. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-02-28T21:44:47.000+0000", "updated": "2018-02-28T21:44:47.000+0000" }, { "id": "435161", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "\r\nHello [~andreas.pingas],
Just passing a followup here.Are you able to get that sorted out? If not, please provide a full sample testcode that regenerates the issue. Better to provide a sample app as an attachment here. We will test the issue in our environment. Also, provide the SDK and CLI version you are testing on.\r\nRegards\r\n
Axway Appcelerator Support", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-03-04T11:15:15.000+0000", "updated": "2018-03-04T11:15:15.000+0000" }, { "id": "443664", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-15T22:26:31.000+0000", "updated": "2018-11-15T22:26:31.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }