Skip to content

ERROR: Bad local variable in chainNet_old #32

@Melclic

Description

@Melclic

I came across the following error when trying to use the workflow:

Java version 17.0.10-tem
Netxtflow version 25.10.0

 N E X T F L O W   ~  version 25.10.0

Launching `main.nf` [distraught_joliot] DSL2 - revision: c33b45d1d6

ERROR ~ Bad local variable type
Exception Details:
  Location:
    Script_f0312806d5f12cbc$_runScript_closure7$_closure48.doCall(Ljava/lang/Object;)Ljava/lang/Object; @163: aload_2
  Reason:
    Type top (current frame, locals[2]) is not assignable to reference type
  Current Frame:
    bci: @163
    flags: { }
    locals: { 'Script_f0312806d5f12cbc$_runScript_closure7$_closure48', 'java/lang/Object' }
    stack: { uninitialized 149, uninitialized 149, '[Ljava/lang/Object;', '[Ljava/lang/Object;', integer, 'java/lang/Class' }
  Bytecode:
    0000000: b800 1f2a ba00 2d00 00ba 0032 0000 1234
    0000010: ba00 3a00 00ba 0040 0000 9a00 0704 a700
    0000020: 0403 b800 1f2a ba00 2d00 00ba 0032 0000
    0000030: 1242 ba00 3a00 00ba 0040 0000 9a00 0704
    0000040: a700 0403 ba00 4700 00b8 001f 2aba 002d
    0000050: 0000 ba00 3200 0012 49ba 003a 0000 ba00
    0000060: 4000 009a 0007 04a7 0004 03ba 004c 0000
    0000070: ba00 4000 0099 0020 2aba 002d 0000 ba00
    0000080: 4f00 00ba 0040 0000 9900 0812 51a7 0005
    0000090: 1253 4d2c 57bb 0055 5910 07bd 0057 5903
    00000a0: b800 1f2c ba00 5c00 0053 5904 b800 1f2a
    00000b0: ba00 5f00 00ba 005c 0000 5359 05b8 001f
    00000c0: 2aba 0062 0000 ba00 5c00 0053 5906 b800
    00000d0: 1f2c ba00 5c00 0053 5907 b800 1f2a ba00
    00000e0: 5f00 00ba 005c 0000 5359 08b8 001f 2aba
    00000f0: 0062 0000 ba00 5c00 0053 5910 06b8 001f
    0000100: 2aba 0065 0000 ba00 5c00 0053 1008 bd00
    0000110: 6759 0312 6953 5904 126b 5359 0512 6d53
    0000120: 5906 126f 5359 0712 7153 5908 126d 5359
    0000130: 1006 1273 5359 1007 1275 53b7 0078 b0  
  Stackmap Table:
    same_frame(@33)
    same_locals_1_stack_item_frame(@34,Integer)
    same_locals_1_stack_item_frame(@67,Integer)
    full_frame(@68,{Object[#2],Object[#87]},{Integer,Integer})
    same_locals_1_stack_item_frame(@106,Object[#87])
    full_frame(@107,{Object[#2],Object[#87]},{Object[#87],Integer})
    same_frame(@144)
    same_locals_1_stack_item_frame(@146,Object[#103])
    same_frame(@149)


 -- Check script 'modules/processes/postprocess/main.nf' at line: 172 or see '.nextflow.log' file for more details

It seems like the chainNet_old process is written in a way that is incompatible with this version of nextflow. Removing that process solved the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions