i am getting this below error if i use my custom pbf file with hgv profile.
| 01 Jun 17:26:51 INFO [ors.Application] - Starting Application v6.7.0 on 32c8b702c86f with PID 138 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
ors-app | 01 Jun 17:26:51 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
ors-app | 01 Jun 17:26:51 INFO [ors.Application] - No active profile set, falling back to default profiles: default
ors-app | SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.
ors-app | SLF4J: Defaulting to no-operation (NOP) logger implementation
ors-app | SLF4J: See SLF4J Error Codes for further details.
ors-app | 01 Jun 17:26:54 INFO [ors.Application] - Started Application in 4.227 seconds (JVM running for 11.069)
ors-app | 01 Jun 17:26:54 INFO [logging.LoggingUtility] - Logging configuration loaded from DEBUG_LOGGING.json, logging to file /var/log/ors/ors-logs.log
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfileManager] - Total - 1.00 GB, Free - 663.61 MB, Max: 2 GB, Used - 362.39 MB
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfileManager] -
ors-app | 01-Jun-2022 17:26:54.822 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/usr/local/tomcat/webapps/ors.war] has finished in [10,104] ms
ors-app | 01-Jun-2022 17:26:54.824 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT]
ors-app | 01-Jun-2022 17:26:54.843 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/ROOT] has finished in [19] ms
ors-app | 01-Jun-2022 17:26:54.844 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/docs]
ors-app | 01-Jun-2022 17:26:54.860 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/docs] has finished in [16] ms
ors-app | 01-Jun-2022 17:26:54.860 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/host-manager]
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from ‘data/osm_file.pbf’ (1 threads) …
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfileManager] -
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfileManager] -
ors-app | 01-Jun-2022 17:26:54.887 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/host-manager] has finished in [27] ms
ors-app | 01-Jun-2022 17:26:54.888 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/manager]
ors-app | 01 Jun 17:26:54 INFO [routing.RoutingProfile] - [1] Profiles: ‘driving-hgv’, location: ‘data/graphs/hgv’.
ors-app | 01-Jun-2022 17:26:54.906 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/manager] has finished in [18] ms
ors-app | 01-Jun-2022 17:26:54.907 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/examples]
ors-app | 01-Jun-2022 17:26:55.086 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/examples] has finished in [179] ms
ors-app | 01-Jun-2022 17:26:55.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
ors-app | 01-Jun-2022 17:26:55.100 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 10449 ms
ors-app | 01 Jun 17:28:40 WARN [extensions.ORSOSMReader] - Index 1048576 out of bounds for length 1048576. Way id = 363083979
ors-app | 01 Jun 17:29:01 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
ors-app | 01 Jun 17:29:01 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
ors-app | java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
ors-app | at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
ors-app | at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:178) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:72) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:42) ~[classes/:6.7.0]
ors-app | at java.lang.Thread.run(Thread.java:829) [?:?]
ors-app | Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
ors-app | at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.prepare(CoreAlgoFactoryDecorator.java:314) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.prepareCore(ORSGraphHopper.java:787) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.postProcessing(ORSGraphHopper.java:690) ~[classes/:6.7.0]
ors-app | at com.graphhopper.GraphHopper.process(GraphHopper.java:703) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:680) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:169) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:182) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfile.(RoutingProfile.java:126) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.7.0]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
ors-app | … 1 more
ors-app | Caused by: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
ors-app | at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.prepare(CoreAlgoFactoryDecorator.java:310) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.prepareCore(ORSGraphHopper.java:787) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.postProcessing(ORSGraphHopper.java:690) ~[classes/:6.7.0]
ors-app | at com.graphhopper.GraphHopper.process(GraphHopper.java:703) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:680) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.ORSGraphHopper.importOrLoad(ORSGraphHopper.java:169) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfile.initGraphHopper(RoutingProfile.java:182) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfile.(RoutingProfile.java:126) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:35) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.RoutingProfileLoader.call(RoutingProfileLoader.java:21) ~[classes/:6.7.0]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
ors-app | … 1 more
ors-app | Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1048576 out of bounds for length 1048576
ors-app | at com.graphhopper.util.BitUtilLittle.toShort(BitUtilLittle.java:32) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at com.graphhopper.storage.RAMDataAccess.getShort(RAMDataAccess.java:225) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.storages.HeavyVehicleAttributesGraphStorage.hasEdgeRestriction(HeavyVehicleAttributesGraphStorage.java:163) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.edgefilters.core.HeavyVehicleCoreEdgeFilter.accept(HeavyVehicleCoreEdgeFilter.java:33) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.edgefilters.EdgeFilterSequence.accept(EdgeFilterSequence.java:29) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.core.PrepareCore.prepareNodes(PrepareCore.java:190) ~[classes/:6.7.0]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.core.PrepareCore.doSpecificWork(PrepareCore.java:175) ~[classes/:6.7.0]
ors-app | at com.graphhopper.routing.util.AbstractAlgoPreparation.doWork(AbstractAlgoPreparation.java:30) ~[graphhopper-core-v0.13.21.jar:?]
ors-app | at org.heigit.ors.routing.graphhopper.extensions.core.CoreAlgoFactoryDecorator.lambda$prepare$0(CoreAlgoFactoryDecorator.java:300) ~[classes/:6.7.0]
ors-app | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
ors-app | at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
ors-app | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
ors-app | … 1 more
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - ====> Recycling garbage…
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - Before: Total - 1.52 GB, Free - 1.31 GB, Max: 2 GB, Used - 217.96 MB
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - After: Total - 1024 MB, Free - 874.15 MB, Max: 2 GB, Used - 149.86 MB
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - ========================================================================
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - Total: 0 B (0.0%)
ors-app | 01 Jun 17:29:01 INFO [routing.RoutingProfileManager] - ========================================================================
Please help me in this.