question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug in LMApproximator?

See original GitHub issue

This example results in a server error:

java.lang.IllegalStateException: At least one direction of edge (213228906 129526659-130331358) should be accessible but wasn't!
        at com.graphhopper.routing.lm.LMApproximator.<init>(LMApproximator.java:99)
        at com.graphhopper.routing.lm.PrepareLandmarks.getDecoratedAlgorithm(PrepareLandmarks.java:160)
        at com.graphhopper.routing.lm.LMAlgoFactoryDecorator$LMRAFactory.createAlgo(LMAlgoFactoryDecorator.java:263)
        at com.graphhopper.routing.template.ViaRoutingTemplate.calcPaths(ViaRoutingTemplate.java:111)
        at com.graphhopper.GraphHopper.calcPaths(GraphHopper.java:1048)

This route fails for mtb and racingbike but strange enough it works for bike!? (If the opposite I would have a hint what goes on 😉)

Somehow the location index selects an edge which is not allowed being used for graph traversal or something.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
karussellcommented, Apr 7, 2018

I think I wrote this exception because I had this problem once and it was hard to trace back to this place. I don’t think we should write a separate test but we should also not remove it until #831 is fixed.

0reactions
karussellcommented, Sep 10, 2018

Closing in favour of the nicely numbered #1234 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Putting a bug in ML: The moth olfactory network learns to read ...
We seek to (i) characterize the learning architectures exploited in biological neural networks for training on very few samples, ...
Read more >
Performance counter based online pipeline bugs detection ...
Our work proposes an alternative software-based solution of leveraging existing PMCs to detect pipeline bugs using Machine Learning (ML) models.
Read more >
[PDF] Putting a bug in ML: The moth olfactory network learns ...
MothNet, a computational model of the moth olfactory network, is deployed as an automatic feature generator that substantially out-performs ...
Read more >
Automatic Microprocessor Performance Bug Detection - arXiv
Abstract—Processor design validation and debug is a difficult and complex task, which consumes the lion's share of the design process.
Read more >
Ensemble-based Machine Learning in Large Scale Industrial ...
ML -based bug assignment uses supervised learning to classify bug reports to the most relevant developer. IR-based bug assignment on the other hand,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found