Java verify error

Hi!
I have just installed the latest SNAP version 9.0 on a Centos machine.
We erased the previous version and installed the new one.
However, running PixEx I get the error attached at the end of the message.
I tried the same xml graph with SNAP 9 on a windows machine and it works fine.
Thank you for your support

java.lang.VerifyError: Stack map does not match the one at exception handler 77
Exception Details:
Location:
com/fasterxml/jackson/databind/deser/std/StdDeserializer._parseDate(Lcom/fasterxml/jackson/core/JsonParser;Lcom/fasterxml/jackson/databind/DeserializationContext;)Ljava/util/Date; @77: astore
Reason:
Type ‘com/fasterxml/jackson/core/JsonParseException’ (current frame, stack[0]) is not assignable to ‘com/fasterxml/jackson/core/exc/StreamReadException’ (stack map, stack[0])
Current Frame:
bci: @69
flags: { }
locals: { ‘com/fasterxml/jackson/databind/deser/std/StdDeserializer’, ‘com/fasterxml/jackson/core/JsonParser’, ‘com/fasterxml/jackson/databind/DeserializationContext’ }
stack: { ‘com/fasterxml/jackson/core/JsonParseException’ }
Stackmap Frame:
bci: @77
flags: { }
locals: { ‘com/fasterxml/jackson/databind/deser/std/StdDeserializer’, ‘com/fasterxml/jackson/core/JsonParser’, ‘com/fasterxml/jackson/databind/DeserializationContext’ }
stack: { ‘com/fasterxml/jackson/core/exc/StreamReadException’ }
Bytecode:
0x0000000: 2bb6 0036 aa00 0000 0000 0081 0000 0003
0x0000010: 0000 000b 0000 007a 0000 0081 0000 0081
0x0000020: 0000 0034 0000 0041 0000 0081 0000 0081
0x0000030: 0000 0081 0000 0071 2a2b b600 13b6 0014
0x0000040: 2cb6 006c b02b b600 4842 a700 223a 052c
0x0000050: 2ab4 0002 2bb6 006f 1270 03bd 0004 b600
0x0000060: 71c0 002e 3a06 1906 b600 4d42 bb00 7259
0x0000070: 21b7 0073 b02a 2cb6 0074 c000 72b0 2a2b
0x0000080: 2cb6 0075 b02c 2ab4 0002 2bb6 0026 c000
0x0000090: 72b0
Exception Handler Table:
bci [69, 74] => handler: 77
bci [69, 74] => handler: 77
Stackmap Table:
same_frame(@56)
same_frame(@69)
same_locals_1_stack_item_frame(@77,Object[#371])
append_frame(@108,Long)
chop_frame(@117,1)
same_frame(@126)
same_frame(@133)

Thanks for you report.
I’ve found a similar error report here:
java.lang.VerifyError with JWT and Jackson · Issue #367 · auth0/java-jwt (github.com)

The reason there is that classes (different version) are located on the classpath two times.
But this is not the case for SNAP.
The jackson classes are only found one time in the project source code and dependencies.

Could you try to use the ‘-noverify’ option.
Actually, the verifier is already disabled by the ‘-Xverify:none’ option, at least for SNAP Desktop.
If you see the error in the GUI then please, try:
Add the ‘-noverify’ option to the snap.conf (etc folder of installation directory) tile in the default_options line
Prepend it with ‘-J’.
So, the start of the line would look like:
default_options="--branding snap --locale en_GB -J-XX:+AggressiveOpts -J-Xverify:none -J-noverify -J-Xms256M

If you see the error when you execute gpt, then please edit the gpt.vmoptions file in the bin folder of the installation directory.
Add a new line with
-Xverify:none
or
-noverify
or both.

Thank you @marpet,
I will try!

Dear @marpet,
the solution you suggested worked for a while. I am in the same trouble again, even if in in snap.conf we still have the -J-Xverify:none -J-noverify set.
Do you know what could cause this conflict?