Skip to Content

Redwood - Running reports and send via email

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)

29.png (64.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Oct 18, 2019 at 09:42 PM

    The issue is solved. It was found that the Introscope Method Tracer was preventing job chains from running in redwood. Once the Introscope agent was disabled, the problem was resolved. Please disable the SAP Introscope Agents on the BPA systems, then restart the Java stack.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 04, 2019 at 05:51 PM

    Syntax for relative process is correct, did you try with *.* for File?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2019 at 12:40 PM

    Hi Philip

    I think you have a space after the step name before the comma.

    try:

    Step 1, Job 1

    Regards Gerben

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 07, 2019 at 05:02 PM

    What does this mean?

    -- JOB RUN STACK TRACE -- java.lang.VerifyError: Stack map does not match the one at exception handler 295

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 09, 2019 at 06:57 AM

    Hi Philip,

    There can be 2 possible issues.

    1. Wily Introscope version mismatch between SolMan & Redwood/Java

    If your underlying Java system is connected to Solution Manager system then please make sure Introscope & ByteCodeAdapter version in Redwood/Java system is same as of one in SolMan.

    If it is same and still it didn't work, please try updating the versions of both.

    2. Parameter related to Wily Introscope in Java System.

    Try adding below parameter in Redwood/Java system via 'ConfigTool'.

    -Dcom.wily.introscope.probebuilder.widenJumpOffsetThreshold=32767

    Not to mention - you have to take a restart of system for this parameter to take effect

    SAP Note 2542663 talks about this issue

    Hopefully this should resolve your issue.

    Regards,

    Palaniappan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.