Eclipse plugin shows up--partially, then crashes

Having trouble installing Oxygen? Got a bug to report? Post it all here.
georgb
Posts: 7
Joined: Thu Aug 28, 2003 2:59 am
Location: de_DE

Eclipse plugin shows up--partially, then crashes

Post by georgb »

hello,

runningEclipse 2.1.1 (except PluginDE which is at 2.1.0) on GNU/Linux
(Debian 3.0)
Linux sonnenregen 2.4.19 #1 SMP Wed Jun 18 02:54:48 CEST 2003 i686 unknown,
oxygen 2.0.3

Both Eclipse and oxygen run fine when running stand alone.

However, when the plugin is installed in the plugins folder,
Eclipse apparently does "see" it (the icons of XML files have changed, e.g.),
yet as soon as I try to open an editor view of an XML file, Eclipse is
shut down rather quickly, a dialog window pops up displaying the JVM
parameters, and a trace file is produced. I have appended one of them.

It looks like there might be a problem with libXt, fonts, and the caret
in this case?

Georg



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4D13308A
Function=XtWidgetToApplicationContext+0x1A
Library=/usr/X11R6/lib/libXt.so.6

Current Java thread:
at org.eclipse.swt.internal.motif.OS.XmImSetValues(Native Method)
- locked <0x48a75100> (a java.lang.Class)
at org.eclipse.swt.widgets.Caret.setFont(Caret.java:358)
at org.eclipse.swt.widgets.Canvas.setFont(Canvas.java:226)
at org.eclipse.swt.custom.StyledText.setFont(StyledText.java:7184)
at com.oxygenxml.editor.editors.OxygenEditorActionContributor.setActiveE
ditor(Unknown Source)
at com.oxygenxml.editor.editors.OxygenXMLEditorActionBarContributor.setA
ctiveEditor(Unknown Source)
at org.eclipse.ui.internal.EditorActionBars.partChanged(EditorActionBars
.java:176)
at org.eclipse.ui.internal.WorkbenchPage$2.run(WorkbenchPage.java:427)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatfo
rm.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.WorkbenchPage.activatePart(WorkbenchPage.java

:419)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.jav
a:2490)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:408
)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.ja
va:2071)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:200
4)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1991)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1
986)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1
887)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96
)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAct
ion.java:96)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(Act
ionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContri
butionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handle
Event(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:810)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1958)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1724)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
der.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)

Dynamic libraries:
08048000-0804e000 r-xp 00000000 3a:01 12858532 /opt/j2sdk1.4.2_01/bin/java
0804e000-0804f000 rw-p 00005000 3a:01 12858532 /opt/j2sdk1.4.2_01/bin/java
40000000-40013000 r-xp 00000000 16:03 159216 /lib/ld-2.2.5.so
40013000-40014000 rw-p 00013000 16:03 159216 /lib/ld-2.2.5.so
40014000-40018000 rw-s 00000000 16:03 195273 /tmp/hsperfdata_prog/2014
40018000-40019000 r--s 00000000 3a:01 2236172 /opt/eclipse/plugins/org.eclips
e.ui_2.1.1/ui.jar
4001a000-40027000 r-xp 00000000 16:03 159237 /lib/libpthread-0.9.so
40027000-4002e000 rw-p 0000d000 16:03 159237 /lib/libpthread-0.9.so
4002e000-40030000 r-xp 00000000 16:03 159223 /lib/libdl-2.2.5.so
40030000-40031000 rw-p 00001000 16:03 159223 /lib/libdl-2.2.5.so
40032000-40145000 r-xp 00000000 16:03 159220 /lib/libc-2.2.5.so
40145000-4014b000 rw-p 00113000 16:03 159220 /lib/libc-2.2.5.so
4014f000-40549000 r-xp 00000000 3a:01 21343013 /opt/j2sdk1.4.2_01/jre/lib/i386
/client/libjvm.so
40549000-40565000 rw-p 003f9000 3a:01 21343013 /opt/j2sdk1.4.2_01/jre/lib/i386
/client/libjvm.so
40577000-40588000 r-xp 00000000 16:03 159225 /lib/libnsl-2.2.5.so
40588000-40589000 rw-p 00010000 16:03 159225 /lib/libnsl-2.2.5.so
4058b000-405ab000 r-xp 00000000 16:03 159224 /lib/libm-2.2.5.so
405ab000-405ac000 rw-p 0001f000 16:03 159224 /lib/libm-2.2.5.so
405ac000-405b4000 r-xp 00000000 3a:01 14767446 /opt/j2sdk1.4.2_01/jre/lib/i386
/native_threads/libhpi.so
405b4000-405b5000 rw-p 00007000 3a:01 14767446 /opt/j2sdk1.4.2_01/jre/lib/i386
/native_threads/libhpi.so
405b5000-405bf000 r-xp 00000000 16:03 159226 /lib/libnss_compat-2.2.5.so
405bf000-405c0000 rw-p 00009000 16:03 159226 /lib/libnss_compat-2.2.5.so
405c0000-405d0000 r-xp 00000000 3a:01 12851473 /opt/j2sdk1.4.2_01/jre/lib/i386
/libverify.so
405d0000-405d2000 rw-p 0000f000 3a:01 12851473 /opt/j2sdk1.4.2_01/jre/lib/i386
/libverify.so
405d2000-405f2000 r-xp 00000000 3a:01 12851474 /opt/j2sdk1.4.2_01/jre/lib/i386
/libjava.so
405f2000-405f4000 rw-p 0001f000 3a:01 12851474 /opt/j2sdk1.4.2_01/jre/lib/i386
/libjava.so
405f4000-40608000 r-xp 00000000 3a:01 12851476 /opt/j2sdk1.4.2_01/jre/lib/i386
/libzip.so
40608000-4060b000 rw-p 00013000 3a:01 12851476 /opt/j2sdk1.4.2_01/jre/lib/i386
/libzip.so
4060b000-41fa3000 r--s 00000000 3a:01 9335401 /opt/j2sdk1.4.2_01/jre/lib/rt.j
ar
41fed000-42003000 r--s 00000000 3a:01 9335137 /opt/j2sdk1.4.2_01/jre/lib/sunr
sasign.jar
42003000-420de000 r--s 00000000 3a:01 9335188 /opt/j2sdk1.4.2_01/jre/lib/jsse
.jar
420de000-420ef000 r--s 00000000 3a:01 9335138 /opt/j2sdk1.4.2_01/jre/lib/jce.
jar
420ef000-42648000 r--s 00000000 3a:01 9335193 /opt/j2sdk1.4.2_01/jre/lib/char
sets.jar
4c770000-4c78c000 r--s 00000000 3a:01 21343017 /opt/j2sdk1.4.2_01/jre/lib/ext/
sunjce_provider.jar
4c78c000-4c78f000 r--s 00000000 3a:01 21343018 /opt/j2sdk1.4.2_01/jre/lib/ext/
dnsns.jar
4c78f000-4c79c000 r--s 00000000 3a:01 21343020 /opt/j2sdk1.4.2_01/jre/lib/ext/
ldapsec.jar
4c79c000-4c858000 r--s 00000000 3a:01 21343433 /opt/j2sdk1.4.2_01/jre/lib/ext/
localedata.jar
4c858000-4c85d000 r--s 00000000 3a:01 188058 /opt/eclipse/startup.jar
4c85d000-4c875000 r--s 00000000 3a:01 14766988 /opt/eclipse/plugins/org.eclips
e.core.boot_2.1.1/boot.jar
4c875000-4c8aa000 r--s 00000000 3a:01 2218108 /opt/eclipse/plugins/org.eclips
e.core.runtime_2.1.1/runtime.jar
4c8aa000-4c926000 r--s 00000000 3a:01 187734 /opt/eclipse/plugins/org.eclips
e.ui.views_2.1.0/views.jar
4c926000-4cb3d000 r--s 00000000 3a:01 21270398 /opt/eclipse/plugins/org.eclips
e.ui.workbench_2.1.1/workbench.jar
4cb3d000-4cba9000 r--s 00000000 3a:01 21270393 /opt/eclipse/plugins/org.eclips
e.jface_2.1.1/jface.jar
4cba9000-4cc86000 r--s 00000000 3a:01 2236215 /opt/eclipse/plugins/org.eclips
e.swt.motif_2.1.1/ws/motif/swt.jar
4cc86000-4cd13000 r--s 00000000 3a:01 18961690 /opt/eclipse/plugins/org.eclips
e.core.resources_2.1.1/resources.jar
4cd13000-4cd29000 r--s 00000000 3a:01 6588660 /opt/eclipse/plugins/org.apache
.xerces_4.0.13/xmlParserAPIs.jar
4cd29000-4ce49000 r--s 00000000 3a:01 6588662 /opt/eclipse/plugins/org.apache
.xerces_4.0.13/xercesImpl.jar
4ce49000-4ce8b000 r-xp 00000000 3a:01 14767154 /opt/eclipse/plugins/org.eclips
e.swt.motif_2.1.1/os/linux/x86/libswt-motif-2135.so
4ce8b000-4ce8e000 rw-p 00042000 3a:01 14767154 /opt/eclipse/plugins/org.eclips
e.swt.motif_2.1.1/os/linux/x86/libswt-motif-2135.so
4ce8e000-4ce91000 r--s 00000000 3a:01 158658 /opt/eclipse/plugins/org.eclips
e.help.appserver_2.1.0/appserver.jar
4ce91000-4ce92000 r--s 00000000 3a:01 4325667 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/license.zip
4ce94000-4d021000 r-xp 00000000 16:03 158555 /usr/X11R6/lib/libXm.so.2.1
4d021000-4d035000 rw-p 0018c000 16:03 158555 /usr/X11R6/lib/libXm.so.2.1
4d036000-4d10b000 r-xp 00000000 16:03 158627 /usr/X11R6/lib/libX11.so.6.2
4d10b000-4d10f000 rw-p 000d5000 16:03 158627 /usr/X11R6/lib/libX11.so.6.2
4d110000-4d11c000 r-xp 00000000 16:03 158629 /usr/X11R6/lib/libXext.so.6.4
4d11c000-4d11d000 rw-p 0000c000 16:03 158629 /usr/X11R6/lib/libXext.so.6.4
4d11d000-4d163000 r-xp 00000000 16:03 158638 /usr/X11R6/lib/libXt.so.6.0
4d163000-4d167000 rw-p 00045000 16:03 158638 /usr/X11R6/lib/libXt.so.6.0
4d167000-4d16d000 r-xp 00000000 16:03 158635 /usr/X11R6/lib/libXp.so.6.2
4d16d000-4d16e000 rw-p 00006000 16:03 158635 /usr/X11R6/lib/libXp.so.6.2
4d16e000-4d175000 r-xp 00000000 16:03 158626 /usr/X11R6/lib/libSM.so.6.0
4d175000-4d176000 rw-p 00007000 16:03 158626 /usr/X11R6/lib/libSM.so.6.0
4d176000-4d189000 r-xp 00000000 16:03 158624 /usr/X11R6/lib/libICE.so.6.3
4d189000-4d18b000 rw-p 00012000 16:03 158624 /usr/X11R6/lib/libICE.so.6.3
4d18c000-4d1f7000 r--s 00000000 3a:01 10629866 /opt/eclipse/plugins/org.eclips
e.update.core_2.1.0/updatecore.jar
4d1f7000-4d224000 r--s 00000000 3a:01 10548993 /opt/eclipse/plugins/org.eclips
e.help_2.1.1/help.jar
4d224000-4d27b000 r--s 00000000 3a:01 14864418 /opt/eclipse/plugins/org.eclips
e.jface.text_2.1.0/jfacetext.jar
4d27b000-4d28d000 r--s 00000000 3a:01 4881835 /opt/eclipse/plugins/org.eclips
e.text_2.1.0/text.jar
4d28d000-4d32a000 r--s 00000000 3a:01 21270627 /opt/eclipse/plugins/org.eclips
e.update.ui_2.1.1/updateui.jar
4d32a000-4d366000 r--s 00000000 3a:01 12711757 /opt/eclipse/plugins/org.eclips
e.ui.workbench.texteditor_2.1.0/texteditor.jar
4d366000-4d380000 r--s 00000000 3a:01 2261858 /opt/eclipse/plugins/org.eclips
e.ui.editors_2.1.0/editors.jar
4d380000-4d3a6000 r--s 00000000 3a:01 21053828 /opt/eclipse/plugins/org.eclips
e.update.ui.forms_2.1.0/forms.jar
4d3a6000-4d472000 r--s 00000000 3a:01 10549140 /opt/eclipse/plugins/org.eclips
e.ui.externaltools_2.1.1/externaltools.jar
4d472000-4d4ec000 r--s 00000000 3a:01 4255795 /opt/eclipse/plugins/org.eclips
e.debug.ui_2.1.1/dtui.jar
4d4ec000-4d510000 r--s 00000000 3a:01 12711751 /opt/eclipse/plugins/org.eclips
e.debug.core_2.1.0/dtcore.jar
4d510000-4d557000 r--s 00000000 3a:01 23273986 /opt/eclipse/plugins/org.eclips
e.team.ui_2.1.0/teamui.jar
4d557000-4d56e000 r--s 00000000 3a:01 7595405 /opt/eclipse/plugins/org.eclips
e.team.core_2.1.1/team.jar
4d56e000-4d5cf000 r--s 00000000 3a:01 16893221 /opt/eclipse/plugins/org.eclips
e.compare_2.1.0/compare.jar
4d5cf000-4d5e7000 r--s 00000000 3a:01 4325609 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/azcheck.jar
4d5e7000-4d5ef000 r--s 00000000 3a:01 4325615 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/gnu-regexp-1.1.4.jar
4d5ef000-4d5ff000 r--s 00000000 3a:01 4325607 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/avalon-framework-4.1.3.jar
4d700000-4d893000 r--s 00000000 3a:01 10674251 /opt/eclipse/plugins/org.eclips
e.pde.ui_2.1.0/pdeui.jar
4d893000-4d962000 r--s 00000000 3a:01 21270386 /opt/eclipse/plugins/org.eclips
e.team.cvs.ui_2.1.1/teamcvsui.jar
4d962000-4dd2f000 r--s 00000000 3a:01 4267028 /opt/eclipse/plugins/org.eclips
e.jdt.ui_2.1.1/jdt.jar
4dd2f000-4de1f000 r--s 00000000 3a:01 4325624 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/oxygen.jar
4de1f000-4de75000 r--s 00000000 3a:01 4325620 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/log4j.jar
4de75000-4dfde000 r--s 00000000 3a:01 4325613 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/dicts.jar
4dfde000-4dffe000 r--s 00000000 3a:01 4325664 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/xspell.jar
4dffe000-4e1d8000 r--s 00000000 3a:01 4325610 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/batik.jar
4e1d8000-4e1eb000 r--s 00000000 3a:01 4325621 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/logkit-1.1.jar
4e1eb000-4e389000 r--s 00000000 3a:01 4325614 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/fop.jar
4e389000-4e3a8000 r--s 00000000 3a:01 4325631 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/xml-apis.jar
4e3a8000-4e62e000 r--s 00000000 3a:01 4325627 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/xalan.jar
4e62e000-4e711000 r--s 00000000 3a:01 4325630 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/xercesImpl.jar
4e711000-4e722000 r--s 00000000 3a:01 4325625 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/resolver.jar
4e722000-4e799000 r--s 00000000 3a:01 4325618 /opt/eclipse/plugins/com.oxygen
xml.editor_2.0.3/lib/jing.jar
4e799000-4e7cc000 r--s 00000000 3a:01 2235990 /opt/eclipse/plugins/org.eclips
e.search_2.1.1/search.jar

Heap at VM Abort:
Heap
def new generation total 576K, used 440K [0x446f0000, 0x44790000, 0x44bd0000)
eden space 512K, 84% used [0x446f0000, 0x4475bd60, 0x44770000)
from space 64K, 14% used [0x44780000, 0x44782650, 0x44790000)
to space 64K, 0% used [0x44770000, 0x44770000, 0x44780000)
tenured generation total 4576K, used 4315K [0x44bd0000, 0x45048000, 0x486f000
0)
the space 4576K, 94% used [0x44bd0000, 0x45006fe8, 0x45007000, 0x45048000)
compacting perm gen total 14848K, used 14731K [0x486f0000, 0x49570000, 0x4c6f0
000)
the space 14848K, 99% used [0x486f0000, 0x49552e98, 0x49553000, 0x49570000)

Local Time = Thu Aug 28 01:26:05 2003
Elapsed Time = 235
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#
Mircea
Posts: 130
Joined: Tue Mar 25, 2003 11:21 am

Post by Mircea »

Hi,

As I can see from the log you attached to the message the problem is in the native code outside the Java Virtual Machine. Usualy there is no way that Java code produce crashes of the native code outside the virtual machine. This is a bug from Eclipse code.

Anyhow, in the new kit you can download from:

http://www.oxygenxml.com/update/com.oxy ... .beta1.zip

we check to see if the font need to be set, otherwise the operation is skipped. So this means that if you do not change the font from Window/Preferences/oXygen/Editor menu, the plugin should work ok.
georgb
Posts: 7
Joined: Thu Aug 28, 2003 2:59 am
Location: de_DE

Post by georgb »

Mircea,

Thank you for the beta code. The 2.0.4.beta1 runs in this Eclipse iff
"Map to Text Font" is/stays checked in the preferences.

(Incidentally, switching beta and 2.0.3 has provided an opportunity to see
that my Eclipse can indeed work with 2.0.3, unless I open (or close) an
XML (etc.) file. If the editor is already open (because it had
been open at the last Eclipse Exit when 2.0.4.beta1 was the plugin),
all the functionality is there.)

Thanks again,
Georg
Post Reply