Coder Social home page Coder Social logo

openbeans's People

Watchers

James Cloos avatar

openbeans's Issues

dalvikvm verify error with openbeans methods


I have successfully compiled jtcl-2.0.0 (Java based Tcl) for Android with ant, 
dex-ed the jar file and passed it to the dalvikvm. Every "import 
java.beans.xxx" was replaced by "import com.googlecode.openbeans.xxx"

The openbeans.jar file was put to "~/.ant/lib/openbeans-1.0.jar"

The Tcl shell is opening without problems but when I make a call to a static 
class with "java::call ..." then I get an exception:

% java::call Integer toBinaryString 5
java.lang.VerifyError: tcl.pkg.java.JavaInfoCmd
    at tcl.pkg.java.FuncSig.getMethodDescription(Unknown Source)
...


The logcat shows me the following error message:

I/dalvikvm(  289): Could not find method 
com.googlecode.openbeans.PropertyDescriptor.getReadMethod, referenced from 
method tcl.pkg.java.JavaInvoke.getProperty
W/dalvikvm(  289): VFY: unable to resolve virtual method 4051: 
Lcom/googlecode/openbeans/PropertyDescriptor;.getReadMethod 
()Ljava/lang/reflect/Method;
D/dalvikvm(  289): VFY: replacing opcode 0x6e at 0x0018
D/dalvikvm(  289): VFY: dead code 0x001b-0090 in 
Ltcl/pkg/java/JavaInvoke;.getProperty 
(Ltcl/lang/Interp;Ltcl/lang/TclObject;Ltcl/lang/TclObject;Z)Ltcl/lang/TclObject;

In a forum I have found the comment:

As per javadocs, Verify error is "thrown when the 'verifier' detects
that a class file, though well formed, contains some sort of internal
inconsistency or security problem". 

How could I manage this Android issue?


Original issue reported on code.google.com by [email protected] on 25 Oct 2011 at 4:54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.