Bug 161747 - ve shows no component in edit window and also no palette entry
Summary: ve shows no component in edit window and also no palette entry
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joe Winchester CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 12:42 EDT by urs zeidler CLA
Modified: 2011-06-13 11:35 EDT (History)
1 user (show)

See Also:


Attachments
My current configuration. (116.21 KB, text/plain)
2006-10-23 05:11 EDT, urs zeidler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description urs zeidler CLA 2006-10-20 12:42:27 EDT
In one of my eclipse (3.2.1) installations the ve won't work, no component is showing also no palette entry.
I know the cache cleaning issue, but this won't work, i think it has to do with JEM but im not absolute shure about it.
For this error log i have started with an new workspace and gegerated one visual class which won't show up, i did cleaning the cache, but no change.
I have other installations where the cache cleaning works for me, the differences between the installaions are, the one working is a basic installation, the one failing, has a hole bunch of features, which need.

I have updated all pluggings, so this should be not the point.

I post the complete error log in order there appears, 

----
java.lang.NullPointerException
	at org.eclipse.ve.internal.java.codegen.model.BeanDeclModel.getAllMethods(BeanDeclModel.java:617)
	at org.eclipse.ve.internal.java.codegen.util.CodeGenUtil.markSameLineExpressions(CodeGenUtil.java:1200)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.reverseParse(JavaSourceTranslator.java:866)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.decodeDocument(JavaSourceTranslator.java:947)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.loadModel(JavaSourceTranslator.java:597)
	at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup.run(JavaVisualEditorPart.java:1978)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

----
java.lang.NullPointerException
	at org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisitorFactoryRule.retrieveFromCache(DefaultVisitorFactoryRule.java:83)
	at org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisitorFactoryRule.getTypeVisitor(DefaultVisitorFactoryRule.java:109)
	at org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuilder.visitType(JavaBeanModelBuilder.java:534)
	at org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuilder.build(JavaBeanModelBuilder.java:443)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.reverseParse(JavaSourceTranslator.java:865)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.decodeDocument(JavaSourceTranslator.java:947)
	at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.loadModel(JavaSourceTranslator.java:597)
	at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup.run(JavaVisualEditorPart.java:1978)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

----
IWAV0155E Introspection failed on class "java.lang.Object." msg="."

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.ve.internal.cde.decorators.DecoratorsPackage$Literals
at org.eclipse.ve.internal.cde.decorators.impl.BasePropertyDecoratorImpl.eStaticClass(BasePropertyDecoratorImpl.java:192)
at org.eclipse.emf.ecore.impl.EObjectImpl.eClass(EObjectImpl.java:210)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFeature(XMLHandler.java:2680)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setAttribValue(XMLHandler.java:2435)
at org.eclipse.emf.ecore.xmi.impl.SAXXMIHandler.handleObjectAttribs(SAXXMIHandler.java:74)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromFactory(XMLHandler.java:1940)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectFromTypeName(XMLHandler.java:1844)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObject(XMLHandler.java:1779)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1587)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:881)
at org.eclipse.emf.ecore.xmi.impl.XMIHandler.processElement(XMIHandler.java:82)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:860)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:627)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:179)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.demandLoad(ProjectResourceSetImpl.java:83)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390)
at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:262)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter$ExtensionDocApplies.run(BeaninfoClassAdapter.java:1020)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.createOverrideCache(BeaninfoClassAdapter.java:960)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.applyExtensionDocument(BeaninfoClassAdapter.java:931)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspect(BeaninfoClassAdapter.java:649)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:428)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:415)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspect(BeaninfoClassAdapter.java:636)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:428)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:415)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspect(BeaninfoClassAdapter.java:636)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:428)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:415)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspect(BeaninfoClassAdapter.java:636)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:428)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:415)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspect(BeaninfoClassAdapter.java:636)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:428)
at org.eclipse.jem.internal.beaninfo.adapters.BeaninfoClassAdapter.introspectIfNecessary(BeaninfoClassAdapter.java:415)
at org.eclipse.jem.java.internal.impl.JavaClassImpl.getEAnnotations(JavaClassImpl.java:379)
at org.eclipse.ve.internal.cde.emf.ClassDecoratorSourceIterator.findDecorator(ClassDecoratorSourceIterator.java:37)
at org.eclipse.ve.internal.cde.emf.ClassDecoratorIterator.initialize(ClassDecoratorIterator.java:47)
at org.eclipse.ve.internal.cde.emf.ClassDecoratorSourceIterator.<init>(ClassDecoratorSourceIterator.java:33)
at org.eclipse.ve.internal.cde.emf.ClassDecoratorFeatureAccess.getDecoratorWithFeature(ClassDecoratorFeatureAccess.java:67)
at org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisitorFactoryRule.retrieveFromCache(DefaultVisitorFactoryRule.java:82)
at org.eclipse.ve.internal.java.codegen.java.rules.DefaultVisitorFactoryRule.getTypeVisitor(DefaultVisitorFactoryRule.java:109)
at org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuilder.visitType(JavaBeanModelBuilder.java:534)
at org.eclipse.ve.internal.java.codegen.java.JavaBeanModelBuilder.build(JavaBeanModelBuilder.java:443)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.reverseParse(JavaSourceTranslator.java:865)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.decodeDocument(JavaSourceTranslator.java:947)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslator.loadModel(JavaSourceTranslator.java:597)
at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEditorPart$Setup.run(JavaVisualEditorPart.java:1978)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Richard Kulp CLA 2006-10-21 07:41:19 EDT
Did you install MyEclipse? If you have, then there is a problem is MyEclipse is installed first. So if you have, get rid of the Eclipse installation, then install Eclipse SDK itself from Eclipse site, then using the Castello update site and the update manager, install VE and VE's pre-reqs. Now you should be able to install MyEclipse.
Comment 2 urs zeidler CLA 2006-10-23 05:08:46 EDT
Thanks for the fast response.

I haven't installed MyEclipse.
I wil attach my configuration details.
Comment 3 urs zeidler CLA 2006-10-23 05:11:32 EDT
Created attachment 52504 [details]
My current configuration.

The configuration details from my current installation.
Comment 4 Richard Kulp CLA 2006-10-23 10:08:08 EDT
I'm afraid nothing stands out in the configuration that I can see that would cause a problem.

First, does it fail with the current installation, but a brand new workspace, not the old one you have? That would indicate something in the workspace.

One thing that shouldn't matter, but you look like you are Eclipse 3.2.0, but up to date on the other stuff. You should upgrade to Eclipse 3.2.1 since VE 1.2.1 was built on that. But I don't think it will make a difference, there wasn't anything that I can think of in 3.2.1 that would be different from 3.2.0 that would cause a problem.

The next step would be to go back a basic configuration and start installing extra features one at a time until it breaks. Sorry.
Comment 5 urs zeidler CLA 2006-10-23 10:40:12 EDT
Before i send this bug report i played a lot with uninstalling features, to get the VE work, so this is why i have Eclipse 3.2.0 as the active feaure.
The VE won't work in any of my workspaces, i have decided to take a new workspace to make things easier.

So i'm afrait i have to take the next step, you suggested.
If i got something should i post it here ?
Comment 6 Richard Kulp CLA 2006-10-23 10:56:52 EDT
Let me know what happens. Thanks.
Comment 7 urs zeidler CLA 2006-10-24 05:53:29 EDT
The ATL pluggins (http://www.eclipse.org/gmt/atl/) are causing the problem.
I find it a bit odd because they didn't use jem, but they are still for  	eclipse 3.1.2 and  EMF 2.1.2, so i would expect, they fail, not the VE.

I will inform them as well.
Thanks for your time.
Comment 8 David Williams CLA 2007-09-19 15:12:22 EDT
As part of some general bugzilla cleanup, I am marking all old JEM bugs as "won't fix" simply because JEM is in maintenance mode, and there are no plans to fix these old bugs. 

If I have mistaken marked something that is still a current problem in the latests releases from WTP, please re-open. 

Comment 9 Philippe Ombredanne CLA 2007-09-20 18:51:17 EDT
Moving back to VE.