JasperReports Version 6.17.0 - Invalid Index Exception

Questions and answers on developing, deploying and using plugins and JavaBeans

JasperReports Version 6.17.0 - Invalid Index Exception

Postby Louis.Winter » Wed Sep 29, 2021 4:05 pm

I just upgraded my JasperReports from version 6.12 to 6.17 and am not getting the following exception when trying to generate a report via my Servoy app running in the developer. My Servoy plugin and Jaspersoft Studio versions are both version 6.17 and I have rebuilt all reports in the studio. Has anybody else run into this or have any suggestions on things to try to resolve this issue? Thanks.

ERROR org.sablo.eventthread.EventDispatcher - Exception in dispatch() jdk.internal.util.jar.InvalidJarIndexError: Invalid index
at jdk.internal.loader.URLClassPath$JarLoader.getResource(Unknown Source) ~[?:?]
at jdk.internal.loader.URLClassPath$JarLoader.getResource(Unknown Source) ~[?:?]
at jdk.internal.loader.URLClassPath$JarLoader.findResource(Unknown Source) ~[?:?]
at jdk.internal.loader.URLClassPath.findResource(Unknown Source) ~[?:?]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:?]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:?]
at java.security.AccessController.doPrivileged(Unknown Source) ~[?:?]
at java.net.URLClassLoader.findResource(Unknown Source) ~[?:?]
at java.lang.ClassLoader.getResource(Unknown Source) ~[?:?]
at java.net.URLClassLoader.getResourceAsStream(Unknown Source) ~[?:?]
at net.sf.jasperreports.engine.design.JRJdtCompiler.getResource(JRJdtCompiler.java:478) ~[?:?]
at net.sf.jasperreports.engine.design.JRJdtCompiler$1.findType(JRJdtCompiler.java:243) ~[?:?]
at net.sf.jasperreports.engine.design.JRJdtCompiler$1.findType(JRJdtCompiler.java:201) ~[?:?]
at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:299) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:276) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.lookup.BlockScope.getBinding(BlockScope.java:505) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.QualifiedNameReference.resolveType(QualifiedNameReference.java:1025) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:696) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.AllocationExpression.resolveType(AllocationExpression.java:422) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:214) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:1066) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.Block.resolve(Block.java:130) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.SwitchStatement.resolve(SwitchStatement.java:713) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:641) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:320) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:551) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1293) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1418) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:666) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:901) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.Compiler.processCompiledUnits(Compiler.java:575) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475) ~[ecj-4.6.3.jar:?]
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:426) ~[ecj-4.6.3.jar:?]
at net.sf.jasperreports.engine.design.JRJdtCompiler.compileUnits(JRJdtCompiler.java:160) ~[?:?]
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:226) ~[?:?]
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:358) ~[?:?]
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:618) ~[?:?]
at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperReport(JasperReportsServer.java:199) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77) ~[servoy_shared_2021.6.0.3683.jar:?]
at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79) ~[servoy_shared_2021.6.0.3683.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
at java.lang.Thread.run(Unknown Source) [?:?]
WARN org.sablo.websocket.WebsocketEndpoint - No session java.io.IOException: No session
at org.sablo.websocket.WebsocketEndpoint.sendText(WebsocketEndpoint.java:564) ~[sablo_2021.6.0.3683.jar:?]
at org.sablo.websocket.WebsocketEndpoint.sendText(WebsocketEndpoint.java:557) ~[sablo_2021.6.0.3683.jar:?]
at org.sablo.websocket.WebsocketEndpoint.sendResponse(WebsocketEndpoint.java:545) ~[sablo_2021.6.0.3683.jar:?]
at org.sablo.websocket.WebsocketEndpoint$5.run(WebsocketEndpoint.java:455) [sablo_2021.6.0.3683.jar:?]
at org.sablo.eventthread.Event$1.run(Event.java:96) [sablo_2021.6.0.3683.jar:?]
at org.sablo.websocket.CurrentWindow.runForWindow(CurrentWindow.java:80) [sablo_2021.6.0.3683.jar:?]
at org.sablo.eventthread.Event.execute(Event.java:86) [sablo_2021.6.0.3683.jar:?]
at org.sablo.eventthread.EventDispatcher.dispatch(EventDispatcher.java:125) [sablo_2021.6.0.3683.jar:?]
at org.sablo.eventthread.EventDispatcher.run(EventDispatcher.java:89) [sablo_2021.6.0.3683.jar:?]
at com.servoy.j2db.server.ngclient.eventthread.NGEventDispatcher.run(NGEventDispatcher.java:57) [servoy_ngclient_2021.6.0.3683.jar:?]
at java.lang.Thread.run(Unknown Source) [?:?]
Louis Winter
Journey Technology Solutions
Sioux Falls, SD USA
Louis.Winter
 
Posts: 23
Joined: Thu Dec 13, 2018 8:10 pm

Re: JasperReports Version 6.17.0 - Invalid Index Exception

Postby steve1376656734 » Mon Oct 11, 2021 1:50 pm

If you haven't already solved this then check out the Servoy Jasper reports repo as there is a new release specifically addressing this issue (6.17.0_1)
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 330
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: JasperReports Version 6.17.0 - Invalid Index Exception

Postby Louis.Winter » Mon Oct 11, 2021 2:50 pm

Yes, I got a notification last week about the patch and installed it. Thanks for checking Steve.
Louis Winter
Journey Technology Solutions
Sioux Falls, SD USA
Louis.Winter
 
Posts: 23
Joined: Thu Dec 13, 2018 8:10 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 2 guests

cron