Skip to Content
0
Former Member
Mar 30, 2009 at 03:35 PM

Project creation error for ess application

21 Views

Hi All

I am trying to customize an ess application(skills profile ) for the first time . we are encountoring the following error when we try to Create Project (ess/skl) from inactive DC,s: (Build Failed)

I tried to sync sources but was of no help.

Kindly help.

[System.err] [Invoked from com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:153)]

[System.err] com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception:

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)

..........................

[System.err] Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> java.lang.NullPointerException

[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:155)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)

[System.err] ... 59 more

[System.err] Caused by: java.lang.NullPointerException

[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.setAttributeValue(RepositoryPersistence.java:185)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.parseRepositoryModelClass(XMLConfigurationParserWriter.java:970)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.startElement(XMLConfigurationParserWriter.java:716)

[System.err] at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.startElementEnd(SAXDocHandler.java:146)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1814)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)

.....

[[System.err] at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)

[System.err] at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)

[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)

[System.err] ... 60 more

[System.err]

[System.err] [Invoked from com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:225)]

[System.err] com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception:

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)

[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)

[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)

[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)

[System.err] at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)

[System.err] at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObject(Repository.java:555)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:333)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.findCorrespondingTargetObject(RuntimeRepositoryGenerator.java:305)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.fillAssociation(RuntimeRepositoryGenerator.java:242)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.copyAggregationTree(RuntimeRepositoryGenerator.java:144)

[System.err] at com.sap.tc.webdynpro.repository.conversion.RuntimeRepositoryGenerator.copy(RuntimeRepositoryGenerator.java:67)

[System.err] at com.sap.tc.webdynpro.repository.generation.ProgmodelRepositoryGenerator.doGenerate(ProgmodelRepositoryGenerator.java:168)

[System.err] at com.sap.tc.webdynpro.repository.generation.ProgmodelRepositoryGenerator.generate(ProgmodelRepositoryGenerator.java:80)

[System.err] at com.sap.ide.webdynpro.generation.runtime.RRApplicationGenerator.generate(RRApplicationGenerator.java:21)

[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[System.err] at java.lang.reflect.Method.invoke(Method.java:585)

[System.err] at com.sap.ide.generationfwk.task.GenerationTaskJavaMethod.executePersistent(GenerationTaskJavaMethod.java:147)

[System.err] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:219)

[System.err] at com.sap.ide.generationfwk.GenerationBase.doPersistentGeneration(GenerationBase.java:175)

[System.err] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForApplicationRuntimeRepository(Generation.java:182)

[System.err] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1616)

[System.err] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:215)

[

................................

.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

[System.err] at java.lang.reflect.Method.invoke(Method.java:585)

[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:347)

[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)

[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)

[System.err] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)

[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)

[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5633)

[System.err] at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction.buildDCs(DcCreateProjectAction.java:1027)

[System.err] at com.sap.ide.eclipse.component.provider.actions.dc.DcCreateProjectAction$1.execute(DcCreateProjectAction.java:299)

[System.err] at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:71)

[System.err] at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)

[System.err] at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:85)

[System.err] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

[System.err] Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception: -> java.lang.NullPointerException

[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:155)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)

[System.err] ... 59 more

[System.err] Caused by: java.lang.NullPointerException

[System.err] at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.setAttributeValue(RepositoryPersistence.java:185)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.parseRepositoryModelClass(XMLConfigurationParserWriter.java:970)

[System.err] at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter$ParsingHandler.startElement(XMLConfigurationParserWriter.java:716)

[System.err] at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.startElementEnd(SAXDocHandler.java:146)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1814)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)

[System.err] at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)

[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)

[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)

[System.err] at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)

[System.err] at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)

[System.err] at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)

[System.err] at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)

[System.err] ... 60 more

[wdgen] ERROR: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Generic Exception: , F:/Template/.dtc/0/t/7B4ED0BE027871726CD7928188870BCC/gen_wdp/configuration/Applications/com.sap.xss.hr.skl.SkillsApplication/SkillsApplication.xml

[wdgen] [Info] Catching throwable null

[wdgen] [Info] com.sap.webdynpro.generation.ant.GenerationAntTaskError

[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.printMessage(GenerationAnt.java:123)

[..................

[wdgen] ERROR: Unknown exception during generation null (com.sap.webdynpro.generation.ant.GenerationAntTaskError)

[wdgen] ERROR: Generation failed due to errors (77 seconds)

Error: F:\Template\.dtc\0\DCs\sap.com\ess\skl\_comp\gen\default\logs\build.xml:102: [Error] Generation failed!

at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:254)

.........................................

Ant runtime 1 minute 49.937 seconds

Ant build finished with ERRORS

[Error] Generation failed!

Error: Build stopped due to an error: [Error] Generation failed!

Build plugin finished at 2009-03-30 10:17:08 GMT-05:00 (ACT)

Total build plugin runtime: 2 minutes 23.609 seconds

Build finished with ERROR

Edited by: purav mehta on Mar 30, 2009 5:35 PM