Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Import Failure with no license #1628

Open
terrypacker opened this issue Aug 21, 2020 · 0 comments
Open

JSON Import Failure with no license #1628

terrypacker opened this issue Aug 21, 2020 · 0 comments

Comments

@terrypacker
Copy link
Contributor

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)
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant