Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] Re: jdt-dev digest, Vol 1 #85 - 3 msgs

Hi Dani,

The .log contains :

!SESSION avr. 16, 2003
10:48:54.574 --------------------------------------------
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -pdelaunch -dev bin -feature
org.eclipse.platform -data C:\eclipse\runtime-workspace -debug
file:C:\eclipse\workspace\.metadata\.plugins\org.eclipse.pde.core\.options -
os win32 -ws win32 -arch x86 -nl
fr_FR -debug -noPackagePrefixes -configuration
file:C:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/C__eclipse
_runtime-workspace/platform.cfg -install file:C:/eclipse/
!ENTRY org.eclipse.ui.workbench 4 2 avr. 16, 2003 10:48:54.574
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError: com/libelis/shared/loader/LocalClassLoader
 at com.libelis.lidoplugin.tools.LiDOXMLTool.read(LiDOXMLTool.java:16)
 at
com.libelis.lidoplugin.jdo.eclipse.JDOMetadataFinder.<init>(JDOMetadataFinde
r.java:284)
 at
com.libelis.lidoplugin.jdo.eclipse.JDOMetadataFinder.getMetadataFinder(JDOMe
tadataFinder.java:273)
 at com.libelis.lidoplugin.ui.Inspector.selectionChanged(Inspector.java:142)
 at
org.eclipse.ui.internal.AbstractSelectionService$3.run(AbstractSelectionServ
ice.java:143)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:889)
 at org.eclipse.core.runtime.Platform.run(Platform.java:413)
 at
org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelec
tionService.java:141)
 at
org.eclipse.ui.internal.AbstractSelectionService.partActivated(AbstractSelec
tionService.java:244)
 at
org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1
182)
 at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2504)
 at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2
217)
 at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:334)
 at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:314)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:865)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:845)
 at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:837)
 at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:3961)
 at org.eclipse.swt.widgets.Tree.WM_SETFOCUS(Tree.java:1756)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:2822)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:2361)
 at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
 at org.eclipse.swt.widgets.Control.forceFocus(Control.java:599)
 at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:2137)
 at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:644)
 at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1252)
 at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:1166)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:2762)
 at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1229)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:2361)
 at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
 at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:1686)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1539)
 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(InternalBootLoader.jav
a:845)
 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(DelegatingMethodAccessorImpl
.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)

I've enabled the loder trace and when it tries to load my class I get :
Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d
loadClass(com.libelis.lidoplugin.jdo.metadata.JDOExtension)
Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d found
com.libelis.lidoplugin.jdo.metadata.JDOExtension in
file:C:/eclipse/workspace/LiDOPlugin/bin/

Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d
loadClass(java.lang.Exception)

Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d
loadClass(java.lang.ClassLoader)

Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d
loadClass(com.libelis.shared.loader.LocalClassLoader)

Loader [com.libelis.lidoplugin.JDOPlugin_1.4.0]^87816d not found
com.libelis.shared.loader.LocalClassLoader

The class loader used at this moment is :

class org.eclipse.core.internal.plugins.PluginClassLoader

The particular class I try to load (LocalClassLoader) is actually a class
loader itself and takes place in a lido-rt.jar library that I've declared as
a runtime library in my plugin.xml file.
I have the same configuration that works fine with eclipse 2.0 but fails
when it comes to 2.1...

Any advice ?

 ----- Original Message -----
From: <jdt-dev-request@xxxxxxxxxxx>
To: <jdt-dev@xxxxxxxxxxx>
Sent: Tuesday, April 15, 2003 6:00 PM
Subject: jdt-dev digest, Vol 1 #85 - 3 msgs


> Send jdt-dev mailing list submissions to
> jdt-dev@xxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://dev.eclipse.org/mailman/listinfo/jdt-dev
> or, via email, send a message with subject or body 'help' to
> jdt-dev-request@xxxxxxxxxxx
>
> You can reach the person managing the list at
> jdt-dev-admin@xxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of jdt-dev digest..."
>
>
> Today's Topics:
>
>    1. Class loading problem (Gilles Cadignan)
>    2. Re: Class loading problem (Daniel Megert)
>    3. Michele Forte/SwissRe is out of the office.
(Michele_Forte@xxxxxxxxxxx)
>
> --__--__--
>
> Message: 1
> From: "Gilles Cadignan" <gilles.cadignan@xxxxxxxxxxx>
> To: <jdt-dev@xxxxxxxxxxx>
> Date: Tue, 15 Apr 2003 10:31:06 +0200
> Subject: [jdt-dev] Class loading problem
> Reply-To: jdt-dev@xxxxxxxxxxx
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0187_01C3033A.1F6ED6D0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi,
>
> I am working on an Eclpse plugin and I want to run it on Eclipse 2.1. I =
> have a class loading problem with this version while the same code work =
> perfectly with the 2.0 version. I checked the Class Loader enhancements =
> in Eclipse 2.1 and tried to disable them by passing the argument =
> -noPackagesPrefixes in the command line but I stil get the same =
> java.lang.NoClassDefFoundError exception when I try to load a class that =
> is actually a class loader itself.
>
> Does anyone know how I can fix this ?
>
> Regards,
> Gilles
>
>
> ------=_NextPart_000_0187_01C3033A.1F6ED6D0
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffff>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2>Hi,</FONT></STRONG></DIV>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2></FONT></STRONG>&nbsp;</DIV>
> <DIV><STRONG><FONT face=3D"Courier New" size=3D2>I am working on an =
> Eclpse plugin=20
> and I want to run it on Eclipse 2.1. I have a class loading problem with =
> this=20
> version while the same code work perfectly with the 2.0 version. I =
> checked the=20
> Class Loader enhancements in Eclipse 2.1 and tried to disable them by =
> passing=20
> the argument -noPackagesPrefixes in the command line but I stil get the =
> same=20
> java.lang.NoClassDefFoundError exception when I try to load a class that =
> is=20
> actually a class loader itself.</FONT></STRONG></DIV>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2></FONT></STRONG>&nbsp;</DIV>
> <DIV><STRONG><FONT face=3D"Courier New" size=3D2>Does anyone know how I =
> can fix this=20
> ?</FONT></STRONG></DIV>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2></FONT></STRONG>&nbsp;</DIV>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2>Regards,</FONT></STRONG></DIV>
> <DIV><STRONG><FONT face=3D"Courier New" =
> size=3D2>Gilles</FONT></STRONG></DIV>
> <DIV><STRONG><FONT face=3D"Century Gothic" color=3D#808080=20
> size=3D2></FONT></STRONG><SPAN=20
> style=3D"FONT-SIZE: 7.5pt; COLOR: #999999; FONT-FAMILY: Verdana, =
> Arial">&nbsp;</DIV></SPAN></BODY></HTML>
>
> ------=_NextPart_000_0187_01C3033A.1F6ED6D0--
>
>
> --__--__--
>
> Message: 2
> Subject: Re: [jdt-dev] Class loading problem
> To: jdt-dev@xxxxxxxxxxx
> From: Daniel Megert <daniel_megert@xxxxxxxxxx>
> Date: Tue, 15 Apr 2003 10:38:55 +0200
> Reply-To: jdt-dev@xxxxxxxxxxx
>
>
>
>
>
> What's in the .log?
>
> Dani
>
>
>
>              "Gilles Cadignan"
>              <gilles.cadignan@
>              libelis.com>                                               To
>              Sent by:                  <jdt-dev@xxxxxxxxxxx>
>              jdt-dev-admin@ecl                                          cc
>              ipse.org
>                                                                    Subject
>                                        [jdt-dev] Class loading problem
>              15.04.2003 10:31
>
>
>              Please respond to
>              jdt-dev@eclipse.o
>                     rg
>
>
>
>
>
>
> Hi,
>
> I am working on an Eclpse plugin and I want to run it on Eclipse 2.1. I
> have a class loading problem with this version while the same code work
> perfectly with the 2.0 version. I checked the Class Loader enhancements in
> Eclipse 2.1 and tried to disable them by passing the argument
> -noPackagesPrefixes in the command line but I stil get the same
> java.lang.NoClassDefFoundError exception when I try to load a class that
is
> actually a class loader itself.
>
> Does anyone know how I can fix this ?
>
> Regards,
> Gilles
>
>
>
> --__--__--
>
> Message: 3
> From: Michele_Forte@xxxxxxxxxxx
> To: jdt-dev@xxxxxxxxxxx
> Date: Tue, 15 Apr 2003 12:07:59 +0200
> Subject: [jdt-dev] Michele Forte/SwissRe is out of the office.
> Reply-To: jdt-dev@xxxxxxxxxxx
>
> I will be out of the office starting  15/04/2003 and will not return until
> 27/04/2003.
>
> I will read my e-mail, but I will not guaranty an immediater answer so if
> you have urgent matter :for IUF related project please contact Roman Gross
> (3489)
> for any other project or IX information please contact the IX Customer
> Service at (4884)
> for friends please just be patient I will answer in a while !!!!
>
> Regards
>
> This e-mail, including attachments, is intended for the person(s) or
> company named and may contain confidential and/or legally privileged
> information. Unauthorized disclosure, copying or use of this information
> may be unlawful and is prohibited. If you are not the intended recipient,
> please delete this message and notify the sender
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> jdt-dev mailing list
> jdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/jdt-dev
>
>
> End of jdt-dev Digest



Back to the top