java.lang.RuntimeException: Uncompilable source code - incompatible types *****End: Network Analysis***** required: double found: oracle.spatial.network.lod.UserData

Oracle Community | 744977 | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Partitioning of the Network for using LOD API

    Oracle Community | 7 years ago | 744977
    java.lang.RuntimeException: Uncompilable source code - incompatible types *****End: Network Analysis***** required: double found: oracle.spatial.network.lod.UserData

    Root Cause Analysis

    1. java.lang.RuntimeException

      Uncompilable source code - incompatible types *****End: Network Analysis***** required: double found: oracle.spatial.network.lod.UserData

      at calcolopercorsolod.provaSP$MinutesCalculator.getLinkCost()
    2. calcolopercorsolod
      provaSP$MinutesCalculator.getLinkCost
      1. calcolopercorsolod.provaSP$MinutesCalculator.getLinkCost(provaSP.java:205)
      1 frame
    3. oracle.spatial.network
      NetworkAnalyst.shortestPathDijkstra
      1. oracle.spatial.network.lod.LabelSettingAlgorithm.relax(LabelSettingAlgorithm.java:682)
      2. oracle.spatial.network.lod.LabelSettingAlgorithm.expand(LabelSettingAlgorithm.java:595)
      3. oracle.spatial.network.lod.LabelSettingAlgorithm.shortestPath(LabelSettingAlgorithm.java:1362)
      4. oracle.spatial.network.lod.NetworkAnalyst.shortestPathHierarchical(NetworkAnalyst.java:2444)
      5. oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2291)
      6. oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2268)
      7. oracle.spatial.network.lod.NetworkAnalyst.shortestPathDijkstra(NetworkAnalyst.java:2209)
      7 frames
    4. calcolopercorsolod
      provaSP.main
      1. calcolopercorsolod.provaSP.testShortestPath(provaSP.java:106)
      2. calcolopercorsolod.provaSP.main(provaSP.java:181)
      2 frames