Skip to content

JSON Import Failure with no license #1628

@terrypacker

Description

@terrypacker

Trying to import a configuration with > 300 data points fails on an uncaught error. The status is reported properly to the UI so this is not high priority but should be fixed:

Exception in thread "high-pool-2-thread-1" java.lang.IndexOutOfBoundsException: Index 2191 out of bounds for length 2191
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:372)
	at java.base/java.util.ArrayList.get(ArrayList.java:458)
	at com.infiniteautomation.mango.emport.ImportTask.runImplAsAdmin(ImportTask.java:233)
	at com.infiniteautomation.mango.spring.service.PermissionService.runAs(PermissionService.java:96)
	at com.infiniteautomation.mango.spring.service.PermissionService.runAsSystemAdmin(PermissionService.java:79)
	at com.infiniteautomation.mango.emport.ImportTask.runImpl(ImportTask.java:192)
	at com.serotonin.m2m2.util.timeout.ProgressiveTask.run(ProgressiveTask.java:72)
	at com.serotonin.timer.Task.runTask(Task.java:179)
	at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23)
	at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:314)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:835)
``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions