Skip to Content
0
Former Member
Apr 05, 2015 at 03:57 AM

YCompose dType due to missing super type 'SimpleCMSComponent' error?

886 Views

HI,

I am new to hybris, Here I have created a new extension using yaddon template. after that updated the system. Its working fine. But, when I am going to add custom component using SimpleCMSComponent in extensionname-items.xml and doing ant operation, it showing following error. while creating extension using yaddon I followed every step provided by wiki. Really I don't know where I miss. Can any one please help me on this.

BUILD FAILED F:\praveen\Hybris\hybris-commerce-suite-5.0.3.0\hybris\bin\platform\build.xml:24 : The following error occurred while executing this line: F:\praveen\Hybris\hybris-commerce-suite-5.0.3.0\hybris\bin\platform\resources\an t\compiling.xml:63: The following error occurred while executing this line: F:\praveen\Hybris\hybris-commerce-suite-5.0.3.0\hybris\bin\platform\resources\an t\antmacros.xml:698: The following error occurred while executing this line: F:\praveen\Hybris\hybris-commerce-suite-5.0.3.0\hybris\bin\platform\resources\an t\antmacros.xml:701: java.lang.IllegalArgumentException: unexpected parse error at whitespaceaddon-items.xml: error parsing system whitespaceaddon at lines [26- 45] : invalid composed type FileDownloadComponent::((whitespaceaddon))::YCompose dType due to missing super type 'SimpleCMSComponent' at de.hybris.bootstrap.codegenerator.CodeGenerator.readTypeSystem(CodeGe nerator.java:278) at de.hybris.bootstrap.codegenerator.CodeGenerator.getTypeSystem(CodeGen erator.java:90) at de.hybris.bootstrap.codegenerator.jalo.JaloClassGenerator.generateCla sses(JaloClassGenerator.java:50) at de.hybris.bootstrap.codegenerator.CodeGenerator.generateJaloClasses(C odeGenerator.java:228) at de.hybris.bootstrap.codegenerator.CodeGenerator.generate(CodeGenerato r.java:200) at de.hybris.bootstrap.codegenerator.CodeGenerator.generate(CodeGenerato r.java:447) at de.hybris.ant.taskdefs.compiling.CodeGeneratorTask.execute(CodeGenera torTask.java:31) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav a:396) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav a:396) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.jav a:396) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.Target.performTasks(Target.java:456) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) at org.apache.tools.ant.Project.executeTarget(Project.java:1364) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1248) at org.apache.tools.ant.Main.runBuild(Main.java:851) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: de.hybris.bootstrap.xml.UnknownParseError: error parsing system white spaceaddon at lines [26-45] : invalid composed type FileDownloadComponent::((whi tespaceaddon))::YComposedType due to missing super type 'SimpleCMSComponent' de.hybris.bootstrap.xml.UnknownParseError: error parsing system whitespaceaddon at lines [26-45] : invalid composed type FileDownloadComponent::((whitespaceaddo n))::YComposedType due to missing super type 'SimpleCMSComponent' java.lang.IllegalStateException: invalid composed type FileDownloadComponent::(( whitespaceaddon))::YComposedType due to missing super type 'SimpleCMSComponent' at de.hybris.bootstrap.xml.XMLContentHandler.endElement(XMLContentHandle r.java:213) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme nt(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanEndElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U nknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next (Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp l.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U nknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So urce) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un known Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p arse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown S ource) at de.hybris.bootstrap.xml.Parser.parse(Parser.java:307) at de.hybris.bootstrap.xml.Parser.parse(Parser.java:286) at de.hybris.bootstrap.typesystem.xml.HybrisTypeSystemParser.parseExtens ionSystem(HybrisTypeSystemParser.java:117) at de.hybris.bootstrap.codegenerator.CodeGenerator.readTypeSystem(CodeGe nerator.java:274) ... 77 more Caused by: de.hybris.bootstrap.xml.UnknownParseError: error parsing system white spaceaddon at lines [26-45] : invalid composed type FileDownloadComponent::((whi tespaceaddon))::YComposedType due to missing super type 'SimpleCMSComponent' java.lang.IllegalStateException: invalid composed type FileDownloadComponent::(( whitespaceaddon))::YComposedType due to missing super type 'SimpleCMSComponent' at de.hybris.bootstrap.typesystem.xml.AbstractTypeSystemTagListener.proc essError(AbstractTypeSystemTagListener.java:55) at de.hybris.bootstrap.xml.DefaultTagListener.endElement(DefaultTagListe ner.java:304) at de.hybris.bootstrap.xml.XMLContentHandler.endElement(XMLContentHandle r.java:207) ... 93 more Caused by: java.lang.IllegalStateException: invalid composed type FileDownloadCo mponent::((whitespaceaddon))::YComposedType due to missing super type 'SimpleCMS Component' at de.hybris.bootstrap.typesystem.YComposedType.getSuperType(YComposedTy pe.java:355) at de.hybris.bootstrap.typesystem.YTypeSystemLoader.modelGeneration(YTyp eSystemLoader.java:223) at de.hybris.bootstrap.typesystem.YTypeSystemLoader.loadComposedType(YTy peSystemLoader.java:195) at de.hybris.bootstrap.typesystem.xml.HybrisTypeSystemParser.loadNewItem Type(HybrisTypeSystemParser.java:597) at de.hybris.bootstrap.typesystem.xml.ItemTypeTagListener.processEndElem ent(ItemTypeTagListener.java:155) at de.hybris.bootstrap.xml.DefaultTagListener.endElement(DefaultTagListe ner.java:300) ... 94 more

Total time: 21 seconds

Thanks in advance