Hi,
Your problem is "Type 'com/orientechnologies/common/profiler/OProfilerStub'
(current frame, stack[1]) is not assignable to
'com/orientechnologies/common/profiler/OProfiler'" which means that  you
use jars from different distributions of database.

On Wed, Sep 30, 2015 at 2:32 PM Gurpreet Singh <[email protected]> wrote:

> Hi,
>
> i am getting below errors while loading connection in j2ee + tomcat6 +
> spring.
> can anyone help me on this..?
>
>
>
> 2015-09-30 16:45:25 DEBUG CommonAnnotationBeanPostProcessor:303 - Invoking
> init method on bean 'DBFactory': public void
> com.hola.persistence.core.DBFactory.loadDB()
>
> java.lang.VerifyError: Bad type on operand stack
>
> Exception Details:
>
>   Location:
>
>
> com/orientechnologies/orient/core/Orient.startup()Lcom/orientechnologies/orient/core/Orient;
> @78: putfield
>
>   Reason:
>
>     Type 'com/orientechnologies/common/profiler/OProfilerStub' (current
> frame, stack[1]) is not assignable to
> 'com/orientechnologies/common/profiler/OProfiler'
>
>   Current Frame:
>
>     bci: @78
>
>     flags: { }
>
>     locals: { 'com/orientechnologies/orient/core/Orient' }
>
>     stack: { 'com/orientechnologies/orient/core/Orient',
> 'com/orientechnologies/common/profiler/OProfilerStub' }
>
>   Bytecode:
>
>     0000000: 2ab4 0015 b900 3801 00b9 0039 0100 2ab4
>
>     0000010: 0024 9900 152a 4c2a b400 15b9 0038 0100
>
>     0000020: b900 3a01 002b b02a 123b b800 2cb6 003c
>
>     0000030: b500 3d2a b400 3ec7 000f 2abb 003f 5904
>
>     0000040: b700 40b5 003e 2abb 0041 59b7 0042 b500
>
>     0000050: 432a bb00 4459 b700 45b5 0046 2ab4 0047
>
>     0000060: c700 152a bb00 4859 b700 49b5 0047 2ab4
>
>     0000070: 0047 b600 4ab8 004b b600 4c3c 2abb 004d
>
>     0000080: 591b 1b06 6814 004e b200 50bb 0051 592a
>
>     0000090: 1b11 01f4 68b7 0052 b700 53b5 0054 2abb
>
>     00000a0: 0055 59b7 0056 b600 572a bb00 5859 b700
>
>     00000b0: 59b6 0057 2a12 5ab7 005b b200 5cb6 005d
>
>     00000c0: 9900 09b2 005e b800 5f2a 04b5 0024 2ab4
>
>     00000d0: 001e b900 6001 004d 2cb9 0061 0100 9900
>
>     00000e0: 2e2c b900 6201 00c0 0063 4e2d c600 092d
>
>     00000f0: b900 6401 00a7 0014 3a04 b800 662a 1267
>
>     0000100: 1904 03bd 0068 b600 69a7 ffcf 2ab7 006a
>
>     0000110: 2ab4 001f b900 6001 004d 2cb9 0061 0100
>
>     0000120: 9900 3d2c b900 6201 00c0 006b 4e2d c600
>
>     0000130: 182d b600 6cc0 0063 3a04 1904 c600 0a19
>
>     0000140: 04b9 0064 0100 a700 143a 04b8 0066 2a12
>
>     0000150: 6719 0403 bd00 68b6 0069 a7ff c02a b400
>
>     0000160: 15b9 0038 0100 b900 3a01 00a7 0016 3a05
>
>     0000170: 2ab4 0015 b900 3801 00b9 003a 0100 1905
>
>     0000180: bf2a b0
>
>   Exception Handler Table:
>
>     bci [235, 245] => handler: 248
>
>     bci [301, 326] => handler: 329
>
>     bci [14, 23] => handler: 366
>
>     bci [39, 349] => handler: 366
>
>     bci [366, 368] => handler: 366
>
>   Stackmap Table:
>
>     same_frame(@39)
>
>     same_frame(@70)
>
>     same_frame(@117)
>
>     append_frame(@201,Integer)
>
>     append_frame(@216,Object[#349])
>
>     append_frame(@245,Object[#350])
>
>     same_locals_1_stack_item_frame(@248,Object[#351])
>
>     chop_frame(@265,1)
>
>     chop_frame(@268,1)
>
>     append_frame(@282,Object[#349])
>
>     append_frame(@326,Object[#352])
>
>     same_locals_1_stack_item_frame(@329,Object[#351])
>
>     chop_frame(@346,1)
>
>     chop_frame(@349,2)
>
>     same_locals_1_stack_item_frame(@366,Object[#353])
>
>     same_frame(@385)
>
>
> at
> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.<clinit>(
> ORecordSerializerStringAbstract.java:52)
>
> at
> com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<init>(
> ORecordSerializerFactory.java:47)
>
> at
> com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<clinit>(
> ORecordSerializerFactory.java:37)
>
> at
> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<clinit>(
> ODatabaseDocumentTx.java:127)
>
> at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(
> OPartitionedDatabasePool.java:386)
>
> at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(
> OPartitionedDatabasePool.java:186)
>
> at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.setupPool(
> OrientGraphFactory.java:161)
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to