"Generation failed" - DC build failed!

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

Similar Messages

  • Generation failed when doing a build in NWeaver studio

    Hi experts,
    while doing a dc build in my netweaver studio, i got a error.  I ve checked all my codes and that there are no syntax error. Somehow there is something preventing the generation process. The log found recorded an error but never gave a hint as what could be the possible error. So i ve no clue what is causing the generation to fail. Please see log captured below. Is there anyway i can find out the cause of this error ?
    Thanks a lot !
    Rgds,
    Daniel
    ===========================================================================
        [wdgen] [Info]    com.sap.webdynpro.generation.ant.GenerationAntTaskError
         [wdgen]      at com.sap.webdynpro.generation.ant.GenerationAnt.showCheckResult(GenerationAnt.java:157)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2047)
         [wdgen]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
         [wdgen]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
         [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:116)
         [wdgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
         [wdgen]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
         [wdgen]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
         [wdgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         [wdgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         [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.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         [wdgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         [wdgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         [wdgen]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         [wdgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         [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 (com.sap.webdynpro.generation.ant.GenerationAntTaskError)
         [wdgen] ERROR: Generation failed due to errors (26 seconds)
    Error: C:\Documents and Settings\pmsdla\.dtc\1\DCs\com.diagonal\appl\sd\workmenu\_comp\gen\default\logs\build.xml:98: [Error]   Generation failed!
         at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:254)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:116)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:59)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:214)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:186)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:99)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:73)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:6004)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
         at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Ant runtime 38.094 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Build plugin finished at 2009-05-20 10:56:11 GMT+08:00 (SGT)
    Total build plugin runtime: 41.438 seconds
    Build finished with ERROR
    Edited by: Daniel  Lam on May 20, 2009 5:31 AM

    Hi Rajat,
    Thanks a lot. Indeed i found the error in task view.
    It is referring to a window in my webdynpro application.
    "window has no InterfaceView".
    Indeed the interface view is not there and there is no option for me to create the interface view.
    So what i did is to delete the window so that i can create a new one and the interface view will thus be generated. But when i tried to delete the window, a null pointer exception window is pop out.
    I remember when i created this window the other time, there was an exception.
    So the question is how to create the interface view ?
    Thanks
    Regards,
    Daniel

  • Getting error 'generation failed' when tried to build the CAF application

    Hi All,
    I have created the webdynpro application for the human activity.I have created CAF Application for automated activity.But when I tried to generate and build the CAF application,I am getting an error 'generation failed-com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.-Problem with WSDL file parsing. See nested message.-unknown protocol: c'
    I am not able to get what does this error mean.Kindly suggest me some solution.
    Regards,
    Pranjali Silimkar

    > In note 1375494, I already installed vcredist_x64.exe (Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package (KB973552)). But even that, the error remained!
    This is the wrong patch - you need the patch for the Runtime 2005, not for 2008.
    Those kernels were build with Visual Studio 2005 and hence you need that runtime.
    Markus

  • EAR generation failed: Error calling Ant to jarSap archive

    Hi,
    I can't create the EARs in NetWeaver Developer Studio anymore. It is not possible for proxies and for Webservices. I got the error message: EAR generation failed: Error calling Ant to jarSap archive.
    What could be the problem?
    Thank you!
    Julia

    Hi,
    when I try to build the application archive before I can deploy a webservice, I got the error message: "EAR genearation failed! Reason: Error calling Ant to jarSap archive". When I try to generate the EAR for a proxy I got no error message at all but the EAR is not generated.
    Thank you!
    Julia

  • WARNING: ExternalInterface generation failed: WebServiceName : null

    Hello experts,
    I have created a WebService using stateless session bean and deployed it on J2EE server. After successfuly testing that webservice on the server, I tried to include it in a CAF project as an external service.
    But when I try to build the project after importing this webserice, I get error stating <b>WARNING: ExternalInterface generation failed: <WebServiceName>: null</b>
    Please guide me how do I make it workable.
    Regards,
    Ashutosh

    Hi
    Anybody has an update on this issue , i am also trying to create a Webservice in NWDS using BAPI
    Thanks
    Ram

  • Report generation fails with below error

    Hi Friends,
    This is an extarct from "ccat /var/opt/SUNWsymon/PRM/log/prm.log"
    Report generation fails for individual host but succeeds for all hosts.
    prmlog September 13, 2010 12:52:14 PM Thread-287: Begin loading files
    prmlog September 13, 2010 12:53:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:53:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:54:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:56:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 12:58:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-1: Got trap: 2
    prmlog September 13, 2010 12:59:51 PM HandlerThread-2: Got trap: 2
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: scp-2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Call CrScheduledRequestBroker.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: creature-t1000-08: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: sdp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: psp-1-region2: Report request generation failed.
    prmlog September 13, 2010 1:00:00 PM Parallel:0: Database Error occurs!
    prmlog September 13, 2010 1:00:00 PM Parallel:0: ERROR: relation "detail_temp_host" does not exist
    prmlog September 13, 2010 1:00:00 PM Parallel:0: SchedOP: Exception: shissun1: Report request generation failed.
    prmlog September 13, 2010 1:00:05 PM Thread-294: Report successfully posted to web server.
    prmlog September 13, 2010 1:01:01 PM HandlerThread-0: Got trap: 2
    prmlog September 13, 2010 1:03:54 PM HandlerThread-0: Got trap: 2
    In /tmp directory I could see database logs directory (/tmp/SunMCDBLogFiles)
    Below is an extarct from "db-start-sql.log"
    ERROR: table "summ_temp_events" does not exist
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    LOG: autovacuum: processing database "postgres"
    LOG: autovacuum: processing database "sunmc"
    WARNING: there is already a transaction in progress
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (21)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (26)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (25)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    WARNING: there is already a transaction in progress
    ERROR: table "summ_temp_events" does not exist
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (42)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    PL/pgSQL function "sp_get_nonperf_summary_data" line 92 at assignment
    ERROR: relation "detail_temp_host" does not exist
    CONTEXT: SQL statement "INSERT INTO detail_temp_host (host_id) VALUES (1)"
    PL/pgSQL function "get_alarm_data_ids" line 203 at execute statement
    Kindly suggest me.. This SUNMC is doing more than killing.
    Thanks
    Srini

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Cisco ISE 1.1.1.268 Giving error (Report Generation failed. Cause: Null)

    I have this issue and I would be very thankful if someone has the answer for this. When I am trying to access Operation > Report > Catalog > Posture > Posture Detail Assessment & clicking on any posture session detail icon. I am getting following attached errors.
    1.     Report Generation failed. Cause: Null
    2.     Cannot execute the statement.
    Does anyone knows how to get rid of this error & to get access of posture detail.
    Thanks

    The error message means that Active Directory server Reject the authentication attempt
    as for some reasons the user account got locked.I guess, You should ask your AD Team to check in the AD
    Event Logs why did the user account got locked.
    Under Even Viewers, You can find it out
    Regards
    Minakshi (Do rate the helpful posts)

  • Rule Generation fails

    Hello!
    We have an issue. After installation few month ago we uploaded standard files (according to postinstall steps) and now we are trying to load modified action/permission files.
    We have a problem with Rule Generation programm. During rule generation job we have got a problem:
    "Error while executing the Job:ERROR: Risk: F001 has exceeded the maximum number of rules (46,655) that can be generated for a risk"
    According to note #1310365 on our side for F001 is all correct: F001 risk consist of two Functions - GL01 and GL02. GL01 has 168 actions, and GL02 has 56 actions, i.e. total 9408 rules (168*56). We think that it happens because we uploaded files for all systems and groups (for DEV200, PRD400and their group ERP Systems; for PRD420 and its group CUA), in this case 9408 * 5 (number of systems)=47040.
    We have tried to upload empty files (action/permission with only one string in each), we hoped that it cleaned all information, and after this we can load SoD again. But it doesn't help...
    What can we do?
    P.S. [thread |Rule Generation fails - maximum no of rules 46655; has been watched
    Regards,
    Artem

    Artem,
    After close study , i think i found some key point.
    Per SAP note 1310365, max number of risk allowed per function are
    tcodes in function1 X tcodes in func2 X 3
    per example in note
    Suppose you have a risk (P086) that includes three functions:
    MD12 with 21 actions
    BR08 with 46 actions
    TS22 with 34 actions
    This particular risk applies to three different versions of SAP, all running on your environment. In this example, P086 translates to 98,532 distinct rules.
    98,532 = 21x46x34x3
    also since you had already uploaded standard rule sets........ and when you upload modified files....... it must be containing old tcodes also........ those should be removed.
    regards,
    Surpreet

  • Receiving Error Message : Cost Of Goods Sold Account Generation Failed

    Hi All,
    We need some assistance with this issue...for a given item when the Customer RMA order Line is being received into a given organization/sub inventory/locator we are getting this error message in the Receiving Transactions Interface ( RTI ) as mentioned below.
    Cost Of Goods Sold Account Generation Failed with error :RVTII-030: Subroutine rvtiicreate() returned error
    Cause: Subroutine rvtiicreate() returned an internal error.
    We checked for this item in the organization the Cost of Goods Sold Account has been defined in the Costing Tab in the Item-Org Assignment and this GL account is also enabled on the GL side and is Active.
    The scenario is like this :
    1. Firstly this item is shipped out on an Outbound order line to the customer location and we checked for the valid Sales Order Issue transaction against this item for this order. We checked for its Inventory Distributions as well.. these look to be valid.
    It shows : Inventory valuation account is decremented while the Deferred Cogs of Goods Sold account is incremented.
    2. Then this item is being entered on Return order line and after booking the order line . It goes to Awaiting Return status. Next the user tries to attempt the Receipt for the Customer RMA order line for this item we are getting the error mentioned below in the RTI tables :
    Cost Of Goods Sold Account Generation Failed with error :RVTII-030: Subroutine rvtiicreate() returned error
    Cause: Subroutine rvtiicreate() returned an internal error.
    Coudl someone please assist us with this issue as this is happening in Production instance ..that would be very helpfull of you..
    This is an urgent issue
    thanks

    Hi,
    Standard workflow "OM : Generate Cost of Goods Sold Account" has following steps:
    1/ Start generating Code Combination
    2/ Get CCID for a line
    3/ Copy Values from Code Combination
    4/ Validate Code Combination
    5/ End generating Code Combination
    If I want to modify the segment4, the custom function to set the attribute FND_FLEX_SEGMENT4 need to be inserted just after the step "Copy Values from Code Combination" (NOT just after "Get CCID for a line").
    Is it what you have done?
    J.

  • Unable to open xsl file in Jdev 10.1.3.4.0.4270 (XSL Map generation failed)

    Hi Guys,
    I am trying to edit an XSL file using Jdeveloper 10.1.3.4 and it gives me the error "XSL Map generation failed. Please use the source editor to correct the problems and return to the design editor".
    In the Mapper Message Log i find these lines.
    Line Number:(44) : Error: "xsl:import" XSL Element Currently not Supported
    Line Number:(68) : Error: "xsl:apply-templates" XSL Element Currently not Supported
    Line Number:(67) : Error: <xsl:template match="/"> and <xsl:template name="..."> are the only permitted <template> elements in the XSL
    Any help / pointers is very much appreciated.
    Regards,
    Vik

    Perhaps better late than never...
    This is a limitation in JDeveloper that it cannot render an XSL in design/mapper view when it contains these features of XSL. Pretty much 100% of AIA transformations fall into this category.

  • Web Service Proxy Generation failed

    Hi @all,
    i would like to consume a web service with the adaptive webdynpro model, but the proxy generation fails. Attached you will find the log file of the NWDS:
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://ktkrs3580/Elan2Webservice/elan_service.asmx?WSDL' and service factory configuration '{DynamicProxy.ClassPath=D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.cmi_1.0.0/_cmi_api.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.exception_2.0.0/lib/exception.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/boot.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/iq-lib.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/util.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_lib.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/webservices_api.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.engine.webservices_2.0.0/lib/tc_sec_wssec_lib.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.runtime_2.0.0/lib/SapDictionaryTypesRuntime.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.dictionary.services_2.0.0/lib/SapDictionaryTypeServices.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/logging.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/loggingStandard.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0/lib/jARM.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0/lib/sapxmltoolkit.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/activation.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxm-api.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/saaj-api.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jaxrpc-api.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jnet.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/jsse.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0/lib/mail.jar;D:/Programme/SAP/IDE/IDE70/eclipse/plugins/com.sap.tc.webdynpro.model.webservice_2.0.0/lib/_webdynpro_model_webservice.jar;, DynamicProxy.INetProxy.Bypass=, DynamicProxy.INetProxy.Port=8080, DynamicProxy.Javac.path=C:\j2sdk1.4.2_12, DynamicProxy.TempDir=C:\DOKUME1\branch\LOKALE1\Temp\, DynamicProxy.INetProxy.Host=tknproxy}'
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
    at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.PageRenameWS.loadNameSpacesAndModelClasses(PageRenameWS.java:435)
    at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelDialog.nextPressed(ModelDialog.java:105)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
    at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
    at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
    at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
    at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
    at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
    at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
    at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
    at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
    at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
    at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
    at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
    at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
    at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
    ... 53 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation problem. See nested exception.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:283)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:147)
    ... 56 more
    Caused by: java.io.IOException: Compilation fails...
    C:\Dokumente und Einstellungen\branch\Lokale Einstellungen\Temp\DGenService1207743399620\types\p1\RelationCIShort.java:161: getIdCI() is already defined in types.p1.RelationCIShort
      public java.lang.Integer getIdCI() {
                               ^
    C:\Dokumente und Einstellungen\branch\Lokale Einstellungen\Temp\DGenService1207743399620\types\p1\RelationCIShort.java:164: hasIdCI() is already defined in types.p1.RelationCIShort
      public boolean hasIdCI() {
                     ^
    2 errors
    THX!
    Regards,
    Christian

    found the fix discussed on this blog... http://kingsfleet.blogspot.com/2008/07/working-round-xsdchoice-binding-issue.html

  • Generation failed????????

    I am using:Oracle JDeveloper 10g Release 2 (10.1.3) - Developer Preview
    I create J2EE web service using "J2EE 1.4(JAX RPC) web service" but have error:"WSDL and mapping file generation failed for the following reason"
    details>>
    oracle.j2ee.ws.common.tools.api.SeiValidationException
         at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.java:581)
         at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:455)............
    any thing wrong???

    Is the web service generated from a java class?
    Add a SEI interface for the java class to generate a web service. The SEI interface has the same methods as the java class.

  • Error : XSL map generation failed

    I am trying to map two XSD and generate the XSL file which will transform from one xml to another.
    Source XML
    +<root>+
    +<Hello>Well</Hello>+
    +<World>Thats</World>+
    +</root>+
    Destination XML
    +<root>+
    +<property name="Consumer" value="Well"/>+
    +<property name="Consumer" value="Thats"/>+
    +</root>+
    Since the the destination XSD has same element twice, in its XSD it appears only once. So there only one node in the XSL Map tree in the right side of the JDeveloper (version 11.1.1.5.0)
    I can only drag lines from either <hello> or <world> from the 1st XSD to the <property> element of the second XSD.
    When I changed the XML map's xsl source to match my requirement as follows
         +<xsl:template match="/">+
              +<root>+
              +<ns0:property>+
                   +<xsl:attribute name="name">+
                        +<xsl:text disable-output-escaping="no">Consumer</xsl:text>+
                   +</xsl:attribute>+
                   +<xsl:attribute name="value">+
                        +<xsl:value-of select="/root/Hello"/>+
                   +</xsl:attribute>+
              +</ns0:property>+
              +<ns0:property>+
                   +<xsl:attribute name="name">+
                        +<xsl:text disable-output-escaping="no">Consumer</xsl:text>+
                   +</xsl:attribute>+
                   +<xsl:attribute name="value">+
                        +<xsl:value-of select="/root/World"/>+
                   +</xsl:attribute>+
              +</ns0:property>+
              +</root>+
         +</xsl:template>+
    +</xsl:stylesheet>+
    It works when I test the xsl but I can not go back to the design mode, it is showing the following error
    Error : XSL map generation failed
    Error: This node is already mapped, repeating nodes not supported :
    I am not able to map (drag lines) any more due this error. Please suggest how to create repeating nodes in the destination XSD
    Edited by: neilghoshidc on May 21, 2012 6:53 PM

    The XSL Map error is only in Design mode. Runtime shouldn't generate an error.
    Also refer
    Notes on the Mapper
    http://docs.oracle.com/cd/B31017_01/integrate.1013/b28211/xslt_mpr.htm
    When you map duplicate elements in the XSLT Mapper, the style sheet becomes invalid and you cannot work in the Design view. The Log Window shows the following error messages when you map an element with a duplicate name:
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/ns0:rel"+
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:ind"+
    Error: This Node is Already Mapped  :
    +"/ns0:rulebase/for-each/ns0:if/ns0:atom/choice_1/ns0:var"+
    The workaround is to give each element a unique name.

  • Context generation failed

    Hi,
    Wonder if anyone face this kind of issue before?  How should I actualy solve this?
    Context generation failed in view BP_DATA/AccountShareholderList of UI Component BP_DATA
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    Method:  CL_BP_DATA_ACCOUNTSHAREH1_CTXT=>CREATE_ACCOUNT 
    Source Text Row:  25
    Initialization of view BP_DATA/AccountShareholderList of UI Component BP_DATA failed
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    Method:  CL_BP_DATA_ACCOUNTSHAREH1_CTXT=>CREATE_ACCOUNT 
    Source Text Row:  25
    Cannot display view BP_DATA/ShareholderWindow of UI Component BP_DATA
    An exception has occurred Exception Class  CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference 
    Method:  CL_BP_DATA_ACCOUNTSHAREH1_CTXT=>CREATE_ACCOUNT 
    Source Text Row:  25
    Initialization of view BP_DATA/ShareholderWindow of UI Component BP_DATA failed
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  165
    Cannot display view BP_HEAD/BPHEADOverview of UI Component BP_HEAD
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  165
    Cannot display window &.
    An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - 
    Method:  CL_BSP_WD_VIEW_CONTROLLER=>BIND_VIEW 
    Source Text Row:  165
    Thanks

    hi hui,
    u can remove (Dereferencing of the NULL reference ) this error :
    goto that line  and write above that this code:
    if entity( name of entity u r using in ur code) is not initial.
    ur code.
    endif.
    second error is due to imporper binding.
    Cheers,
    hem

  • FTP log file generation failed in shell script

    Hi ALL,
    I am doing FTP file transfer in shell script and able to FTP the files in to corresponding directory , But when i am trying to check the FTP status through the log files then its giving problem . please check the below code.
    for file in $FILENAME1
    do
    echo "FTP File......$file"
    echo 'FTP the file to AR1 down stream system'
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    open $ar1_server
    user $ar1_uname $ar1_pwd
    hash
    verbose
    cd /var/tmp
    put $file
    bye
    E`
    if [ -f $DATA_OUT/$file.log ]
    then
    grep -i "Transfer complete." $DATA_OUT/$file.log
    if [ $? -eq 0 ]; then
    #mv ${file.log} ${DATA_OUT}/../archive/$file.log.log_`date +"%m%d%y%H%M%S"`
    echo 'Log file archived to archive directory'
    #mv $file ${DATA_OUT}/../archive/$FILENAME1.log_`date +"%m%d%y%H%M%S"`
    echo 'Data file archived to archived directory'
    else
    echo 'FTP process is not successful'
    fi
    else
    echo 'log file generation failed'
    fi
    its giving syntax error end of file not giving the exact line number , please help me on thsi
    Regards
    Deb

    Thanks for ur reply
    Actually i did a mistake in the code i wrote the following piece of code below
    ret_val=`ftp -n> $file.log <<E
    #ret_val=`ftp -n << !
    so after the tilde symbol it as again taking the '# ' as a special character so it was giving error, so i removed the second line now its working fine.

Maybe you are looking for

  • Cd/dvd drive inoperable

    My CD/DVD drive will not open, nor will it "spin" after I place a disc in the draw (I had to manually open the drawer).  I have a Presario  F756NR notebook operating under Windows Vista  (32 bit).  The drive (according to the Device Manager screen) i

  • New include proram -user exit- sales order

    hi i have to create a new screen which has to be displayed as a pop up from the user exit "<u>userexit_save_document_prepare"</u> which is present in MV45AFZZ the processing logic for the screen should be written in include program which is to be inc

  • Borderless photos

    After replacing my computer tower (with a newer one with Windows 7) I needed to get help from HP to activate my printer: HP Photosmart 7350 by installing a substitute driver (Deskjet 5550 series (Hpa).  Now my printer works great, but I cannot print

  • Cmd Tab greying out creative suite User Interface

    Sometimes when I switch to a CS4 application using 'cmd Tab' the User Interface, Menu bar, tool palettes etc are a dark gray colour - grayed out and inactive. If I click on them they return to their usual appearance but its really annoying - is this

  • PLS-00123: Program too large error

    Hi, We have been getting a 'PLS-00123: Program too large' error while compiling a particularly large package on a *11g database*. The package has around 15000 lines of code. We are compiling the package using a third party IDE(PL/SQL Developer). I we