Michael IZKOOL
09/27/2022, 7:33 PMjava.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.Unsafe$UnsafeClassDefiner.define(Unsafe.java:337)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.Unsafe.defineAnonymousClass(Unsafe.java:285)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.loadClass(BytecodeAssembler.java:418)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.newInstance(BytecodeAssembler.java:434)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:1679)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:245)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:205)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:201)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatUtils.<clinit>(TimestampFormatUtils.java:407)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.assertFormatAndParse(PartitionByTest.java:374)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.testDirectoryFormattingWeek(PartitionByTest.java:194)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
...
Caused by: java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
io/questdb/std/datetime/TimestampFormatAsm.parse(Ljava/lang/CharSequence;IILio/questdb/std/datetime/DateLocale;)J @420: invokestatic
Reason:
Type 'io/questdb/std/datetime/DateLocale' (current frame, stack[0]) is not assignable to integer
Current Frame:
bci: @420
flags: { }
locals: { 'io/questdb/std/datetime/TimestampFormatAsm', 'java/lang/CharSequence', integer, integer, 'io/questdb/std/datetime/DateLocale', integer, integer, integer, integer, integer, integer, integer, integer, long, long_2nd, integer, long, long_2nd, integer, integer, integer }
stack: { 'io/questdb/std/datetime/DateLocale', integer, integer, integer, integer, integer, integer, integer, integer, integer, integer, long, long_2nd, integer }
Bytecode:
0000000: 0336 0b1c 360c 0236 0f14 0011 3710 0536
0000010: 1204 3613 0336 1419 042b 150c 1db6 001a
0000020: 370d 150c 160d b800 3f60 360c 102c 2b15
0000030: 0c84 0c01 1db8 0057 1020 2b15 0c84 0c01
0000040: 1db8 0057 2b15 0c1d b800 3837 0d16 0db8
0000050: 0042 3605 150c 160d b800 3f60 360c 1020
0000060: 2b15 0c84 0c01 1db8 0057 1904 2b15 0c1d
0000070: b600 1d37 0d16 0db8 0042 0460 3606 150c
0000080: 160d b800 3f60 360c 1020 2b15 0c84 0c01
0000090: 1db8 0057 150c 1da2 002b 2b15 0cb9 00ca
00000a0: 0200 102d a000 1e15 0c07 601d b800 4c2b
00000b0: 150c 0460 840c 0515 0cb8 0046 7436 07a7
00000c0: 0018 150c 0660 1db8 004c 2b15 0c84 0c04
00000d0: 150c b800 4636 0710 202b 150c 840c 011d
00000e0: b800 5715 0c04 601d b800 4c2b 150c 840c
00000f0: 0215 0cb8 0046 3608 103a 2b15 0c84 0c01
0000100: 1db8 0057 150c 0460 1db8 004c 2b15 0c84
0000110: 0c02 150c b800 4636 0910 3a2b 150c 840c
0000120: 011d b800 5715 0c04 601d b800 4c2b 150c
0000130: 840c 0215 0cb8 0046 360a 1020 2b15 0c84
0000140: 0c01 1db8 0057 2b15 0c1d b800 8d37 0d16
0000150: 0d14 0011 949a 0018 1904 2b15 0c1d b600
0000160: 2037 0d16 0db8 0042 360f a700 1016 0db8
0000170: 0042 0085 1400 1369 3710 150c 160d b800
0000180: 3f60 360c 150c 1db8 004f 1904 1513 1507
0000190: 1506 1505 1508 1509 150a 150b 1514 150f
00001a0: 1610 1512 b800 5bad
Stackmap Table:
full_frame(@194,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Top,Top,Top,Top,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
full_frame(@215,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Integer,Top,Top,Top,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
full_frame(@365,{Object[#9],Object[#16],Integer,Integer,Object[#14],Integer,Integer,Integer,Integer,Integer,Integer,Integer,Integer,Long,Integer,Long,Integer,Integer,Integer},{})
same_frame(@378)
at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass0(Native Method)
at java.base/jdk.internal.misc.Unsafe.defineAnonymousClass(Unsafe.java:1223)
at jdk.unsupported/sun.misc.Unsafe.defineAnonymousClass(Unsafe.java:830)
... 43 more
java.lang.AssertionError
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.BytecodeAssembler.newInstance(BytecodeAssembler.java:435)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:1679)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:245)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:205)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatCompiler.compile(TimestampFormatCompiler.java:201)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.std.datetime.microtime.TimestampFormatUtils.<clinit>(TimestampFormatUtils.java:407)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.assertFormatAndParse(PartitionByTest.java:374)
at io.questdb@6.5.3-SNAPSHOT/io.questdb.cairo.PartitionByTest.testDirectoryFormattingWeek(PartitionByTest.java:194)
...
Wondering if we missed any steps required to add a parameter to this method?Vlad
09/28/2022, 10:05 AMshort
has to be usedMichael IZKOOL
09/28/2022, 12:42 PMVlad
09/30/2022, 10:50 AMMichael IZKOOL
09/30/2022, 12:49 PMVlad
09/30/2022, 3:11 PMMichael IZKOOL
09/30/2022, 3:39 PMVlad
09/30/2022, 3:43 PMMichael IZKOOL
09/30/2022, 4:15 PM