cocoon-users-fr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GONNET Sylvain" <sylvain.gon...@capgemini.com>
Subject Javaflow
Date Tue, 28 Jun 2005 13:27:45 GMT

Bonjour amis cocooniens,


Je suis en train de développer une application web en  Cocoon (2.1.7)
qui utilise le Javaflow.

Je me connecte à l’application via une fenêtre de login et j’affiche la
page de démarrage si je me suis authentifié correctement.
J’affiche des informations propres à l’utilisateur qui sont stockées en
base et j’y accède via des DAO.

Sur ma page de démarrage j’obtiens cette erreur :

An Error Occurred

Instruction INVOKEVIRTUAL constraint violated: Class
'com.cg.framework.dao.Profile' 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: 153: invokevirtual[182](3) 121
Execution Frame: Local Variables: 0:
com.cg.framework.cocoon.javaflow.end_user 1: java.lang.String 2: <null
object> 3: java.lang.String 4: java.lang.String 5: <null object> 6:
java.lang.String 7: java.util.ArrayList 8: <null object> 9: <null
object> 10: <unknown object> 11: <unknown object> 12: <unknown object>
13: <unknown object> 14: <unknown object> OperandStack: Slots used: 3
MaxStack: 7. <null object> (Size: 1) <UNINITIALIZED OBJECT OF TYPE
'java.lang.StringBuffer'> (Size: 1) <UNINITIALIZED OBJECT OF TYPE
'java.lang.StringBuffer'> (Size: 1) Execution flow: 0: getstatic 19
[InstructionContext] 3: dup [InstructionContext] 4: ifnonnull -> 32
[InstructionContext] 32: invokevirtual 41 [InstructionContext] 35:
astore_1 [InstructionContext] 36: aconst_null [InstructionContext] 37:
astore_2 [InstructionContext] 38: ldc 43 [InstructionContext] 40:
astore_3 [InstructionContext] 41: ldc 45 [InstructionContext] 43: astore
4 [InstructionContext] 45: aconst_null [InstructionContext] 46: astore 5
[InstructionContext] 48: aconst_null [InstructionContext] 49: astore 6
[InstructionContext] 51: new 47 [InstructionContext] 54: dup
[InstructionContext] 55: invokespecial 48 [InstructionContext] 58:
astore 7 [InstructionContext] 60: aconst_null [InstructionContext] 61:
astore 8 [InstructionContext] 63: getstatic 54 [InstructionContext] 66:
ldc 56 [InstructionContext] 68: invokevirtual 61 [InstructionContext]
71: aload_2 [InstructionContext] 72: invokevirtual 66
[InstructionContext] 75: astore 6 [InstructionContext] 77: aload_0
[InstructionContext] 78: invokevirtual 70 [InstructionContext] 81:
invokeinterface 76 [InstructionContext] 86: ldc 78 [InstructionContext]
88: invokeinterface 83 [InstructionContext] 93: aload_0
[InstructionContext] 94: invokevirtual 70 [InstructionContext] 97:
invokeinterface 76 [InstructionContext] 102: ldc 78 [InstructionContext]
104: ldc 85 [InstructionContext] 106: invokeinterface 89
[InstructionContext] 111: aconst_null [InstructionContext] 112: astore 9
[InstructionContext] 114: aload 5 [InstructionContext] 116: ifnull ->
183 [InstructionContext] 119: aload_0 [InstructionContext] 120:
invokevirtual 93 [InstructionContext] 123: new 95 [InstructionContext]
126: dup [InstructionContext] 127: aload_1 [InstructionContext] 128:
invokestatic 101 [InstructionContext] 131: invokespecial 102
[InstructionContext] 134: ldc 104 [InstructionContext] 136:
invokevirtual 108 [InstructionContext] 139: invokevirtual 111
[InstructionContext] 142: invokeinterface 116 [InstructionContext] 147:
new 95 [InstructionContext] 150: dup [InstructionContext] 151: aload 5
[InstructionContext] 153: invokevirtual 121 [InstructionContext]


Pour information la classe 'com.cg.framework.dao.Profile' : classe
persistante de la table Profile se trouve bien dans le package
com.cg.framework.dao

J’avais l’habitude des erreurs liées au javascript je suis un peu perdu
là.

Avez-vous déjà eu des messages d’erreur semblable ?



Merci d’avance

Sylvain





This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message