Error generating test suite schemas in JDeveloper

When I try to generate test suite schemas for my decision function I get unexcepted error in JDeveloper 11.1.1.7.0
java.lang.NullPointerException
  o.rules.testfmwk.util.TestUtil.findXMLSchemaNode(TestUtil.java:326)
  o.rules.testfmwk.util.TestUtil.getComplexElementReference(TestUtil.java:253)
  o.rules.testfmwk.impl.XSDGenerator.addArgumentSequenceSchemaElement(XSDGenerator.java:552)
  o.rules.testfmwk.impl.XSDGenerator.generateMessageTypesXSD(XSDGenerator.java:263)
  o.rules.testfmwk.impl.DFTestSuiteDefinition.generateTestSuiteSchema(DFTestSuiteDefinition.java:76)
  o.rules.testfmwk.impl.DFTest.initTestDefinition(DFTest.java:82)
  o.rules.testfmwk.impl.DFTest.createTestDefinition(DFTest.java:68)
  o.tip.tools.ide.rules.editor.decisionfunctions.RulesTestManager.createTestDefinition(RulesTestManager.java:76)
  o.tip.tools.ide.rules.editor.decisionfunctions.DecisionFunctionsPanel.generateTestSchemas(DecisionFunctionsPanel.java:538)
  o.tip.tools.ide.rules.editor.decisionfunctions.DecisionFunctionsPanel.actionPerformed(DecisionFunctionsPanel.java:563)
  jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
  jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
  jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
  jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
  jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
  j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
  j.a.Component.processMouseEvent(Component.java:6297)
  jx.s.JComponent.processMouseEvent(JComponent.java:3275)
  j.a.Component.processEvent(Component.java:6062)
  j.a.Container.processEvent(Container.java:2039)
  j.a.Component.dispatchEventImpl(Component.java:4660)
  j.a.Container.dispatchEventImpl(Container.java:2097)
  j.a.Component.dispatchEvent(Component.java:4488)
  j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
  j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
  j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
  j.a.Container.dispatchEventImpl(Container.java:2083)
  j.a.Window.dispatchEventImpl(Window.java:2489)
  j.a.Component.dispatchEvent(Component.java:4488)
  j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
  j.a.EventQueue.access$400(EventQueue.java:81)
  j.a.EventQueue$2.run(EventQueue.java:633)
  j.a.EventQueue$2.run(EventQueue.java:631)
  j.security.AccessController.doPrivileged(Native Method)
  j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
  j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
  j.a.EventQueue$3.run(EventQueue.java:647)
  j.a.EventQueue$3.run(EventQueue.java:645)
  j.security.AccessController.doPrivileged(Native Method)
  j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
  j.a.EventQueue.dispatchEvent(EventQueue.java:644)
  j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
  j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
  j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
  j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
  j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
  j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Any ideas how to solve this problem?

Hi Kumar,
As per SAP,
Generally, this error is caused by the complex typing of the parameter of the function module.
The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
Let me know if you have any other doubts.
regards,
Naveen Veshala

Similar Messages

  • Error generating test frame - smartform -flat structure

    When i run the smartform,its giving an error message saying "Error generating test frame".When i run through driver program it gives dump saying "zmbook must be flat structure".
    Now the problem is in smartform -> form interface -> tables it_test like zmbook
    its saying zmbook must be flat structure.
    here zmbook is transparent table.but says use flat structure.
    i tried it through structure also but says use flat structure.
    i tried it through table type of tructure also but says use flat structure.
    can anyone help me out
    regards sajid

    Hi shaik,
    Create the table type for zmbook in se11 and include this table  type in the form interface.
    Goto se11 : datatype-->yy_book
                      select table type
    In the line type : Zmbook.
    Goto smartforms and in the form interface include this yy_book.
    Regards,
    Sravanthi

  • Error  generating test frame  in FM

    Hi
    I am not able to run the  FM SAP_CONVERT_TO_XLS_FORMAT. i got message like
    error generating the test frame. Anyone pls advise me if i am wrong

    Hi Kumar,
    As per SAP,
    Generally, this error is caused by the complex typing of the parameter of the function module.
    The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
    My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
    Let me know if you have any other doubts.
    regards,
    Naveen Veshala

  • Error generating test frame

    hi i ma getting following error  as a pop up when i try to execute one of my programs:
    ERROE GENERATING TEST FRAME
    Can any one suggest a solution

    Hi Kumar,
    As per SAP,
    Generally, this error is caused by the complex typing of the parameter of the function module.
    The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
    My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
    Let me know if you have any other doubts.
    regards,
    Naveen Veshala

  • Error during testing Application Module in JDeveloper 11.1.1 Tech Preview 3

    I am successfully using Jdeveloper 10.1.3 version
    now i am trying to use new JDeveloper version 11.1.1 but i am initially get this error while i am trying to test my buisness components.
    When i test my buisness components first time i got this error
    ORA-01866: the datetime class is invalid
    and on same window when i click on re-execute query on context menu of any view object it gives an proper output.
    so plz try and find the solution i am stuck up here,
    how can i go ahead when initially buisness component want work ??
    Thank In Advance
    Jaydip Bosamiya

    Hi,
    are you running an application you migrated from 10.1.3 to 11, or is it one that you created in JDeveloper 11. If its a migration case, can you try and re-create the part of the module in JDeveloper 11 to see if this reproduces. To me this sounds like a migration issue. Once you verified this, can you post the reply on JDeveloper and OC4J 11g Technology Preview
    which is the JDeveloper 11 forum?
    Frank

  • Error during generate test plan

    I'm trying to generate a test plan in Microsoft test Manager 2013 but during the criation of the template always appears the same error.
    the error is "Application detected an unexpected fault
                       Running transformation: System.NullReferenceException: Object reference not set to an instance of an object.
                      atMicrosoft.VisualStudio.TextTemplating04F88A763EC75D0A56EFDCF2B8809A952EF3E8E3357BFF2D9D4011312F
                     1B1B7156AE7547C446AFAB5B0446F4365E959CE585F7E56BFF574A1A1FDA6152DD705D.
          GeneratedTextTransformation.TransformText() in c:\Users\2363\AppData\Local\Temp\testplan\TestPlanSection.tt:line 151"
    Some test cases are active, and i'm trying generate a documente too know what expect.
    Thank you foll the help you can give.

    Hi,
    How do you generate test plan in MTM, please provide the detail steps. Do you clone test plan in MTM? What’s the version of your TFS?
    # Copying and cloning test suites and test cases (Clone a test plan and its test case section)
    https://msdn.microsoft.com/en-us/library/hh543843.aspx#sectionToggle3
    On the other hand, please try to clean TFS cache and try again. (Delete the cache folder, which path like C:\Users\[user name]\AppData\Local\Microsoft\Team Foundation\5.0)
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error while running ADF-BC Test Suite from command line

    Hi,
    I have created a separate test project containing the Test Suite for the Model componenet of my ADF-BC  application.
    I need to run this test project separately from jmeter.
    The tests run fine from Jdev, But when I package the test project into a jar and try to run from command line, I get the following error:
    java.lang.NoClassDefFoundError: oracle/jbo/ApplicationModule
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<init>(ServiceAMFixture.java:36)
            at com.oracle.cs.cap.module.applicationModule.ServiceAMFixture.<clinit>(ServiceAMFixture.java:15)
            at com.oracle.cs.cap.module.view.EntitlementReportDurationViewVO.EntitlementReportDurationViewVOTest.<init>(EntitlementReportDurationViewVOTest.java:11)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72)
            at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79)
            at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
            at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.runners.Suite.access$000(Suite.java:26)
            at org.junit.runners.Suite$1.run(Suite.java:93)
            at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
            at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
            at org.junit.runners.Suite.run(Suite.java:91)
            at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)
            at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:28)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:130)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:109)
            at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
            at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)
            at org.junit.runner.JUnitCore.main(JUnitCore.java:44)
    Caused by: java.lang.ClassNotFoundException: oracle.jbo.ApplicationModule
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 27 more
    The Test project jar is created as ADF Library JAR File with Model.jpr as the dependent project. This takes care of project class dependencies
    All the adf library dependencies are added to the manifest file of the Test Project jar referring to a location lib/ in the jar file directory.
    I tried creating the ApplicationModule using both Configuration class (Configuration.createRootApplicationModule) as well as using the JDBC Connection String but both fail when I run the test cases independently from jmeter.
    Anybody came across such an error? Please help.
    Thanks,
    Sapna

    Hi Timo,
    Im using JDev version 11.1.1.6.0.
    I checked the class path on the jdev console. All the library references are mentioned in the manifest.mf classpath of the test project like below:
    Manifest-Version: 1.0
    Class-Path: lib/identitystore.jar
    lib/adfm.jar
    lib/groovy-all-1.6.3.jar
    lib/adftransactionsdt.jar
    lib/adf-dt-at-rt.jar
    lib/adfdt_common.jar
    lib/adflibrary.jar
    lib/xmlparserv2.jar
    lib/db-ca.jar
    lib/jdev-cm.jar
    lib/ojmisc.jar
    lib/commons-el.jar
    lib/jsp-el-api.jar
    etc...
    So I expect the library references should be resolved looking at the manifest file.
    Another set of entries that I see in the jdev classpath are related to the Model project which is under test.
    -classpath
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\.adf;
    D:\CurrentProject_1\16_7_2013_3pm\11_7_2013\Model\classes;
    How do I put these entries into my class path? Will it be sufficient if I add the Model.jar into my test project classpath?
    Thanks,
    Sapna

  • Error while installing Mini SAP Basis system 4.6D test suite

    Hi Gurus,
    I am getting error while installing Mini SAP Basis system 4.6D test suite on my laptop. I trying to install this version under Windows Xp. I tried so many times to rectify this error but no use. i followed the instruction in the readme file.The error is below in quote.
    "InstController MakeStepsDeliver:108 connection to GUI of installation tool has been cut  off.Installation has been stopped."
    your help very much appreciated...
    Regards
    dinesh.a

    is win xp supported for mini sap 46d?
    -> try netweaver 2004s instead ...
    GreetZ, AH

  • WE60 - Error while generating the xml schema

    Hi
    Using the transaction WE60 I am trying to generate an XML schema for the BASIC type : DEBMDM06, Segment release - 7 and record type version - 3. Following error message is displayed. "Structure of segment E1T023W is unknown". Kindly let me know how to generate an XML schema successfully and what is the reason for this error to come up
    Regards
    Aruna

    Hi Aruna,
    It seems a dictionary error but it doesn't occurs to me. I can download the XML schema without problems in SAP ECC 6.0.
    If you let me know your email I can send it zipped to you.
    Reward points if helps.
    Roger

  • Error while running test suite

    Hi,
    I have installed TCL-8.5 on unix platform and configured Berkely DB with test suite.
    I then followed steps given in guide to run the test suite. On running the command
    "% source ../test/test.tcl", following error occurs.
    % source ../test/test.tcl
    couldn't load file ".libs/libdb_tcl-4.6.so": .libs/libdb_tcl-4.6.so: ELF file OS ABI invalid
    Could you please help me on this?
    Thanks
    Aman

    I have compiled tcl8.5 and run some simple tests using Berkeley DB, and it appears that Berkeley DB is fine with tcl8.5 (as well as tcl8.4).
    Searching for the error "ELF file OS ABI invalid" it seems to arise when people mix binaries from different platforms, for example attempting to use a Linux binary on a FreeBSD platform. Did you compile Tcl8.5 on the same platform you used for compiling Berkeley DB?
    Regards,
    Carol

  • Error trying to generate WSDL of webservice in JDeveloper 11.1.1.3

    Hey,
    Everytime I try to generate a WSDL of a webservice I get the following stack trace:
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getTypeReasons(JavaWebServiceValidator.java:882)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getInvalidValueTypes(JavaWebServiceValidator.java:1060)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getValidationErrors(JavaWebServiceValidator.java:241)
         at oracle.jdeveloper.webservices.model.CoreHashStructureModel.validate(CoreHashStructureModel.java:187)
         at oracle.jdeveloper.webservices.model.generator.Validation.action(Validation.java:65)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    I'm able to run this webservice via run and debug as well as "Test this webservice." It's just when I try to generate the WSDL from within jdeveloper that I get this message. I'm even able to view the WSDL file within the browser by adding ?WSDL at the end of the url for the web service endpoint. Any ideas?

    So, I need to have the @XmlSeeAlso() for this service to work since it relies on outside classes to run. But, I did remove the @XmlSeeAlso() from the class just to see if this would allow JDeveloper to generate the WSDL and when I do this I get the following stack trace:
    oracle.jdeveloper.webservices.tools.WsdlValidationException: java.lang.NullPointerException
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:376)
         at oracle.jdeveloper.webservices.tools.WebServiceTools.createWsdl(WebServiceTools.java:388)
         at oracle.jdeveloper.webservices.model.java.generator.CreateWSDL.createWSDL(CreateWSDL.java:281)
         at oracle.jdeveloper.webservices.model.generator.CommonCreateWSDL.action(CommonCreateWSDL.java:59)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: java.lang.NullPointerException
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1079)
         at oracle.j2ee.ws.tools.wsa.Util.genWSDL(Util.java:1559)
         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:597)
         at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
         at $Proxy42.genWSDL(Unknown Source)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:372)
         ... 5 more
    Caused by: java.lang.NullPointerException
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateGlobalElement(WSDLTypesGenerator.java:308)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateWrapperGlobalElements(WSDLTypesGenerator.java:226)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateTypes(WSDLTypesGenerator.java:134)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateTypes(WSDLGenerator.java:236)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateWsdlForOnePortType(WSDLGenerator.java:190)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generate(WSDLGenerator.java:157)
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1074)
         ... 13 more
    Edited by: user12883803 on Jun 25, 2010 7:02 AM

  • Error generating the Test Frame

    Hello all,
    I have created few Function Modules (SE37) which are working fine on the dev system. After I moved them to the Quality system, when I tried to run them, all of them are giving this error before even going to the test screen:
    "Error generating the test frame"
    When I check the details of the error, by clicking on the "?" on the error window, it says there is a missing structure, that I have used in my FM. But the structure is not missing. It does exist in the system (I checked from SE11)
    Can someone tell me how I can resolve this problem?
    Thanks and Regards,
    Reena

    Hi,
    Just go to ST22 and see the dump created. It will tell you the table or structure name ( Standard ) that is missing/inconsistent in the quality system.  You can consult with your basis team to rectify this. Some tables may be partially active or with run time inconsistencies.
    Regards,
    S. Chandra Mouli.
    Message was edited by:
            Chandramouli Subburathinam

  • E message in production server Error generating the test frame

    Hi all experts
    I developed a object using layout in smartforms ....
    we have 3 server in my company .....
    1] development
    2] Quality
    3] produ
    it is giving me a error 'Error generating the test frame'
    plz tell me
    thanx

    Hi all experts
    I developed a object using layout in smartforms ....
    we have 3 server in my company .....
    1] development
    2] Quality
    3] produ
    it is giving me a error 'Error generating the test frame' while i am checking testing after export and inport into final production server ..
    can any one plz tell me the solution.....
    plz tell me
    thanx

  • Smartform-Error generating the test frame

    i am passing a internal table to a smartform and defined the associated type for that internal table under TYPES tab of the Global Definition.
    While testing  the smartform it gives a runtime error i.e. Error generating the test frame.
    kindly advice where i am going wrong
    Thanks
    Ravi

    Hi Ravindra ,
    Test such smartforms with a program and not through SE37 .  Not supported see error message -
    <b>The test framework for /1BCDWB/SF00000031 has been regenerated but errors have occurred
    Message no. FL821
    Diagnosis
    One reason can be the complex typing of the function module parameters.
    In certain circumstances you cannot access the test cases in the test data directory.
    Procedure
    The test environment of the function builder cannot map (or map correctly) complex types, so that you cannot read or write this data to the test database.</b>
    Cheers

  • Help!! Error generating the test frame..

    i created a smartfrom and i am trying to fetch data into it. the program is bug free and was activated.
    but during execution it popped up this msg..
    Error generating the test frame
    Message no. FL819
    Diagnosis
    The system could not generate a syntactically correct test frame for function module /1BCDWB/SF00000166. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
    The error message is:
    "ZCIVILBOQ" must be a flat structure. You cannot use internal tables, strings, references, or structures as components .
    System Response
    Procedure
    Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.
    Procedure for System Administration
    plzz help..
    Edited by: Sumit Nene on Dec 31, 2008 5:30 AM

    the table zcivilboq has already been defined in DDIC. why to define it in th form?
    yes but i have created an Internal table IT like zcivilboq in form interface.

Maybe you are looking for

  • Mail 2.1 / Entourage/ MS Exchange

    I've searched all over the forums and Google but couldn't find the answer I needed. My company uses Exchange and I successfully setup Entourage. Public folders work, email works, calendars works, etc. The only issue I have with it still is setting up

  • I only import referenced pictures, why y do I have large  Aperture library?

    Firstly, thank you all for your answers to my previous posts You are helping me wonderfully in migrating to Aperture Given my increasingly limited disk space and other management reasons, i only import referenced pictures leaving them in their origin

  • Mapping Dock Version field in Shipment Create

    Hi Guru's i am facing problem in mapping dock version field in shipment create. Details are as fallows.............. Dock Version reference number is mapping to VTTK-TPBEZ(Shipment Description) from TIBCO. And the reqiure ment is there was a field  V

  • Best way to scan from office jet pro 8600 to mac pro and attach to email

    What is the best way to scan from an officejet pro 8600 printer to a mac pro desktop, attach and scan?

  • Error when i try execute report in SCCM 2012 R2

    Hello, good morning. Sorry for my english. Im Brazilian! I have an environment with SCCM 2012 R2 and when I run a direct report server I get the following error: The DefaultValue expression for the report parameter 'UserTokenSIDs' contains an error: