You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by johan coens <jo...@hotmail.com> on 2004/06/12 21:08:43 UTC

Flow Java Error: VERIFIED_REJECTED Number of LocalVariableTable ...

Hello,

When retrieving a singleton class in a java flow handler i receive the 
error:

Message: Instruction INVOKEVIRTUAL constraint violated: Class 
'com.security.SecurityFactory' is referenced, but cannot be loaded and 
resolved: 'VERIFIED_REJECTED Number of LocalVariableTable attributes of Code 
attribute '' (method 'public static com.security.SecurityFactory 
getInstance()') exceeds number of local variable slots '0' ('There may be no 
more than one LocalVariableTable attribute per local variable in the Code 
attribute.'). '. InstructionHandle: 61: invokevirtual[182](3) 55 Execution 
Frame: Local Variables: 0: com.security.AuthenticationHandler 1: 
java.lang.String 2: java.lang.String 3: OperandStack: Slots used: 1 
MaxStack: 3. com.....

Snippet from sitemap.xml::
<map:call function="protect"

Called method in AuthenticationHandler::
public void doProtect() {
    ...
    SecurityFactory.getInstance().login(...);
    ...
}

Anyone got a clue?

Cheers,
Johan

_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Flow Java Error: VERIFIED_REJECTED Number of LocalVariableTable ...

Posted by Stephan Michels <st...@apache.org>.
Am Sa, den 12.06.2004 schrieb johan coens um 21:08:
> Hello,
> 
> When retrieving a singleton class in a java flow handler i receive the 
> error:
> Snippet from sitemap.xml::
> <map:call function="protect"
> 
> Called method in AuthenticationHandler::
> public void doProtect() {
>     ...
>     SecurityFactory.getInstance().login(...);
>     ...
> }

I disabled the verifier in the CVS HEAD version of cocoon, because it
throws sometimes misleading exceptions. If you are able to
test your code against the CVS HEAD version, then Im more able to help
you.

And if you send a little test class, we can find and fix the problem
faster ;-)

Stephan.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org