You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by uprime uprime812 <up...@gmail.com> on 2007/12/31 11:52:36 UTC
problem with class2html
Hello,
I'm new to bcel, and has this problem when I try to convert using
class2html. This is my class:
-------------
package trybcel ;
class A {
private A nxt = null ;
private int x = 0 ;
boolean m(){ return x==0 ; }
}
-----------
After compiling (success), I call Class2HTML and gets this error, which I
thinks rather wierd:
X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar
org.apache.bcel.util.Class2HTML
A.class
Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.bcel.util.CodeHTML.writeMethod(CodeHTML.java:520)
at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63)
at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92)
at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136)
Any help will be appreciated!
Thanks,
--W.P.
Re: problem with class2html
Posted by uprime uprime812 <up...@gmail.com>.
Thanks, I'll try that.
On 12/31/07, Erik Bengtson <er...@jpox.org> wrote:
>
> BCEL SVN trunk and Sun JDK 1.5 works for me
>
> -----Message d'origine-----
> De: uprime uprime812 [mailto:uprime812@gmail.com]
> Envoyé: lundi 31 décembre 2007 11:53
> À: bcel-user@jakarta.apache.org
> Objet: problem with class2html
>
> Hello,
>
> I'm new to bcel, and has this problem when I try to convert using
> class2html. This is my class:
>
> -------------
> package trybcel ;
>
> class A {
> private A nxt = null ;
> private int x = 0 ;
>
> boolean m(){ return x==0 ; }
> }
> -----------
>
> After compiling (success), I call Class2HTML and gets this error, which I
> thinks rather wierd:
>
> X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar
> org.apache.bcel.util.Class2HTML
> A.class
> Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at org.apache.bcel.util.CodeHTML.writeMethod(CodeHTML.java:520)
> at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63)
> at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92)
> at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136)
>
> Any help will be appreciated!
>
> Thanks,
>
> --W.P.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bcel-user-help@jakarta.apache.org
>
>
RE: problem with class2html
Posted by Erik Bengtson <er...@jpox.org>.
BCEL SVN trunk and Sun JDK 1.5 works for me
-----Message d'origine-----
De : uprime uprime812 [mailto:uprime812@gmail.com]
Envoyé : lundi 31 décembre 2007 11:53
À : bcel-user@jakarta.apache.org
Objet : problem with class2html
Hello,
I'm new to bcel, and has this problem when I try to convert using
class2html. This is my class:
-------------
package trybcel ;
class A {
private A nxt = null ;
private int x = 0 ;
boolean m(){ return x==0 ; }
}
-----------
After compiling (success), I call Class2HTML and gets this error, which I
thinks rather wierd:
X:\tmp\trybcel>java -cp ..\bcel-5.2\bcel-5.2.jar
org.apache.bcel.util.Class2HTML
A.class
Processing A.class...java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
at org.apache.bcel.util.CodeHTML.writeMethod(CodeHTML.java:520)
at org.apache.bcel.util.CodeHTML.<init>(CodeHTML.java:63)
at org.apache.bcel.util.Class2HTML.<init>(Class2HTML.java:92)
at org.apache.bcel.util.Class2HTML.main(Class2HTML.java:136)
Any help will be appreciated!
Thanks,
--W.P.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org