Community
Participate
Working Groups
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)
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.
Thanks for the fast response. I haven't installed MyEclipse. I wil attach my configuration details.
Created attachment 52504 [details] My current configuration. The configuration details from my current installation.
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.
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 ?
Let me know what happens. Thanks.
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.
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.
Moving back to VE.