Page 1 of 1
[closed] Startup error
Posted: Mon Jun 20, 2011 8:54 am
by Plebian
I've been using this app for sometime now, with no problems but recently when starting the app I am confronted by several errors as follows:
Call: loadFolderMaps
In: AqAqmHeaderLoader
Throws: java.lang.NumberFormatException
Message:
Call: loadFolderMaps
In: AqAqmHeaderLoader
Throws: psyberia.api.packer.reader.CurruptedPackException
Message:
After this the app seems to work as normal, but whenever I try to record a route it is not saved. I see the file in the correct directory, but it has no GPS points logged in it.
I've uninstalled the app, then reinstalled it and this solves the problem and there are no errors at all. However, when I copy my old routes and maps into the appropriate directories the problems reoccur.
I've not changed any of the default file location settings.
Any help would be appreciated.
Ta.
Re: Startup error
Posted: Mon Jun 20, 2011 4:28 pm
by Psyberia-Support
Hi and thanks for posting here.
First, concerning the errors at startup, it seems that you have an AQM file (or more) which have not been correctly copied on your SD card and are corrupted. The new version is much more verbose concerning errors.
You can have a look or send to me the "alpinequest.log" file (in the AlpineQuest folder on SD card) to get more information about the corrupted files.
Then, concerning you second point, I don't think that's linked.
If you created a GPX Route, you have to manually add locations.
If you want to track you path, then you need to use the GPS Tracker in the Geolocation window that will automatically record your locations. After stopping the tracker, you can export the locations as a GPX Track file and browse it using the Landmarks Explorer.
Let me know about all that,
Best regards
Re: Startup error
Posted: Mon Jun 20, 2011 7:34 pm
by Wanderer
Thanks for your help.
As regards the error messages, I've attached the log below. Any help is much appreciated.
I am the original poster, but didn't have a login on the board when I posted it, hence the username change.
Cheers!
LOG:
Welcome
Current date is 2011-06-20
[09:47:08.017] AlpineQuestControler: call to 'onCreate'
[09:47:08.073] AlpineQuestControler: call to 'onResume'
[09:47:08.074] AlpineQuestControler: exception for keyguard mode: 'java.lang.NullPointerException'
[09:47:08.126] AlpineQuestControler: call to 'onLoad'
[09:47:08.213] AqSettingsManager: retrieving application folders...
[09:47:08.217] AqSettingsManager: detected external storage is '/mnt/sdcard'
[09:47:08.220] AqSettingsManager: used external storage is '/sdcard//'
[09:47:08.221] AqSettingsManager: application folder is '/sdcard//alpinequest/'
[09:47:08.282] PsyLogsInstance: log folder has been set to '/sdcard//alpinequest/alpinequest.log'
[09:47:08.283] PsyLogsInstance: nb logs in buffer: 8
[09:47:09.677] AqAqmHeaderLoader: loading maps from folder '/sdcard/alpinequest/maps'
[09:47:09.680] AqAqmHeaderLoader: file found: 'Littlebro.AQM'
[09:47:09.683] ***EXCEPTION*** function 'loadFolderMaps', class 'AqAqmHeaderLoader', throws 'java.lang.NumberFormatException' ()
java.lang.NumberFormatException:
at java.lang.Long.parseLong(Long.java:347)
at java.lang.Long.parseLong(Long.java:320)
at psyberia.api.packer.reader.PsyFlatPackStructureReader.readOffset(PsyFlatPackStructureReader.java:129)
at psyberia.api.packer.reader.PsyFlatPackStructureReader.<init>(PsyFlatPackStructureReader.java:73)
at psyberia.api.maps.aqm.header.AqmHeaderLoaderFactory.loadMapInfo(AqmHeaderLoaderFactory.java:30)
at psyberia.api.maps.aqm.header.AqmHeaderLoaderFactory.loadMapInfo(AqmHeaderLoaderFactory.java:24)
at psyberia.alpinequest.mods.maps.providers.aqm.loader.AqAqmHeaderLoader.loadFolderMaps(AqAqmHeaderLoader.java:71)
at psyberia.alpinequest.mods.maps.providers.aqm.AqAqmMapsProvider._loadMaps(AqAqmMapsProvider.java:296)
at psyberia.alpinequest.mods.maps.providers.aqm.AqAqmMapsProvider.onListPlaceChanging(AqAqmMapsProvider.java:178)
at psyberia.alpinequest.core.toolkit.explorer._AqExplorerEvents.firePlaceChanging(_AqExplorerEvents.java:36)
at psyberia.alpinequest.core.toolkit.explorer.AqExplorerManager.selectPlace(AqExplorerManager.java:53)
at psyberia.alpinequest.core.toolkit.explorer.AqExplorerManager.onRestoreListPlace(AqExplorerManager.java:147)
at psyberia.alpinequest.mods.maps.AlpineQuestMapsControler._restoreSettings(AlpineQuestMapsControler.java:107)
at psyberia.alpinequest.mods.maps.AlpineQuestMapsControler.register(AlpineQuestMapsControler.java:87)
at psyberia.alpinequest.core.model.managers.modules.AqModulesManager.buildMods(AqModulesManager.java:57)
at psyberia.alpinequest.core.AlpineQuestControler.onLoad(AlpineQuestControler.java:122)
at psyberia.alpinequest.core.loader.AlpineQuestLoaderControler$1.run(AlpineQuestLoaderControler.java:109)
[09:47:09.692] AqAqmHeaderLoader: file found: 'Lake District.AQM'
[09:47:09.803] AqAqmHeaderLoader: file found: 'Angelsea.AQM'
[09:47:09.862] AqAqmHeaderLoader: file found: 'Yorkshire Dales.AQM'
[09:47:09.936] AqAqmHeaderLoader: file found: 'Snowdon Area.AQM'
[09:47:09.966] AqAqmHeaderLoader: file found: 'Peak District.AQM'
[09:47:10.023] AqAqmHeaderLoader: file found: 'Main Peak.AQM'
[09:47:10.025] ***EXCEPTION*** function 'loadFolderMaps', class 'AqAqmHeaderLoader', throws 'psyberia.api.packer.reader.CorruptedPackException' (null)
psyberia.api.packer.reader.CorruptedPackException
at psyberia.api.packer.reader.PsyFlatPackStructureReader.readString(PsyFlatPackStructureReader.java:146)
at psyberia.api.packer.reader.PsyFlatPackStructureReader.readOffset(PsyFlatPackStructureReader.java:129)
at psyberia.api.packer.reader.PsyFlatPackStructureReader.<init>(PsyFlatPackStructureReader.java:73)
at psyberia.api.maps.aqm.header.AqmHeaderLoaderFactory.loadMapInfo(AqmHeaderLoaderFactory.java:30)
at psyberia.api.maps.aqm.header.AqmHeaderLoaderFactory.loadMapInfo(AqmHeaderLoaderFactory.java:24)
at psyberia.alpinequest.mods.maps.providers.aqm.loader.AqAqmHeaderLoader.loadFolderMaps(AqAqmHeaderLoader.java:71)
at psyberia.alpinequest.mods.maps.providers.aqm.AqAqmMapsProvider._loadMaps(AqAqmMapsProvider.java:296)
at psyberia.alpinequest.mods.maps.providers.aqm.AqAqmMapsProvider.onListPlaceChanging(AqAqmMapsProvider.java:178)
at psyberia.alpinequest.core.toolkit.explorer._AqExplorerEvents.firePlaceChanging(_AqExplorerEvents.java:36)
at psyberia.alpinequest.core.toolkit.explorer.AqExplorerManager.selectPlace(AqExplorerManager.java:53)
at psyberia.alpinequest.core.toolkit.explorer.AqExplorerManager.onRestoreListPlace(AqExplorerManager.java:147)
at psyberia.alpinequest.mods.maps.AlpineQuestMapsControler._restoreSettings(AlpineQuestMapsControler.java:107)
at psyberia.alpinequest.mods.maps.AlpineQuestMapsControler.register(AlpineQuestMapsControler.java:87)
at psyberia.alpinequest.core.model.managers.modules.AqModulesManager.buildMods(AqModulesManager.java:57)
at psyberia.alpinequest.core.AlpineQuestControler.onLoad(AlpineQuestControler.java:122)
at psyberia.alpinequest.core.loader.AlpineQuestLoaderControler$1.run(AlpineQuestLoaderControler.java:109)
[09:47:10.046] AqAqmHeaderLoader: 5 map(s) loaded
[09:47:10.047] AqQctHeaderLoader: loading maps from folder '/sdcard/alpinequest/maps'
[09:47:10.050] AqQctHeaderLoader: skipping file 'Littlebro.AQM'
[09:47:10.054] AqQctHeaderLoader: skipping file 'Lake District.AQM'
[09:47:10.055] AqQctHeaderLoader: skipping file 'Angelsea.AQM'
[09:47:10.057] AqQctHeaderLoader: skipping file 'Yorkshire Dales.AQM'
[09:47:10.059] AqQctHeaderLoader: skipping file 'Snowdon Area.AQM'
[09:47:10.062] AqQctHeaderLoader: skipping file 'Peak District.AQM'
[09:47:10.064] AqQctHeaderLoader: skipping file 'Main Peak.AQM'
[09:47:10.066] AqQctHeaderLoader: 0 map(s) loaded
[09:47:10.488] AqTrackerHandlerControler: entering function 'initialize'
[09:47:10.488] AqTrackerHandlerModel: entering function 'initialize'
[09:47:10.489] AqTrackerHandlerModel: entering function '_retrieveTrackerServiceState'
[09:47:10.495] AqTrackerHandlerModel: tracker service is not started
[09:47:10.496] AqTrackerHandlerModel: entering function '_loadTrackerDataFromFile'
[09:47:10.498] AqTrackerHandlerModel: there no tracker data
[09:47:10.552] AqGeolocationService: entering function 'checkHardware'
[09:47:10.556] AqGeolocationServiceProviders: entering function 'retrieveProviders'
[09:47:10.567] AqGeolocationService: old provider 'null' no more available, switching to default one
[09:47:10.927] AqGeolocationService: starting listening to provider 'gps' (minTime: 20, minDist: 6, threshold: 19.5072)
[09:47:18.550] AlpineQuestControler: call to 'onPause'
[09:47:18.623] AqGeolocationService: stop listening to provider 'gps'
Re: Startup error
Posted: Mon Jun 20, 2011 8:31 pm
by Psyberia-Support
Thanks for the the post.
The 2 maps that are corrupted seems to be "/sdcard/alpinequest/maps/Littlebro.AQM" and "/sdcard/alpinequest/maps/Main Peak.AQM".
Try to remove them from your SD card (you should not be able to see them in AlpineQuest's maps explorer anyway) and copy them again from your computer if they are still on it.
But, whatever you do this with these maps, this will not change the behavior of the application. This is just a message about corrupted maps found on the SD card. Maybe in cases like that, just a small warning should be displayed...
Best regards
Re: Startup error
Posted: Mon Jun 20, 2011 9:11 pm
by Wanderer
I replaced the two maps with copies I had and it has resolved the problem.
Thanks so much for your help. It's a great app (well worth paying for) and this help has been great too.
Cheers.
Re: Startup error
Posted: Tue Jun 21, 2011 12:44 pm
by Psyberia-Support
You're welcome!