Install on JasperServer 8.0.0

I am trying to install this tool as a trial to see if I should purchase it. I run jasperserver version 8.0.0

from the install documentation I have a few questions:

For the Java at the beginning is this a scriplet i need to add to my report? Are there any instructions for this?

for step 5c the third portion exportParametersMap is not in applicationContext-remote-services.xml file. What bean do I add this to? I have tried adding it as another util list under util:map id="remoteExportersMap but that did not work

My error when i try to export to aspose docx is:

2024-01-18T08:24:32,043 ERROR RunReportServiceImpl,pool-9-thread-11:1194 - caught Throwable exception: Bad type on operand stack
Exception Details:
  Location:
    com/aspose/words/jasperreports/internal/awjr279.a(Lcom/aspose/words/jasperreports/internal/awjr49;Ljava/lang/StringBuilder;)I @113: invokespecial
  Reason:
    Type 'com/aspose/words/jasperreports/internal/awjr49' (current frame, stack[0]) is not assignable to 'com/aspose/words/jasperreports/internal/awjr279'
  Current Frame:
    bci: @113
    flags: { }
    locals: { 'com/aspose/words/jasperreports/internal/awjr49', 'java/lang/StringBuilder', integer, 'com/aspose/words/jasperreports/internal/awjr302', 'com/aspose/words/jasperreports/internal/awjr5969', 'com/aspose/words/jasperreports/internal/awjr257', 'com/aspose/words/jasperreports/internal/awjr302', top, 'com/aspose/words/jasperreports/internal/awjr49', 'com/aspose/words/jasperreports/internal/awjr302' }
    stack: { 'com/aspose/words/jasperreports/internal/awjr49', 'com/aspose/words/jasperreports/internal/awjr302', integer }
  Bytecode:
    0x0000000: 033d 014e 013a 042a 593a 08b4 005a 3a05
    0x0000010: 1905 c600 9f19 05b6 0075 1015 a000 6a19
    0x0000020: 05c0 0015 3a06 2dc6 0059 1906 1021 b800
    0x0000030: ea3a 0719 04c7 000b 2d10 21b8 00ea 3a04
    0x0000040: 1907 1904 b800 f999 0031 2bb6 0106 9a00
    0x0000050: 0c2b 2db6 00a3 b800 6657 2b19 06b6 00a3
    0x0000060: b800 6657 8402 012a 2d3a 0959 3a08 1909
    0x0000070: 03b7 00e3 57a7 000b 2d2b b800 7a01 3a04
    0x0000080: 1906 4ea7 000d 2d2b b800 7a01 4e01 3a04
    0x0000090: 1905 b600 7510 1ca0 000d 1905 c000 1b2b
    0x00000a0: b800 7b57 1905 593a 08b4 004c 3a05 a7ff
    0x00000b0: 622d 2bb8 007a 1cac                    
  Stackmap Table:
    full_frame(@16,{Object[#45],Object[#63],Integer,Object[#21],Object[#53],Object[#16]},{})
    append_frame(@64,Object[#21],Object[#53])
    chop_frame(@90,1)
    full_frame(@120,{Object[#45],Object[#63],Integer,Object[#21],Top,Object[#16],Object[#21]},{})
    full_frame(@128,{Object[#45],Object[#63],Integer,Top,Object[#53],Object[#16],Object[#21]},{})
    full_frame(@134,{Object[#45],Object[#63],Integer,Object[#21],Top,Object[#16]},{})
    full_frame(@144,{Object[#45],Object[#63],Integer,Object[#21],Object[#53],Object[#16]},{})
    same_frame(@164)
    full_frame(@177,{Top,Object[#63],Integer,Object[#21]},{})
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    com/aspose/words/jasperreports/internal/awjr279.a(Lcom/aspose/words/jasperreports/internal/awjr49;Ljava/lang/StringBuilder;)I @113: invokespecial
  Reason:
    Type 'com/aspose/words/jasperreports/internal/awjr49' (current frame, stack[0]) is not assignable to 'com/aspose/words/jasperreports/internal/awjr279'
  Current Frame:
    bci: @113
    flags: { }
    locals: { 'com/aspose/words/jasperreports/internal/awjr49', 'java/lang/StringBuilder', integer, 'com/aspose/words/jasperreports/internal/awjr302', 'com/aspose/words/jasperreports/internal/awjr5969', 'com/aspose/words/jasperreports/internal/awjr257', 'com/aspose/words/jasperreports/internal/awjr302', top, 'com/aspose/words/jasperreports/internal/awjr49', 'com/aspose/words/jasperreports/internal/awjr302' }
    stack: { 'com/aspose/words/jasperreports/internal/awjr49', 'com/aspose/words/jasperreports/internal/awjr302', integer }
  Bytecode:
    0x0000000: 033d 014e 013a 042a 593a 08b4 005a 3a05
    0x0000010: 1905 c600 9f19 05b6 0075 1015 a000 6a19
    0x0000020: 05c0 0015 3a06 2dc6 0059 1906 1021 b800
    0x0000030: ea3a 0719 04c7 000b 2d10 21b8 00ea 3a04
    0x0000040: 1907 1904 b800 f999 0031 2bb6 0106 9a00
    0x0000050: 0c2b 2db6 00a3 b800 6657 2b19 06b6 00a3
    0x0000060: b800 6657 8402 012a 2d3a 0959 3a08 1909
    0x0000070: 03b7 00e3 57a7 000b 2d2b b800 7a01 3a04
    0x0000080: 1906 4ea7 000d 2d2b b800 7a01 4e01 3a04
    0x0000090: 1905 b600 7510 1ca0 000d 1905 c000 1b2b
    0x00000a0: b800 7b57 1905 593a 08b4 004c 3a05 a7ff
    0x00000b0: 622d 2bb8 007a 1cac                    
  Stackmap Table:
    full_frame(@16,{Object[#45],Object[#63],Integer,Object[#21],Object[#53],Object[#16]},{})
    append_frame(@64,Object[#21],Object[#53])
    chop_frame(@90,1)
    full_frame(@120,{Object[#45],Object[#63],Integer,Object[#21],Top,Object[#16],Object[#21]},{})
    full_frame(@128,{Object[#45],Object[#63],Integer,Top,Object[#53],Object[#16],Object[#21]},{})
    full_frame(@134,{Object[#45],Object[#63],Integer,Object[#21],Top,Object[#16]},{})
    full_frame(@144,{Object[#45],Object[#63],Integer,Object[#21],Object[#53],Object[#16]},{})
    same_frame(@164)
    full_frame(@177,{Top,Object[#63],Integer,Object[#21]},{})

	at com.aspose.words.jasperreports.internal.awjr3355.aDt(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr4263.c(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr4263.a(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr4263.a(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr4263.a(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr4263.lZ(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr6168.YA(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr6417.YA(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr69.b(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr69.a(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr69.c(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr69.<init>(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr69.<init>(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr71.<init>(Unknown Source)
	at com.aspose.words.jasperreports.internal.awjr3248.<init>(Unknown Source)
	at com.aspose.words.jasperreports.AWAbstractExporter.exportReport(Unknown Source)
	at com.aspose.words.jasperreports.ws.AWCoreWSExporter.processReport(Unknown Source)
	at com.aspose.words.jasperreports.remote.AWRtfRemoteExporter.exportReport(Unknown Source)
	at com.jaspersoft.jasperserver.remote.ReportExporter.exportReport(ReportExporter.java:65)
	at com.jaspersoft.jasperserver.remote.services.impl.ReportExecutorImpl.exportReport(ReportExecutorImpl.java:189)
	at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl.generateReportOutput(RunReportServiceImpl.java:1162)
	at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl.executeExport(RunReportServiceImpl.java:615)
	at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl$2.run(RunReportServiceImpl.java:507)
	at com.jaspersoft.jasperserver.api.logging.util.LoggableExecutorService$1.run(LoggableExecutorService.java:84)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

2024-01-18T08:24:32,043 ERROR SecureExceptionHandlerImpl,pool-9-thread-11:125 - There was an error on the server. Try again or contact site administrators. (Error UID: fb48c4cf-417b-43c2-8227-2c6f5347f55f) java.lang.NullPointerException
	at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl.executeExport(RunReportServiceImpl.java:618)
	at com.jaspersoft.jasperserver.remote.services.impl.RunReportServiceImpl$2.run(RunReportServiceImpl.java:507)
	at com.jaspersoft.jasperserver.api.logging.util.LoggableExecutorService$1.run(LoggableExecutorService.java:84)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

I am running open jdk 1.8 and my jasper studio is 6.4. The requirements do say jasperserver 7.1.0 but the jar file includes 8.0.0 so i am unsure if my version is compatible?

please let me know if you require any more info

@anabellepaulson Please see our documentation for installation instructions:
https://docs.aspose.com/words/jasperreports/installation/
Also see Aspose.Words for JasperReports system requirements:
https://docs.aspose.com/words/jasperreports/system-requirements/

so that means only up to 7.1 will work? the jar says up to 8.0.0 so it is confusing

@anabellepaulson

Our installation instruction has obsolete information, we added support to Jasper Server 8.0.0 and you can use aspose.words.jasperreports-24.1.0-7.8.0-8.0.0.jar

I will check and fix all problematic documentation

For
JasperServer
For
JasperReports
Use the following JAR library
7.8.0 … 8.0.0 6.12.0… 6.20.0 aspose.words.jasperreports-24.1.0-7.8.0-8.0.0.jar
7.1.0 … 7.5.0 6.5.0 … 6.11.0 aspose.words.jasperreports-24.1.0-7.1.0-7.5.0.jar
6.4.2 … 6.4.3 6.4.2 … 6.4.21 aspose.words.jasperreports-24.1.0-6.4.2-6.4.3.jar
6.3.0 … 6.4.0 6.3.0 … 6.4.1 aspose.words.jasperreports-24.1.0-6.3.0-6.4.0.jar

@anabellepaulson did you manage to solve this problem? I currently have a very similar error message when running aspose.words.jasperreports 24.7.0 on jasperserver version 8.0.0 I have no idea what could be the cause… I would be grateful for any hint

This is strange, I finally managed to run aspose.words.jasperreports-23.10.0-7.8.0-8.0.0.jar in combination with jasperreports-6.20.0.jar from my java code (and on jasperserver 8.0.0 too). But trying to use any newer version than 23.10.0 ends with the error as in this post. I use openjdk1.8 but I’ve tried newer ones too. Any ideas?

@anabellepaulson
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSJR-377

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

I know that 23.10 version work without problem
And I tried to check changes in 23.11 and fix problem in WORDSJR-367, WORDSJR-371, WORDSJR-375.
All my changes and fixes didn’t work for this task.

In WORDSJR-377 I will test Customer Web project that reproduce this error and tried to find origin of this problem.

Ok. thanks for the information. Additionally I am attaching my stacktrace from version 23.11 (which as I mentioned is very similar) and it appears when the code executes the last instruction:

AWDocxExporter exporter = new AWDocxExporter();
exporter.reset();
exporter.setExporterInput(new SimpleExporterInput(jp));
File exportReportFile = new File( outputFileNameNew ); 
exporter.setExporterOutput(new SimpleOutputStreamExporterOutput(exportReportFile)); 
exporter.exportReport();
 Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
 Exception Details:
   Location:
     com/aspose/words/jasperreports/internal/awjr274.a(Lcom/aspose/words/jasperreports/internal/awjr48;Ljava/lang/StringBuilder;)I @113: invokespecial
   Reason:
     Type 'com/aspose/words/jasperreports/internal/awjr48' (current frame, stack[0]) is not assignable to 'com/aspose/words/jasperreports/internal/awjr274'
   Current Frame:
     bci: @113
     flags: { }
     locals: { 'com/aspose/words/jasperreports/internal/awjr48', 'java/lang/StringBuilder', integer, 'com/aspose/words/jasperreports/internal/awjr295', 'com/aspose/words/jasperreports/internal/awjr6362', 'com/aspose/words/jasperreports/internal/awjr252', 'com/aspose/words/jasperreports/internal/awjr295', top, 'com/aspose/words/jasperreports/internal/awjr48', 'com/aspose/words/jasperreports/internal/awjr295' }
     stack: { 'com/aspose/words/jasperreports/internal/awjr48', 'com/aspose/words/jasperreports/internal/awjr295', integer }
   Bytecode:
     0x0000000: 033d 014e 013a 042a 593a 08b4 005c 3a05
     0x0000010: 1905 c600 9f19 05b6 0076 1015 a000 6a19
     0x0000020: 05c0 0015 3a06 2dc6 0059 1906 1021 b800
     0x0000030: ec3a 0719 04c7 000b 2d10 21b8 00ec 3a04
     0x0000040: 1907 1904 b800 f999 0031 2bb6 0106 9a00
     0x0000050: 0c2b 2db6 00a3 b800 6a57 2b19 06b6 00a3
     0x0000060: b800 6a57 8402 012a 2d3a 0959 3a08 1909
     0x0000070: 03b7 00e1 57a7 000b 2d2b b800 7b01 3a04
     0x0000080: 1906 4ea7 000d 2d2b b800 7b01 4e01 3a04
     0x0000090: 1905 b600 7610 1ca0 000d 1905 c000 1b2b
     0x00000a0: b800 7c57 1905 593a 08b4 004c 3a05 a7ff
     0x00000b0: 622d 2bb8 007b 1cac                    
   Stackmap Table:
     full_frame(@16,{Object[#42],Object[#63],Integer,Object[#21],Object[#52],Object[#17]},{})
     append_frame(@64,Object[#21],Object[#52])
     chop_frame(@90,1)
     full_frame(@120,{Object[#42],Object[#63],Integer,Object[#21],Top,Object[#17],Object[#21]},{})
     full_frame(@128,{Object[#42],Object[#63],Integer,Top,Object[#52],Object[#17],Object[#21]},{})
     full_frame(@134,{Object[#42],Object[#63],Integer,Object[#21],Top,Object[#17]},{})
     full_frame(@144,{Object[#42],Object[#63],Integer,Object[#21],Object[#52],Object[#17]},{})
     same_frame(@164)
     full_frame(@177,{Top,Object[#63],Integer,Object[#21]},{})
 
 	at com.aspose.words.jasperreports.internal.awjr6420.aBw(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr4370.n(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr4370.a(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr4370.a(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr4370.a(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr4370.lV(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr3683.acT(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr5775.acT(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr65.b(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr65.a(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr65.c(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr65.<init>(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr65.<init>(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr67.<init>(Unknown Source)
 	at com.aspose.words.jasperreports.internal.awjr3239.<init>(Unknown Source)
 	at com.aspose.words.jasperreports.AWAbstractExporter.exportReport(Unknown Source)
 	at com.bitsa.jasper_test.Jasper_test.ExportToDOCX_NEW(Jasper_test.java:133)
 	at com.bitsa.jasper_test.Jasper_test.main(Jasper_test.java:61)
 Command execution failed.
 org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
     at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
     at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:1000)
     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:947)
     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:471)
     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
     at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
     at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
     at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
     at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke (Method.java:498)
     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)

@TomiLi Thank you for additional information.