cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <>
Subject Problems with JavaFlow and lookup of components
Date Mon, 28 Jun 2004 14:25:41 GMT

I want to lookup a component in a JavaFlow class, but I get a BCEL
error. I get the following error:

Instruction GETSTATIC constraint violated: Class
'com.bizzdesign.cms.model.StorageUnitManager' is referenced, but cannot
be loaded and resolved: 'VERIFIED_REJECTED Number of LocalVariableTable
attributes of Code attribute '<CODE>' (method 'static void <clinit>()')
exceeds number of local variable slots '0' ('There may be no more than
one LocalVariableTable attribute per local variable in the Code
attribute.'). '. InstructionHandle: 1: getstatic[178](3) 24 Execution
Frame: Local Variables: 0: 1: <unknown object>
2: <unknown object> 3: <unknown object> 4: <unknown object>
OperandStack: Slots used: 1 MaxStack: 6. (Size: 1) Execution
flow: 0: aload_0 [InstructionContext] 1: getstatic 24

I've tested on the sample class. I've added the line
StorageUnitManager manager = (StorageUnitManager)

The line above causes the error. What am I doing wrong?


View raw message