Skip to Content
0
Oct 04, 2019 at 02:14 PM

Redwood - Running reports and send via email

622 Views

Hi Guys,

I was trying to create a job chain that would run a report then send the report.html via email

I tried different input on Relative Process but getting the below error:

-- JOB RUN STACK TRACE --

java.lang.VerifyError: Stack map does not match the one at exception handler 295 Exception Details:

Location:

com/redwood/scheduler/apiint/model/helpers/RelativeJobFinder.locateRelativeStep(Ljava/lang/String;Lcom/redwood/scheduler/apiint/model/JobInt;)Lcom/redwood/scheduler/apiint/model/JobInt; @295: dup

Reason:

Type top (current frame, locals[1]) is not assignable to 'java/lang/String' (stack map, locals[1])

Current Frame:

bci: @284

flags: { }

locals: { 'com/redwood/scheduler/apiint/model/helpers/RelativeJobFinder', top, top, top, 'com/redwood/scheduler/apiint/model/JobInt', top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }

stack: { 'java/lang/Throwable' }

Stackmap Frame:

bci: @295

flags: { }

locals: { 'com/redwood/scheduler/apiint/model/helpers/RelativeJobFinder', 'java/lang/String', 'com/redwood/scheduler/apiint/model/JobInt', top, top, top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }

stack: { 'java/lang/Throwable' }

Bytecode:

0x0000000: 1301 35b8 0128 3a0a 013a 04b8 00fd 4e03

0x0000010: 3605 2cb9 0093 0100 b900 9701 003a 07a7

0x0000020: 0080 1907 b900 9d01 00c0 0088 3a06 1906

0x0000030: b900 ce01 009a 000e 2dc6 0066 a700 07b8

0x0000040: 0100 bf19 06b9 00ba 0100 3a08 1908 c700

0x0000050: 0a04 3605 2dc6 004a 2b19 08b9 00c5 0100

0x0000060: b600 d199 003c a700 07b8 0100 bfb2 00d4

0x0000070: 1906 b900 da01 00b6 00de 9900 21a7 0007

0x0000080: b801 00bf 1904 c600 15a7 0007 b801 00bf

0x0000090: 2dc6 000e a700 07b8 0100 bf19 063a 0419

0x00000a0: 07b9 00ab 0100 9aff 7c19 042d c7ff 80a7

0x00000b0: 0007 b801 00bf c700 6601 3a06 1505 9900

0x00000c0: 21b2 0021 b201 083a 0919 0905 32b9 00df

0x00000d0: 0200 bb00 e459 1909 0532 b700 e63a 062a

0x00000e0: b400 43c6 000e 2ab4 0043 a700 08b8 0100

0x00000f0: bf2b 3a07 bb00 3f59 1906 1907 2ab4 003a

0x0000100: bb00 ae59 b201 0810 0632 b700 b02b b600

0x0000110: c8b6 00b7 b700 453a 0819 08bf 1904 190a

0x0000120: b901 2e01 0000 b059 190a 5fb9 0122 0200

0x0000130: 190a b901 2e01 00bf

Exception Handler Table:

bci [46, 60] => handler: 63

bci [84, 102] => handler: 105

bci [88, 125] => handler: 128

bci [109, 137] => handler: 140

bci [132, 148] => handler: 151

bci [159, 175] => handler: 178

bci [223, 237] => handler: 237

bci [8, 295] => handler: 295

Stackmap Table:

full_frame(@34,{Object[#1],Object[#36],Object[#136],Object[#281],Object[#136],Integer,Top,Object[#158],Top,Top,Object[#298]},{})

same_locals_1_stack_item_frame(@44,Object[#136])

full_frame(@63,{Object[#1],Object[#36],Object[#136],Object[#281],Object[#136],Integer,Object[#136],Object[#158],Top,Top,Object[#298]},{Object[#63]})

same_frame(@67)

full_frame(@88,{Object[#1],Object[#36],Object[#136],Object[#281],Object[#136],Integer,Object[#136],Object[#158],Object[#191],Top,Object[#298]},{})

same_locals_1_stack_item_frame(@105,Object[#63])

same_frame(@109)

same_locals_1_stack_item_frame(@128,Object[#63])

same_frame(@132)

same_locals_1_stack_item_frame(@140,Object[#63])

same_frame(@144)

same_locals_1_stack_item_frame(@151,Object[#63])

same_frame(@155)

full_frame(@159,{Object[#1],Object[#36],Object[#136],Object[#281],Object[#136],Integer,Top,Object[#158],Top,Top,Object[#298]},{})

same_locals_1_stack_item_frame(@178,Object[#63])

same_locals_1_stack_item_frame(@182,Object[#136])

full_frame(@223,{Object[#1],Object[#36],Object[#136],Object[#281],Object[#136],Integer,Object[#228],Object[#158],Top,Top,Object[#298]},{})

same_locals_1_stack_item_frame(@237,Object[#63])

same_frame(@241)

same_locals_1_stack_item_frame(@242,Object[#36])

full_frame(@284,{Object[#1],Top,Top,Top,Object[#136],Top,Top,Top,Top,Top,Object[#298]},{})

full_frame(@295,{Object[#1],Object[#313],Object[#315],Top,Top,Top,Top,Top,Top,Top,Object[#298]},{Object[#317]})

at com.redwood.scheduler.apiint.model.jobfile.JobFileExpression.parseJobFileExpression(JobFileExpression.java:56)

at com.redwood.scheduler.system.jobs.SendMail.sendMessage(SendMail.java:197)

at com.redwood.scheduler.system.jobs.SendMail.execute(SendMail.java:161)

at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:272)

at com.redwood.scheduler.systemjobservice.impl.JobWorker.doWork(JobWorker.java:1)

at com.redwood.scheduler.infrastructure.workqueue.Worker.run(Worker.java:81)

at java.lang.Thread.run(Thread.java:812)

Attachments

29.png (64.9 kB)