on 08-02-2007 2:17 PM
Hi,
I have two DCs: Comp A and Comp B. If I build Comp A or Comp B it's OK !
If I import comp B public part into compA and I build comp A it's OK!
If I add in used web dynpro component of comp A, a component of comp B and I build comp A, the build fails.
I already tried to import other components into CompA or to import Comp B into other components and I havent't any problems in these cases!
The Error log is:
...
[echo] Starting WebDynpro generator
[wdgen]
...
[wdgen] [Info] Generating configuration/Components/g008gestportammterrbizcomppkg.G008GestPortAmmTerrBizComp/G008GestPortAmmTerrBizComp.xml
[wdgen] [Info] Generating packages/g008gestportammterrbizcomppkg/wdp/ResourceG008GestPortAmmTerrBizComp.properties
[wdgen] [Info] Generating packages/g008gestportammterrbizcomppkg/wdp/ResourceG008GestPortAmmTerrBizComp_it.properties
[wdgen] [Info] Catching throwable null
[wdgen] [Info] java.lang.NullPointerException
[wdgen] at com.sap.ide.webdynpro.generation.util.viewset.ServiceViewSetGeneration.cleanTemplateViewInstances(ServiceViewSetGeneration.java:161)
[wdgen] at com.sap.ide.webdynpro.generation.util.viewset.ServiceViewSetGeneration.cleanTemplateViewInstances(ServiceViewSetGeneration.java:111)
[wdgen] at com.sap.ide.webdynpro.generation.Generation.undoTransientGenerationForWindowsViewsetsToViews(Generation.java:625)
[wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursivly(Generation.java:1779)
[wdgen] at com.sap.ide.webdynpro.generation.Generation.doPersistentGenerationForComponentRecursivly(Generation.java:1736)
[wdgen] at com.sap.ide.webdynpro.generation.Generation.generatePersistentArchive(Generation.java:1610)
[wdgen] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:215)
[wdgen] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wdgen] at java.lang.reflect.Method.invoke(Method.java:324)
[wdgen] at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
[wdgen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[wdgen] at org.apache.tools.ant.Task.perform(Task.java:364)
[wdgen] at org.apache.tools.ant.Target.execute(Target.java:341)
[wdgen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[wdgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[wdgen] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:111)
[wdgen] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:62)
[wdgen] at com.sap.tc.buildplugin.AbstractPlugin.handleBuildStepSequence(AbstractPlugin.java:222)
[wdgen] at com.sap.tc.buildplugin.AbstractPlugin.performBuild(AbstractPlugin.java:199)
[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wdgen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wdgen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wdgen] at java.lang.reflect.Method.invoke(Method.java:324)
[wdgen] at com.sap.tc.buildtool.PluginCommunicator.maybeInvoke(PluginCommunicator.java:114)
[wdgen] at com.sap.tc.buildtool.PluginCommunicatorV2.communicate(PluginCommunicatorV2.java:42)
[wdgen] at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:354)
[wdgen] at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:176)
[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
[wdgen] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5615)
[wdgen] at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
[wdgen] at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
[wdgen] at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
[wdgen] at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
[wdgen] ERROR: Unknown exception during generation null (java.lang.NullPointerException)
[wdgen] ERROR: Generation failed due to errors (8 seconds)
Ant runtime 26.782 seconds
Ant build finished with ERRORS
[Error] Generation failed!
Error: Build stopped due to an error: [Error] Generation failed!
Build plugin finished at 2007-08-02 15:02:52 GMT+01:00 (CEST)
Total build plugin runtime: 28.844 seconds
Build finished with ERROR
Someone can help me?
Best Regards
Hello Frattini
The error stack clearly mentions existence of a null pointer. I think, you should check for null pointer in comp B, most probably it must be in the wdDoInit of that comp. Also, thoroughly check comp B for any errors that you must be ignoring.
I hope this helps you.
Regards
Kapil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.