harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santiago Gala (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3575) [drlvm][eclipse] One class in Pydev fails classloading
Date Fri, 06 Apr 2007 20:38:33 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Santiago Gala updated HARMONY-3575:
-----------------------------------

    Description: 
I was getting a problem with PyDev in eclipse, until I found the error in the log: 

Root exception: 
java.lang.ClassFormatError: org/python/pydev/plugin/PydevPlugin : Element: 0x413b1bb0 from
LocalVariableTypeTable doesn't coincide with element from LocalVariableTable for method createEditorInput(Lorg/eclipse/core/runtime/IPath;Z)Lorg/eclipse/ui/IEditorInput;

at java.lang.ClassLoader.defineClass0(ClassLoader.java) 
at java.lang.ClassLoader.defineClass(ClassLoader.java:417) 
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)


Removing the check under 
// See specification 4.8.12 second paragraph. 
in Class_File_Loader.cpp makes it load, though I'm not sure it is the proper solution. 

I'll attach the output of javap -v

  was:
I was getting a problem with PyDev in eclipse, until I found the error in the log:

Root exception:
java.lang.ClassFormatError: org/python/pydev/plugin/PydevPlugin : Element: 0x413b1bb0 from
LocalVariableTypeTable doesn't coincide with element from LocalVariableTable for method createEditorInput(Lorg/eclipse/core/runtime/IPath;Z)Lorg/eclipse/ui/IEditorInput;
	at java.lang.ClassLoader.defineClass0(ClassLoader.java)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)

Removing the check under
// See specification 4.8.12 second paragraph.
in Class_File_Loader.cpp makes it load, though I'm not sure it is the proper solution.

I'll attach the output of javap -v



Another error, maybe related: the printing is after I added the proverbial ->bytes to the
FAIL...

java.lang.ClassFormatError: org/python/core/PyObject : Duplicate local variable itmp in attribute
LocalVariableTable for method _cmp_unsafe(Lorg/python/core/PyObject;)I

I can attach the jython PyObject class or do whatever tests here, if requested

> [drlvm][eclipse] One class in Pydev fails classloading
> ------------------------------------------------------
>
>                 Key: HARMONY-3575
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3575
>             Project: Harmony
>          Issue Type: Bug
>          Components: App-Oriented Bug Reports, DRLVM
>         Environment: linux x86_64
>            Reporter: Santiago Gala
>         Assigned To: Alexey Varlamov
>         Attachments: clf.patch, local_var_table.ZIP, lvt_20070406.patch, PydevPlugin.class,
pydevplugin.txt
>
>
> I was getting a problem with PyDev in eclipse, until I found the error in the log: 
> Root exception: 
> java.lang.ClassFormatError: org/python/pydev/plugin/PydevPlugin : Element: 0x413b1bb0
from LocalVariableTypeTable doesn't coincide with element from LocalVariableTable for method
createEditorInput(Lorg/eclipse/core/runtime/IPath;Z)Lorg/eclipse/ui/IEditorInput; 
> at java.lang.ClassLoader.defineClass0(ClassLoader.java) 
> at java.lang.ClassLoader.defineClass(ClassLoader.java:417) 
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:161)

> Removing the check under 
> // See specification 4.8.12 second paragraph. 
> in Class_File_Loader.cpp makes it load, though I'm not sure it is the proper solution.

> I'll attach the output of javap -v

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message