by 최정훈 [Oracle 에러코드] [2022.03.30 16:55:05]
상황은 하나의 톰캣에 두개의 프로젝트를 돌리는데 밑에 에러가 나네요.
첫번째 프로젝트를 먼저 접속하면 첫번째는 괜찮고 두번째가 에러
두번째 프로젝트를 먼저 접속하면 두번째는 괜찮고 첫번째가 에러...
PreparedStatement 생성시 뜨는데.. 이유를 모르겠습니다.
오라클은 19c버전입니다. 자바는 11.0.3버전이구요
java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
oracle/jdbc/driver/OraclePreparedStatement.setNullCritical(IILjava/lang/String;)V @175: invokevirtual
Reason:
Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'oracle/jdbc/oracore/OracleTypeADT'
Current Frame:
bci: @175
flags: { }
locals: { 'oracle/jdbc/driver/OraclePreparedStatement', integer, integer, 'java/lang/String', 'java/lang/Object', 'oracle/jdbc/driver/Binder' }
stack: { 'java/lang/Object' }
Bytecode:
0000000: 013a 042a b402 4e3a 051c aa00 0000 0073
0000010: 0000 07d2 0000 07d9 0000 0034 0000 0048
0000020: 0000 0073 0000 0073 0000 002e 0000 005c
0000030: 0000 0034 0000 005c 2ab4 0256 3a05 2d2a
0000040: b402 edb8 05d7 3a06 1906 b605 db3a 04a7
0000050: 002e 2d2a b402 edb8 05e0 3a06 1906 b605
0000060: e43a 04a7 001a 2d2a b402 edb8 05e9 3a06
0000070: 1906 b605 edc0 0359 3a04 a700 032a b403
0000080: 2f1b 1905 532a b403 8cc7 0013 2a2a b403
0000090: 012a b403 0ac5 03af 02b5 038c 2ab4 038c
00000a0: 2ab4 03b8 321b 0153 1904 c600 0919 04b6
00000b0: 05f1 572a b403 8fc7 0013 2a2a b403 012a
00000c0: b403 0ac5 03b0 02b5 038f 2ab4 038f 2ab4
00000d0: 03b8 321b 1904 532a b403 311b 1905 b403
00000e0: ea4f 2ab4 0335 1b03 4fb1
Stackmap Table:
append_frame(@56,Null,Object[#765])
same_frame(@62)
same_frame(@82)
same_frame(@102)
full_frame(@125,{Object[#2],Integer,Integer,Object[#763],Object[#927],Object[#765]},{})
same_frame(@156)
same_frame(@179)
same_frame(@202)
두 프로젝트에서 공통으로 사용하는 라이브러리 가운데 서로 다른 버전을 사용하는 것이 있다면 버전을 맞춰보시고 확인해보시겠어요?
프로젝트를 카피해서 만든거라 라이브러리는 같네요... war배포에 문제일까요..
먼가 검색해도 답이 안나와 답답하네요 ㅠ