Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368119

Summary: windowbuilder failed on 3.6 and 3.7. 32 bit XP system
Product: z_Archived Reporter: uwe kaufmann <cukaufmann>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
data from the create report function none

Description uwe kaufmann CLA 2012-01-09 02:26:25 EST
Created attachment 209183 [details]
data from the create report function

installed eclipse 3.7 and installed the window builder packsge and created a simple RCP project - one view only and opend this with the window builder editor.
This failed with the following message:

An exception happened during evaluation of constructor ViewPart() using arguments {}. 

java.lang.LinkageError: loader constraint violation: loader (instance of org/eclipse/wb/internal/core/utils/reflect/CompositeClassLoader) previously initiated loading for a different type with name "org/eclipse/swt/graphics/Image"
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.getDeclaredMethod(Unknown Source)
	at net.sf.cglib.proxy.Enhancer.getCallbacksSetter(Enhancer.java:630)
	at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:618)
	at net.sf.cglib.proxy.Enhancer.setThreadCallbacks(Enhancer.java:612)
	at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:634)
	at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538)
	at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225)
	at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
	at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:304)

Get the same when i try this with eclipse 3.6. always installation from scratch.
No other projects loaded. Opening the builder for the perspective runs fine.
This is on a 32 bit XP system.
If i setup the same on a 64 bit windows 7 system it runs as expected.
Comment 1 Konstantin Scheglov CLA 2012-01-20 16:26:21 EST
Can not reproduce.
I use also 32 bit Eclipse, but on Win7 x64.
This should be something with your Eclipse configuration.
Comment 2 Eric Clayberg CLA 2012-01-20 18:04:12 EST
Worked for me as well under both XP and 7.