I am on windows XP and have never experienced this issue... I wonder why your version isn't shipped with GDI I thought it was told by the eclipse folks that it is standard. If anyone else has issues let me know.

Jesse


On 22-Mar-06, at 6:16 AM, Ivan Zerlotti wrote:

I'm working on a application based on the 1.1M4 code
If the application is running in Windows XP I can use the edit tools and I see the layers Glyphs. But if I work with Win2k I can't see the Glyphs and the edit tools (like insert a Feature) don't work I tried to install the 1.1M6 version (despite I would prefer not to upgrade to the last if not strictly necessary) and I see the same behaviour. In the log I found some interesting lines that I append to this message. Has someone encountered this kind of problem? Or can someone point to the solution?
In the case is needed I can provide more log lines
Thank you very much
ivan zerlotti


--->org.eclipse.swt.SWTException: Unable to load graphics library [GDI+ is required] (java.lang.UnsatisfiedLinkError: C:\Programmi \udig\1.1.M6\eclipse\configuration\org.eclipse.osgi\bundles\126\1 \.cp\swt-gdip-win32-3139.dll: Can't find dependent libraries)
...

and then

--->org.eclipse.swt.SWTException: Unable to load graphics library [GDI+ is required] (java.lang.NoClassDefFoundError)
   at org.eclipse.swt.SWT.error(SWT.java:2942)
   at org.eclipse.swt.graphics.Device.checkGDIP(Device.java:175)
   at org.eclipse.swt.graphics.GC.initGdip(GC.java:3195)
   at org.eclipse.swt.graphics.GC.setAntialias(GC.java:3430)
at net.refractions.udig.project.ui.internal.render.displayAdapter.impl.Vi ewportPaneSWT.paint(ViewportPaneSWT.java:157) at net.refractions.udig.project.ui.internal.render.displayAdapter.impl.Vi ewportPaneSWT$2.paintControl(ViewportPaneSWT.java:134) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:83)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
   at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1153)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3090)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: 2756) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java: 1699)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java:143) at net.refractions.udig.internal.ui.UDIGApplication.run (UDIGApplication.java:30) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:163)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
   at org.eclipse.core.launcher.Main.run(Main.java:973)
   at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NoClassDefFoundError
   at org.eclipse.swt.graphics.Device.checkGDIP(Device.java:171)
   ... 31 more

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to