Author Topic: Crash when importing .gpx Tracks - Stacktrace attached  (Read 3238 times)

Offline daubor

  • More than Newbie
  • *
  • Posts: 14
    • View Profile
Crash when importing .gpx Tracks - Stacktrace attached
« on: March 09, 2011, 19:51:19 »
Hi,

i'm new to Locus, just installed 0.9.27 today.
When importing a .gpx file, Locus suddenly crashes.
I've tried it with different tracks from gpsies.de; bug is reproducable.

<entry key="STACK_TRACE_KEY">java.util.FormatFlagsConversionMismatchException: Mismatched Convertor =s, Flags=  
   at java.util.Formatter$FormatToken.ensureOnlyMinus(Formatter.java:1300)
   at java.util.Formatter$Transformer.transformFromString(Formatter.java:1517)
   at java.util.Formatter$Transformer.transform(Formatter.java:1395)
   at java.util.Formatter.doFormat(Formatter.java:1082)
   at java.util.Formatter.format(Formatter.java:994)
   at java.lang.String.format(String.java:2254)
   at android.content.res.Resources.getString(Resources.java:283)
   at android.content.Context.getString(Context.java:195)
   at menion.android.settings.Loc.get(Loc.java:17)
   at menion.android.gui.FileBrowser.browseTo(FileBrowser.java:249)
   at menion.android.gui.FileBrowser.onItemClick(FileBrowser.java:104)
   at android.widget.AdapterView.performItemClick(AdapterView.java:284)
   at android.widget.ListView.performItemClick(ListView.java:3382)
   at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)
   at android.os.Looper.loop(Looper.java:144)
   at android.app.ActivityThread.main(ActivityThread.java:4937)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
   at dalvik.system.NativeStart.main(Native Method)
</entry>
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 836 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #1 on: March 09, 2011, 19:56:31 »
Hi,
  fine stacktracke is nice but it don't tell me much. If you have this problem with every try, best is to attach your track file or send it to my email!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline Hubm

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #2 on: March 10, 2011, 15:23:37 »
I have the same problem with official Geocaching.com GPX files. I'm using a Desire with 2.3.3. Maybe it's platform related? Is Locus tested with 2.3 emulator?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 836 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #3 on: March 10, 2011, 16:00:06 »
same issue as here

viewtopic.php?f=10&t=297

wait for fix or change language if you really need this functionality now ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download
 

Offline daubor

  • More than Newbie
  • *
  • Posts: 14
    • View Profile
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #4 on: March 10, 2011, 18:18:38 »
Thx! Workaround works fine!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline daffne666

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #5 on: March 11, 2011, 11:40:38 »
Hi, can't find it inside the settings, so my questions is: where can I change the language?

Same problem with the import of tracks (gpx and kml) here. I have attached a kml-file.

Here is my crashlog:

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>crash-1299837710583.err</comment>
<entry key="ID_KEY">FROYO</entry>
<entry key="PACKAGE_NAME_KEY">menion.android.locus</entry>
<entry key="STACK_TRACE_KEY">java.util.FormatFlagsConversionMismatchException: Mismatched Convertor =s, Flags=  
at java.util.Formatter$FormatToken.ensureOnlyMinus(Formatter.java:1300)
at java.util.Formatter$Transformer.transformFromString(Formatter.java:1517)
at java.util.Formatter$Transformer.transform(Formatter.java:1395)
at java.util.Formatter.doFormat(Formatter.java:1082)
at java.util.Formatter.format(Formatter.java:994)
at java.lang.String.format(String.java:2254)
at android.content.res.Resources.getString(Resources.java:283)
at android.content.Context.getString(Context.java:195)
at menion.android.settings.Loc.get(Loc.java:17)
at menion.android.gui.FileBrowser.browseTo(FileBrowser.java:249)
at menion.android.gui.FileBrowser.onItemClick(FileBrowser.java:104)
at android.widget.AdapterView.performItemClick(AdapterView.java:284)
at android.widget.ListView.performItemClick(ListView.java:3672)
at android.widget.AbsListView$PerformClick.run(AbsListView.java:1812)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
</entry>
<entry key="CUSTOM_DATA_KEY"></entry>
<entry key="TYPE_KEY">user</entry>
<entry key="FINGERPRINT_KEY">samsung/GT-I9000/GT-I9000/GT-I9000:2.2/FROYO/XXJPO:user/release-keys</entry>
<entry key="FILE_PATH_KEY">/data/data/menion.android.locus/files</entry>
<entry key="TIME_KEY">1295618530000</entry>
<entry key="VERSION_NAME_KEY">0.9.27</entry>
<entry key="USER_KEY">root</entry>
<entry key="TOTAL_MEM_SIZE_KEY">2011086848</entry>
<entry key="ANDROID_VERSION_KEY">2.2.1</entry>
<entry key="PHONE_MODEL_KEY">GT-I9000</entry>
<entry key="DISPLAY_KEY">Darky&apos;s v9.3</entry>
<entry key="MODEL_KEY">GT-I9000</entry>
<entry key="BOARD_KEY">GT-I9000</entry>
<entry key="DEVICE_KEY">GT-I9000</entry>
<entry key="PRODUCT_KEY">GT-I9000</entry>
<entry key="BRAND_KEY">samsung</entry>
<entry key="AVAILABLE_MEM_SIZE_KEY">1726578688</entry>
<entry key="HOST_KEY">DELL105</entry>
<entry key="TAGS_KEY">release-keys</entry>
</properties>
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12603
  • Thanked: 836 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 5, A12
Re: Crash when importing .gpx Tracks - Stacktrace attached
« Reply #6 on: March 11, 2011, 11:42:30 »
in app lang cannot be changed, you ahve to use another app like "more locale". Anyway version here on forum works fine, so use this if you need some import/export features or wait for market release with fix
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download