[GraphHopper] problem while creating graph(with error log)

Peter graphhopper at gmx.de
Fri Nov 14 22:03:40 UTC 2014


Hi Laura,

you do not just need the graphhopper jar, also some dependencies like
trove4j and loggers are needed. Please follow the docs and using e.g.
maven or graddle should fix this. No need to switch to an old version!

Regards,
Peter

On 14.11.2014 11:31, Laura Barroso wrote:
>
> Here is the complete log:11-14 11:27:10.832: E/dalvikvm(10847): Could
> not find class 'gnu.trove.list.array.TIntArrayList', referenced from
> method com.graphhopper.storage.index.Location2NodesNtree.prepareAlgo
>
> Change the version of graphhoper…now im testing with the version 0.1
> and the maps I grap them from https://graphhopper.com/public/maps/0.1/ .
>
>  
>
> *De:*Laura Barroso [mailto:laura.barroso at hab.desoft.cu]
> *Enviado el:* viernes, 14 de noviembre de 2014 9:30
> *Para:* 'GraphHopper Java routing engine'
> *Asunto:* Re: [GraphHopper] problem while creating graph
>
>  
>
> Yes, I agree… I use the same versión for generating the graphhopper
> folder, however the error persist.
>
>  
>
> *De:*Peter [mailto:graphhopper at gmx.de]
> *Enviado el:* viernes, 14 de noviembre de 2014 14:46
> *Para:* graphhopper at openstreetmap.org
> <mailto:graphhopper at openstreetmap.org>
> *Asunto:* Re: [GraphHopper] problem while creating graph
>
>  
>
> You should use the same version on android as you are using on the
> desktop to create the graphhopper folder.
>
> Also you can look in the logs to find the stacktrace
>
> Peter
>
> On 14.11.2014 08:20, Laura Barroso wrote:
>
>     Actually it doesn’t give me a full trace, it just says that:An
>     error while creating graph:gnu/trove/list/array/TIntArrayList…I’m
>     using the 0.3 version, should I change to the 0.4-SNAPSHOT?
>
>      
>
>     *De:*Peter [mailto:graphhopper at gmx.de]
>     *Enviado el:* viernes, 14 de noviembre de 2014 14:12
>     *Para:* graphhopper at openstreetmap.org
>     <mailto:graphhopper at openstreetmap.org>
>     *Asunto:* Re: [GraphHopper] problem while creating graph
>
>      
>
>     Hi Laura,
>
>     would please provide the full stack trace? Are you using 0.3 or
>     0.4-SNAPSHOT?
>
>     Regards,
>     Peter.
>
>     On 14.11.2014 07:37, Laura Barroso wrote:
>
>         Hi. I'm trying to run the example android application of
>         graphhopper. I have a central-america map and the routes that
>         were generated by the graphhopper.sh file. When the
>         application starts to load the map it throws this error: "An
>         error while creating
>         graph:gnu/trove/list/array/TIntArrayList". You can see the
>         map, but of course you can not select any route...Im using the
>         latest version of graphhopper. How can I fix this? Any help
>         will be appreciated.
>         Thanks in advance.
>
>
>
>
>         _______________________________________________
>
>         GraphHopper mailing list
>
>         GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>
>         https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
>     __________ Informaci󮠤e ESET NOD32 Antivirus, versi󮠤e la base de
>     firmas de virus 10676 (20141105) __________
>
>     ESET NOD32 Antivirus ha comprobado este mensaje.
>
>     http://www.eset.com
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20141114/9575300b/attachment.html>


More information about the GraphHopper mailing list