Unable to edit POI's (OsmAnd crashes)

248 views
Skip to first unread message

Dave Booth

unread,
Jun 13, 2013, 1:38:49 AM6/13/13
to osm...@googlegroups.com
Using Samsung Galaxy S2 (Ice cream sandwich) & OsmAnd+ 1.4.1 fully updated.
Having ensured I'm logged into OSM account in OsmAnd, I am currently unable to edit/modify any POI on any of my maps (GB England, Cyprus Europe). The application crashes as soon as I choose "modify ...".
Is anyone else able to check this please. I've uninstalled and reinstalled OsmAnd with no effect.
Thanks.

Dave Booth

unread,
Jun 13, 2013, 4:18:22 AM6/13/13
to osm...@googlegroups.com
I had a similar issue...here:
https://groups.google.com/forum/m/#!topic/osmand/VO-rG8-pCQs
This time however, there is no message saying "node not found" etc. Just a crashing of OsmAnd.

Dave Booth

unread,
Jun 13, 2013, 4:32:14 AM6/13/13
to osm...@googlegroups.com
Just tried Offline editing mode....same issue /crashing app.
If the node is not a "single node" I DO get a message to tell me so, without a crash (appropriate message for an un-editable POI).

Harry van der Wolf

unread,
Jun 13, 2013, 8:09:11 AM6/13/13
to osm...@googlegroups.com


2013/6/13 Dave Booth <dr.bo...@gmail.com>

Just tried Offline editing mode....same issue /crashing app.
If the node is not a "single node" I DO get a message to tell me so, without a crash (appropriate message for an un-editable POI).


Confirmed.
It also crashes on my phone.
Alcatel 993D, Android 4.0.4, Osmand+ 1.4.1 beta.

I sent an exception.log. See relevant part below.

Please file a bug ticket.

Harry



Version  OsmAnd+ 1.4.1 beta
13.06.2013 2:00:03
Apk Version : 1.4.1 beta 143
Exception occured in thread Thread[main,5,main] :
android.os.NetworkOnMainThreadException
    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1099)
    at java.net.InetAddress.lookupHostByName(InetAddress.java:391)
    at java.net.InetAddress.getAllByNameImpl(InetAddress.java:242)
    at java.net.InetAddress.getAllByName(InetAddress.java:220)
    at libcore.net.http.HttpConnection.<init>(HttpConnection.java:71)
    at libcore.net.http.HttpConnection.<init>(HttpConnection.java:50)
    at libcore.net.http.HttpConnection$Address.connect(HttpConnection.java:351)
    at libcore.net.http.HttpConnectionPool.get(HttpConnectionPool.java:86)
    at libcore.net.http.HttpConnection.connect(HttpConnection.java:128)
    at libcore.net.http.HttpEngine.openSocketConnection(HttpEngine.java:308)
    at libcore.net.http.HttpEngine.connect(HttpEngine.java:303)
    at libcore.net.http.HttpEngine.sendSocketRequest(HttpEngine.java:282)
    at libcore.net.http.HttpEngine.sendRequest(HttpEngine.java:232)
    at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:80)
    at net.osmand.plus.osmedit.OpenstreetmapRemoteUtil.sendRequest(OpenstreetmapRemoteUtil.java:113)
    at net.osmand.plus.osmedit.OpenstreetmapRemoteUtil.loadNode(OpenstreetmapRemoteUtil.java:327)
    at net.osmand.plus.osmedit.EditingPOIActivity.showEditDialog(EditingPOIActivity.java:108)
    at net.osmand.plus.osmedit.OsmEditingPlugin$2.onContextMenuClick(OsmEditingPlugin.java:132)
    at net.osmand.plus.activities.MapActivityActions$16.onClick(MapActivityActions.java:780)
    at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:931)
    at android.widget.AdapterView.performItemClick(AdapterView.java:292)
    at android.widget.AbsListView.performItemClick(AbsListView.java:1058)
    at android.widget.AbsListView$PerformClick.run(AbsListView.java:2514)
    at android.widget.AbsListView.onTouchEvent(AbsListView.java:3180)
    at android.view.View.dispatchTouchEvent(View.java:5541)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1951)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1712)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
    at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)
    at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1912)
    at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1371)
    at android.app.Dialog.dispatchTouchEvent(Dialog.java:738)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1860)
    at android.view.View.dispatchPointerEvent(View.java:5721)
    at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2890)
    at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2466)
    at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:845)
    at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2475)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4471)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)
    at dalvik.system.NativeStart.main(Native Method)
Message has been deleted
Message has been deleted

Dave Booth

unread,
Jun 14, 2013, 5:59:56 AM6/14/13
to osm...@googlegroups.com
Thanks harry,
For some reason, my last 2 posts got deleted??
Appreciate the confirmation....I'm posting a bug report now.
Cheers,
Dave.

Dave Booth

unread,
Jun 14, 2013, 6:15:13 AM6/14/13
to osm...@googlegroups.com

Max

unread,
Jun 14, 2013, 6:57:54 AM6/14/13
to osm...@googlegroups.com

For some reason, my last 2 posts got deleted??

I had the same problem a few weeks ago and asked Victor.
Google detects some posts wrongly as spam and automatically deletes them.

By the way, I don't have problems to edit POIs with older Android (2.3.x) versions.

Regards,
Max

Dave Booth

unread,
Jun 14, 2013, 8:10:37 AM6/14/13
to osm...@googlegroups.com
Thanks for the info Max.

Dave Booth

unread,
Jun 15, 2013, 5:26:38 AM6/15/13
to osm...@googlegroups.com
Just wondering if anyone else on android 4.0.3 ICS has been able to confirm this issue?

Caterpillar Cat

unread,
Jun 15, 2013, 6:11:15 AM6/15/13
to osm...@googlegroups.com
I confirm on Android 4.2.2 on HTC Desire HD

Dave Booth

unread,
Jun 15, 2013, 8:45:53 AM6/15/13
to osm...@googlegroups.com
Thanks for confirming the issue Caterpillar Cat.

Dave Booth

unread,
Jun 16, 2013, 10:45:42 AM6/16/13
to osm...@googlegroups.com
Just to follow up ....I'm able to create a new poi, without a problem. It just seems to be on requesting an edit of an existing poi.
Anyone any thoughts?
Cheers.

Victor Shcherb

unread,
Jun 16, 2013, 1:52:25 PM6/16/13
to osmand
This is release bug, with nightly builds it is not reproducible because the validation rules are not so strict. 
This is type of validation depends on device actually, but it needs to be fixed.

Regards,
Victor



--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Dave Booth

unread,
Jun 16, 2013, 2:56:51 PM6/16/13
to osm...@googlegroups.com
Thanks for that Victor. I'll wait patiently for the next release, and hopefully a fix :-)

Dave Booth

unread,
Jun 29, 2013, 5:13:31 AM6/29/13
to osm...@googlegroups.com
As the issue has been found....I do still have to await a new release version, correct? Any rough idea when this might be, Victor? It's not urgent in my mind, by any means...just wondering :-)

Dave Booth

unread,
Jul 29, 2013, 11:19:43 AM7/29/13
to osm...@googlegroups.com
Unfortunately, even after the recent update to 1.5.1 beta, I still have the same problem.
On attempting to Modify POI (any POI), OsmAnd crashes.
The issue relates to bug report 1938. This is currently closed, but I'll attempt to upload the exception log there.

Onkar Shinde

unread,
Jul 29, 2013, 4:43:44 PM7/29/13
to osm...@googlegroups.com
I believe this is related to maps. Time and again I have found that if I download the county specific maps from England (ex. Wiltshire) editing POI causes crash. But whole England map does not have this problem.

Dave Booth

unread,
Jul 30, 2013, 1:23:54 AM7/30/13
to osm...@googlegroups.com
Hi Onkar,
Unfortunately I only have country maps. No local County maps.They're up to date too.
Hopefully there's a clue in the exception log I posted.

Victor Shcherb

unread,
Jul 30, 2013, 3:26:02 PM7/30/13
to osmand
We know that bug, and we are going to fix it ASAP. It is on googlecode issues.

Victor


Dave Booth

unread,
Jul 30, 2013, 3:49:00 PM7/30/13
to osm...@googlegroups.com
Thanks Victor.
I've seen you've reopened issue 1938 (& combined 2041).
Much appreciated.
Dave.

Dave Booth

unread,
Aug 5, 2013, 2:33:44 AM8/5/13
to osm...@googlegroups.com
Release 1.5.2 working brilliantly, when editing POI.
Many thanks Victor & team.
Reply all
Reply to author
Forward
0 new messages