SEHException is thrown when calling PrintOutputController.Export (CRXIR2ES)

Hi,
I am using CRXIR2 server embedded to run reports on a .net desktop application.
In one deployed environment, when trying to run one specific report, after calling:
crystalByteArray = reportClientDocument.PrintOutputController.Export(CrReportExportFormatEnum.crReportExportFormatCrystalReports , 0);
I get this exception:
Error occured during report [2661].[Kathy Classification Test] execution in RAS
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.Export(CrReportExportFormatEnum exportFormat, Int32 Reserved)
   at NiceApplications.ReporterEngine.ReportObject.CrystalReport.ExportToMemory()
Other reports run successfully on this environment, and this specific report runs successfully in all our test environemnts.
This only happens in deployed environemnt.
I can see in the profiler trace that the report's query finished successfully, with a result set of ~400 records.
I never seen this exception before and it seems like it can be caused by a lot of reasons.
Can someone please advise?
Thanks

Issues like this one can be quite hard to nail down. Do make sure that any memory management code has appropriate cleanup calls. It might be something that's become corrupted in the report file, especially if there's no difference between this report and other reports. Has this report been upgraded from a previous version of Crystal Reports? Does it connect to the same database? The same table?
Try replacing the report file on the failing server with one from a working environment.
The [Modules |https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip]utility can assist you by taking a snapshot of the DLLs loaded when the report fails. Compare this to a snapshot from the same report in a working environment and see if there are any differences.
Also, [Procmon |http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx]may help you follow the flow of the application to see if there are any red flags such as a file access issue.
As a last resort, you could recreate the report template.

Similar Messages

  • NullPointer exception while calling PrintOutputController.export()

    Hi Ted,
    I have a Web application running on tomcat 6.0.18. We use jrc 12.2.200 to call JAVA API for generating reports in PDF format and Cystal Report 2008 for report design.
    I am getting following exception intermittently.
    2009-05-01 16:47:45.859 GMT+05:30 ERROR ReportJob.java:137 Scheduler_Worker-10(34)] - [ Could not generate the Report.
    java.lang.NullPointerException
    at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
    at test.report.ReportJob.createPDFReport(ReportJob.java:123)
    at test.report.ReportJob.execute(ReportJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    2009-05-01 16:47:45.859 GMT+05:30 ERROR JobRunShell.java:211 Scheduler_Worker-10 - Job reportJobGroup.reportJob threw an unhandled Exception:
    java.lang.NullPointerException
    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.case(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
    at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
    at test.report.ReportJob.createPDFReport(ReportJob.java:155)
    at com.solidcore.as.report.ReportJob.execute(ReportJob.java:75)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    There are two use cases for generating PDF reports our application:
    1. A user clicks on a link on web, and the report is generated in PDF format and sent via http.
    At present we are creating a new
    ReportClientDocument for every request and using ExportControl.processHttpRequest() API
    the report in PDF format is sent user through response.
    2. Quartz schuduler trigger a job, whose work is to generate Report in PDF format into a file, and the
    generated pdf file is sent to users via mail.
    Here I use PrintOutputController.export() API to get the InputStream and use the input stream
    to create PDF file. The call PrintOutputController.export() is syncronized, so there will be only one call to export at a time.
    It is possible that a user is requesting a report on Web Page and the same report is being generated by Scheduler at the same time. A separate instance of ReportClientDocument is being used in each case. Since Report containse a huge data, and it takes time to generate PDF file so, it is possible that a given RPT file is opened by two spearate ReportClientDocuemnt (one via web user and other via Scheduler) at the same time.
    Please give idea about why the exception is comming.
    Thank you,
    Deepak

    Hi,
    Did you figure out the root cause?
    I am having the same issue.
    Could you please help?
    Thanks
    Arun

  • LogOnException thrown when calling ExportToStream

    Hi there, <br>
    <br>
    I am having real problems when calling the ExportToStream method on the ReportDocument class.<br>
    <br>
    I am trying to load a CrystalReport that is held in a Database field, apply parameters to that report (the values for the parameters) are also held in another database table, and then export the report (complete with the parameterised values) back to another record in the DB.<br>
    <br>
    All goes swimmingly until I try to call ExportToStream to finally place the report (with params) back in DB. When I get to this call I get a LogOnException thrown (Message: "Logon failed.
    Details: 08004:[Sybase][ODBC Driver][SQL Anywhere]Parse error: Invalid or missing keyword near 'DATABASE'
    Error in File C:\DOCUME1\BARRY1.ROB\LOCALS~1\Temp\tmp16C {8CF0E4A7-E74C-41DC-BF7E-5871D40432E9}.rpt:
    Unable to connect: incorrect log on parameters.").<br>
    <br>
    The code causing the excpetion is the call to ExportToStream below:<br>
    public void ProcessQueuedReports(string connectionString, ProcessQueueMode processMode, string providerName)<br>
    { <br>
    <br>
        List<ReportQueueDetails> queuedReportList = ReportQueueDetails.GetAllQueuedByPriority(connectionString);<br>
    <br>
          if (queuedReportList.Count > 0)<br>
        {<br>
                int numberToProcess = ReturnNumberToProcess(processMode,
          queuedReportList.Count);<br>
              for (int count = 0; count < numberToProcess; count++)<br>
              {<br>
                    SetQueueItemAsProcessing(queuedReportList[count]);<br>
                    if (reportReader.LoadReport(connectionString,
            queuedReportList[count].ReportDetailsRef,
            queuedReportList[count].ReportQueueDetailsRef, providerName))<br>
                    {<br>
                          ExportFormatType outputFormat =
            ReturnExportFormatType(queuedReportList[count].ReportFormatTypeCode);<br>
                    Stream reportStream = new MemoryStream();<br>
                         reportReader.Report.ReportOptions.EnableSaveDataWithReport = false;<br>
                          reportStream = reportReader.Report.ExportToStream(outputFormat);<br>
                          byte[] reportData = new byte[(int)                reportStream.Length];<br>
                          int numBytesToRead = (int)reportStream.Length;<br>
                          int numBytesRead = 0;<br>
                          reportStream.Position = 0;<br>
                          while (numBytesToRead > 0)<br>
                          {<br>
                                int n = reportStream.Read(reportData, numBytesRead, numBytesToRead);<br>
                                if (n == 0)<br>
                                      break;<br>
                                numBytesRead += n;<br>
                                numBytesToRead -= n;<br>
                           }<br>
                          queuedReportList[count].ReportOutput = reportData;<br>
                          queuedReportList[count].Update(IyssDateTime.CurrentDatabaseDateTime);<br>
                          SetQueueItemAsSuccess(queuedReportList[count]);<br>
                    }<br>
                   else<br>
                   {<br>
                          SetQueueItemAsFailed(queuedReportList[count]);<br>
                   }<br>
              }<br>
         }<br>
    }<br>
    <br>
    This is the LoadReport method called above:<br>
    <br>
    public bool LoadReport(string connectionString, int reportDetailsRef, int reportQueueRef, string providerName)<br>
    {<br>
          bool LoadSuccess = false;<br>
          ReportDetails report = IyssReportDetails.GetByRef(reportDetailsRef,
        connectionString);<br>
          byte[] reportData = (byte[])report.ReportData;<br>
          int size = reportData.GetUpperBound(0);<br>
          string tempFilename = Path.GetTempFileName();<br>
          if (tempFilename != "")<br>
          {<br>
                FileStream fs = new FileStream(tempFilename, FileMode.OpenOrCreate,
          FileAccess.Write);<br>
                fs.Write(reportData, 0, size);<br>
                fs.Close();<br>
                try<br>
                {<br>
                      LoadSuccess = LoadReport(tempFilename, connectionString, providerName);<br>
                      ProcessReportParameters(connectionString, reportQueueRef);<br>
                }<br>
                finally<br>
                {<br>
                      //File.Delete(tempFilename);<br>
                }<br>
          }<br>
          return LoadSuccess;<br>
    }<br>
    <br>
    The LoadReport method referenced in the above method is as follows:<br>
    <br>
    public bool LoadReport(string fileName, string connectionString, string providerName)<br>
    {<br>
          bool LoadSuccess = false;<br>
          _report = new ReportDocument();<br>
          _report.Load(fileName);<br>
          LoadSuccess = _report.IsLoaded;<br>
          if (LoadSuccess)<br>
          {<br>
                if (_report.ParameterFields.Count > 0)<br>
                      ProcessReportParametersBasedOnReportInfo();<br>
                SetReportDataConnection(_report, connectionString, providerName);<br>
          }<br>
          return LoadSuccess;<br>
    }<br>
    <br>
    And, what I guess is the crucial code, here is the SetReportDataConnection code:<br>
    <br>
    public void SetReportDataConnection(ReportDocument report, string connectionString, string providerName)<br>
    {<br>
          string Locn;<br>
          if ((report != null) && (report.DataSourceConnections.Count > 0))<br>
          {<br>
                for (int count = 0; count < report.DataSourceConnections.Count; count++)<br>
                {<br>
                      string dsnName = GetDSNName(connectionString, providerName);<br>
                      ConnectionInfo connectionInfo = RetrieveConnectionInfoFromRegistry(dsnName);<br>
                      Tables tables = report.Database.Tables;<br>
                      foreach(Table table in tables)<br>
                      {<br>
                            TableLogOnInfo tableLogonInfo = null;<br>
                            tableLogonInfo = table.LogOnInfo;<br>
                            tableLogonInfo.ConnectionInfo.ServerName = connectionInfo.ServerName;<br>
                              tableLogonInfo.ConnectionInfo.DatabaseName = "";<br>
                            tableLogonInfo.ConnectionInfo.UserID = connectionInfo.UserID;<br>
                            tableLogonInfo.ConnectionInfo.Password = connectionInfo.Password;<br>
                            table.ApplyLogOnInfo(tableLogonInfo);<br>
                            if (connectionInfo.UserID.ToUpper().CompareTo("DBA".ToUpper()) != 0)<br>
                            {<br>
                                  Locn = table.Location;<br>
                                  if (!Locn.StartsWith("Proc(", StringComparison.OrdinalIgnoreCase))<br>
                                  {<br>
                                        if ((!Locn.StartsWith("DBA", StringComparison.OrdinalIgnoreCase))
                 && (!Locn.StartsWith("SYS", StringComparison.OrdinalIgnoreCase)))<br>
                                              table.Location = "DBA." + Locn;<br>
                                      }<br>
                                }<br>
                          }<br>
                          report.DataSourceConnections[count].SetConnection
           (connectionInfo.ServerName, "", connectionInfo.UserID,
            connectionInfo.Password);<br>
                     }<br>
               }<br>
               if (!report.IsSubreport)<br>
               {<br>
                    if (report.Subreports.Count > 0)<br>
                    {<br>
                         for (int count = 0; count < report.Subreports.Count; count++)<br>
                         {<br>
                               SetReportDataConnection(report.Subreports[count], connectionString,
             providerName);<br>
                         }<br>
                    }<br>
               }<br>
          }<br>
    If anyone has any idea why the ExportToStream call in the first causes the Exception, or can point me in the direction of where I am going wrong in setting the report's data connection, I'd really appreciate it.<br>
    <br>
    Thanks In Advance<br>
    <br>
    <br>p.s. - tried to format this as best I could, apologies if it is not all that clear
    <br>
    <br> Development language is C# Using Visual Studio .NET 2008
    <br> Reports written in version 11 of Crystal Report.
    Edited by: silentbazz on Jun 3, 2009 6:07 PM

    You mention:
    "Development language is C# Using Visual Studio .NET 2008
    Reports written in version 11 of Crystal Report."
    But what version is the CR runtime used in your .NET 2008 app? (e.g.; what is the version of the CR assemblies referenced in your app - say crystalDecisions.Crystalreports.engine.dll?)
    Next, assuming you are using a version of CR supported with .NET 2008, I suppose the 1st question to ask is; is it export to stream, or is it incorrect db logon parameters that is causing the issue.
    I'd recommend starting with the basics:
    Simple app; viewer, load the report, let it do all the prompting. Does that work?
    If yes, add the logon code to the above app, let it prompt for any parameter it needs. Does that work?
    If yes, add the parameter code, does that work?
    If all of the above works, try to export the report from the above app using the viewer export button. Does that work?
    If that works, we're finally at the stage where we can point our finger at export to stream(?).
    Ludek

  • Error, package does not exist, thrown when calling jsp page

    Hi
    I have downloaded sample jsp pages for interaction with Crystal reports. When I compile these jsp pages in NetBeans 3.6 there are no problems. When I deploy these pages and associated libraries to Tomcat 5, I get the following error when attempting to call the jsp page, but all the jars used in NetBeans are present in the web-inf/lib directory and I have looked in the jars and found classes in the com.crystaldecisions.report.web.viewer package. I have been unable to find any information after googling and looking at the jakarta bug database. What am I doing wrong?
    The error...
    2004-09-22 17:40:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:9: package com.crystaldecisions.report.web.viewer does not exist
    import com.crystaldecisions.report.web.viewer.*;
    ^
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    Note: E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    3 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
         at java.lang.Thread.run(Thread.java:534)
    The offending page is ....
    <%
    /*==========================================================================
    INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE INTERACTIVE VIEWER
    ============================================================================
        - Create a Viewer object
        - Set the source for the  viewer to the client documents report source
        - Process the http request to view the report
        - Dispose of the viewer object
    // Create an Interactive Viewer
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    // Set the name for the interactive viewer
    viewer.setName("Crystal_Report_Interactive_Viewer");
    // Set the source for the interacive viewer to the client documents report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    %>included in...
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.*"%>
    <html>
    <head>
    <title>Begin Here - Simple Preview Report</title>
    </head>
    <body>
    <%
    /*=================================================================
    WORKING WITH THE REPORT APPLICATION SERVER AND JSP TO VIEW REPORTS
    ===================================================================
    Authors Name: Ken Andony
    Technology supported by the app: Report Application Server
      ALWAYS REQUIRED STEPS
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only
      INSTANTIATE THE REPORT VIEWER
       - Create a Viewer object
       - Set the source for the viewer to the client documents report source
       - Process the http request to view the report
       - Dispose of the viewer object
    ==================================================================*/
    * This line creates a string variable called reportname that we will use to pass
    * the Crystal Report filename (.rpt file) to the OpenReport method contained in
    * the AlwaysRequiredSteps.jsp.
    String reportName ="SimplePreviewReport.rpt";
    %>
    <%
    /* ALWAYS REQUIRED STEPS
      Include the file AlwaysRequiredSteps.jsp which contains the code
      for steps:
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only */
    %>
    <%@ include file="AlwaysRequiredSteps.jsp"%>
    <%
    /* INSTANTIATE THE REPORT VIEWER
      There are three Report Viewers:
      1.  Crystal Reports Interactive Viewer
      2.  Crystal Reports Viewer
      3.  Crystal Reports Parts Viewer
      The choices are CrystalReportsInteractiveViewer.jsp, CrystalReportsViewer.jsp,
      CrystalReportsPartsViewer.jsp
      Note that to use this include you must have the appropriate .jsp file in the
      same virtual directory as the main jsp page.
      =============================================================================
        DISPLAY THE REPORT
        - display the report using one of the Thin Client DHTML viewers
       Include one of the DHTML Viewers.
        - Crystal Reports Interactive Viewer          =   CrystalReportsInteractiveViewer.jsp
        - Crystal Reports Viewer                                        =   CrystalReportsViewer.jsp
        - Crystal Reports Parts Viewer                         =   CrystalReportsPartsViewer.jsp
        Note** - To use the report parts viewer successfully you are required to
        choose and name three objects in the report to Node0, Node1 and Node2.
        You can access an objects name by using the Format Editor dialog box.
        For more information on the Format Editor Dialog Box and setting objects
        names, please refer to the Help Contents (Help Menu->Crystal Reports Help)
        or by pressing F1
      =============================================================================*/
    %>
    <%@ include file="CrystalReportsInteractiveViewer.jsp" %>
    </body>
    </html>

    Thanks Tien-Chih Wang. It worked...well I'm getting a new set of errors, but progress has been made!
    I understand that if placed in the common directory the jar will be available to all webapps but why does it make a difference whether a jar file is placed under the $TOMAT_HOME/common/lib or $TOMAT_HOME/webapps/appname/web-inf/lib directory if I only need to access the jar from one webapp?

  • Dealing with the AggregateException thrown when calling task.Wait().

    I am new to the Task facility and am curious on best practice here. I am dispatching tasks something like:
    Task task = Task.Run(
    () =>
    try
    this.MyMethod(paramA, paramB);
    catch
    taskCancellationTokenSource.Cancel();
    throw;
    finally
    semaphore.Release();
    So if needed, the cancellation token can end things quickly and drop me quicker into the final bit of cleanup:
    foreach (Task task in tasks)
    try
    task.Wait();
    catch (AggregateException e)
    foreach (Exception ie in e.InnerExceptions)
    Logger...
    throw;
    catch (Exception e)
    Logger...
    throw;
    Obviously this brings out only the first nested exception. What is the general way of handling this? How should rethrow in this scenario allowing me to log and track everything that may have occurred?
    Thanks!

    Hi
    Ritmo2k,
    >>Obviously this brings out only the first nested exception. What is the general way of handling this? How should rethrow in this scenario allowing me to log and track everything that may have occurred?
    Per my understanding, you could catch System.Exception and switch on the types
    catch (Exception ex)
    if (ex is Exception || ex is AggregateException)
    Logger...
    return;
    throw;
    Best regards,
    Kristin
    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.

  • I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a H

    I am receiving this error message when trying to export pictures: 'Unable to Export": An internal error has occured: Win32 API error 2 ( "The system cannot find the file specified.") when calling ShellExecuteExW from AgWorkspace.shellExecute.// I have a HP ENVY Phoenix, fully loaded, 1 1/2 years old.

    Nevermind I fixed it. Thank you.

  • Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.boots

    When attempting to create a new Account in siebel integrated with OEDQ the following error occurs.
    ERROR
    Data Quality vendor-specific error: An error occurred when calling function 'sdq_init_connector ()' in connector ": "(-8) Exception!." Detailed error message: Exception thrown by Java: java.lang.UnsatisfiedLinkError: nio (Not found in com.ibm.oti.vm.bootstrap.library.path)(SBL-APS-00118)
    STEPS
    The issue can be reproduced at will with the following steps:
    1) from EDQ director we have imported the EDQ_CDS,EDQ-REFERENCE DATA & EDQ_HISTORICAl DATA packages sucessfully.
    2) Created dnd.param file in SIebel server SDQCOnnector folder.
    3) Copied the libdnd.so file to siebsrvr lib directory(32 bit)
    3) In dnd.param file we have mentioned the javalib file and instllation directory path(<Siebsrvr roo>/dnd/install)
    4) Unzipped the EDQ-Siebel Connector files in dnd/install folder
    5) Copied the dnd.properties file in dnd/install directory and modified it accordingly to point to installed EDQ instance.
    6) Configured the Siebel components for EDQ integration.
    7) Realtime EDQ jobs are running.
    8) Create a new Account
    Env details are
    On : 8.2.2.14 [IP2014] version, Client Functionality
    EDQ 11.1.1.7.4
    IBM JDK 1.7 32 bit
    Using Open UI
    Any Champ have faced this issue and overcame it please let me know the resolution steps. your help is
    Regards
    Monoj Dey
    9007554589

    Hi Monoj,
    A few questions:
    - What OS is Siebel running on?
    - What version of the Siebel connector are you using?
    - Which libdnd.so file are you using?
    - What's the contents of your dnd.parms file?
    thanks,
    Nick

  • Error when calling to an screenflow in a process deployed in Websphere

    Hi all,
    Environment: Solaris SunOS 5.10 (Generic January 2005), Websphere 6.1.0.13, JVM: 1.5.0_07
    Product: AquaLogic BPM 6.0.2 for WebSphere
    We are testing our environment with a very simple process with only one interactive activity that is associated to an screenflow that has a presentation of a BPM Object. We have tested this process in Studion 6.0.2 and Enterprise StandAlone 6.0.2 and the activity associated with the screenflow runs OK, but when we test it in Enterprise 6.0.2 for Websphere it crashes when calling this activity. This is the exception:
    Task failed.
    Debido a: Task '0' in activity '/ProcesoTestSF#Default-1.0/Interactive[Interactiva]' for instance '/ProcesoTestSF#Default-1.0/110/0' could not be successfully executed. The task failed while executing method 'interactivaInteractivaIN'.
    Debido a: The task could not be successfully executed.
    Reason: 'java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla'.
    Debido a: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla
    fuego.web.exception.WapiTaskFailedException: Task failed.
    at fuego.web.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:209)
    at fuego.web.papi.DefaultErrorHandler.handleException(DefaultErrorHandler.java:49)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:127)
    at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228)
    at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:58)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: fuego.papi.exception.TaskFailedException: Task '0' in activity '/ProcesoTestSF#Default-1.0/Interactive[Interactiva]' for instance '/ProcesoTestSF#Default-1.0/110/0' could not be successfully executed. The task failed while executing method 'interactivaInteractivaIN'.
    at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
    at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3319)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2947)
    at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:457)
    at fuego.papi.impl.j2ee.EJSRemoteStatelessEJBProcessControl_ac6abeae.runTask(Unknown Source)
    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:585)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1123)
    at $Proxy44.runTask(Unknown Source)
    at fuego.papi.impl.j2ee._EJBProcessControlInterface_Stub.runTask(_EJBProcessControlInterface_Stub.java:3934)
    at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runTask(EJBProcessControlInterfaceWrapper.java:2169)
    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:585)
    at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
    at $Proxy43.runTask(Unknown Source)
    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:585)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98)
    ... 37 more
    Caused by: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla'.
    at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:992)
    at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1167)
    at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428)
    at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430)
    at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:553)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:737)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:99)
    at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2938)
    at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2942)
    ... 70 more
    Caused by: java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla
    at bea.ProcesoTestSF.Default_1_0.Instance.CIL_interactivaInteractivaIN(Instance.xcdl)
    at bea.ProcesoTestSF.Default_1_0.Instance.CIL_interactivaInteractivaIN(Instance.xcdl)
    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:585)
    at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:983)
    ... 88 more
    Any help would be appreciated
    Thank you very much

    Rubén,
    It has a problem with the loading of the object classes.
    Try to export the full process (so don't use "publish for enterprise");
    perhaps it will work then.
    Best Regards,
    Frank van den Nieuwboer
    Hi all,
    Environment: Solaris SunOS 5.10 (Generic January 2005), Websphere 6.1.0.13, JVM: 1.5.0_07
    Product: AquaLogic BPM 6.0.2 for WebSphere
    We are testing our environment with a very simple process with only one interactive activity that is associated to an screenflow that has a presentation of a BPM Object. We have tested this process in Studion 6.0.2 and Enterprise StandAlone 6.0.2 and the activity associated with the screenflow runs OK, but when we test it in Enterprise 6.0.2 for Websphere it crashes when calling this activity. This is the exception:
    Task failed.
    Debido a: Task '0' in activity '/ProcesoTestSF#Default-1.0/Interactive[Interactiva]' for instance '/ProcesoTestSF#Default-1.0/110/0' could not be successfully executed. The task failed while executing method 'interactivaInteractivaIN'.
    Debido a: The task could not be successfully executed.
    Reason: 'java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla'.
    Debido a: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla
    fuego.web.exception.WapiTaskFailedException: Task failed.
    at fuego.web.exception.WapiExceptionFactory.create(WapiExceptionFactory.java:209)
    at fuego.web.papi.DefaultErrorHandler.handleException(DefaultErrorHandler.java:49)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:127)
    at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:228)
    at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:219)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:58)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: fuego.papi.exception.TaskFailedException: Task '0' in activity '/ProcesoTestSF#Default-1.0/Interactive[Interactiva]' for instance '/ProcesoTestSF#Default-1.0/110/0' could not be successfully executed. The task failed while executing method 'interactivaInteractivaIN'.
    at fuego.papi.exception.TaskFailedException.create(TaskFailedException.java:57)
    at fuego.server.AbstractProcessBean.createTaskFailedException(AbstractProcessBean.java:3319)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2947)
    at fuego.ejbengine.EJBProcessControlAdapter.runTask(EJBProcessControlAdapter.java:457)
    at fuego.papi.impl.j2ee.EJSRemoteStatelessEJBProcessControl_ac6abeae.runTask(Unknown Source)
    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:585)
    at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
    at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1123)
    at $Proxy44.runTask(Unknown Source)
    at fuego.papi.impl.j2ee._EJBProcessControlInterface_Stub.runTask(_EJBProcessControlInterface_Stub.java:3934)
    at fuego.papi.impl.j2ee.EJBProcessControlInterfaceWrapper.runTask(EJBProcessControlInterfaceWrapper.java:2169)
    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:585)
    at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.doInvoke(EJBProcessControlHandler.java:116)
    at fuego.papi.impl.j2ee.EJBProcessControlHandler.invoke(EJBProcessControlHandler.java:70)
    at $Proxy43.runTask(Unknown Source)
    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:585)
    at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    at fuego.papi.impl.j2ee.EJBExecution.next(EJBExecution.java:189)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    at fuego.web.papi.TaskExecutor.runInstanceTask(TaskExecutor.java:490)
    at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:98)
    ... 37 more
    Caused by: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla'.
    at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:992)
    at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1167)
    at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:428)
    at fuego.server.execution.InteractiveNormalCilExecution.invoke(InteractiveNormalCilExecution.java:430)
    at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:553)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:737)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
    at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:178)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeNormalCil(InteractiveMicroActivity.java:489)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.executeItem(InteractiveMicroActivity.java:442)
    at fuego.server.execution.microactivity.InteractiveMicroActivity.execute(InteractiveMicroActivity.java:99)
    at fuego.server.AbstractProcessBean$45.execute(AbstractProcessBean.java:2938)
    at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:302)
    at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    at fuego.server.AbstractProcessBean.runTask(AbstractProcessBean.java:2942)
    ... 70 more
    Caused by: java.lang.NoClassDefFoundError: xobject/Fuego__AutoGen__Screenflows__/__FlujoDePantalla
    at bea.ProcesoTestSF.Default_1_0.Instance.CIL_interactivaInteractivaIN(Instance.xcdl)
    at bea.ProcesoTestSF.Default_1_0.Instance.CIL_interactivaInteractivaIN(Instance.xcdl)
    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:585)
    at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:983)
    ... 88 more
    Any help would be appreciated
    Thank you very much

  • Using SSRS local mode, receive invalid token error when trying to export the report when running in worker thread

    We're using ASP.net with .Net 4, developing with Visual Studio 2012.  We use SSRS 2012sp1 with local reports, so exporting the report ourselves instead of using a reportviewer control (and not using the SQL Reporting service).  The reports are
    executing fine when we export the report in the main thread, but if we spawn a worker thread and run a report there we receive the following error when calling Render():
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    We only receive this when running a report that uses expressions on a separate thread.  I've tried running the application pool under all the default built-in accounts (NetworkService, etc), and under admin user accounts to no avail.
    This didn't occur with the previous version of our application which used .net 3.5.

    As mentioned, we are not using the Reportviewer control, we are rendering locally.  Not certain if that would make a difference.
    Also, I had tried using all the built-in accounts.  Just for kicks I changed it to LocalSystem again, then reset IIS (see image below).  I then tried to export the report in a worker thread and received the same error.
    Here is the text from the exception:
    Microsoft.Reporting.WebForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Failed to load expression host assembly. Details: Invalid token for impersonation - it cannot be duplicated.
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.ProcessLoadingExprHostException(ObjectType assemblyHolderObjectType, Exception e, ProcessingErrorCode errorCode)
    at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.LoadCompiledCode(IExpressionHostAssemblyHolder expressionHostAssemblyHolder, Boolean includeParameters, Boolean parametersOnly, ObjectModelImpl reportObjectModel, ReportRuntimeSetup runtimeSetup)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(Boolean includeParameters, Boolean parametersOnly)
    at Microsoft.ReportingServices.OnDemandProcessing.Merge.Init(ParameterInfoCollection parameters)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.CreateReportInstance(OnDemandProcessingContext odpContext, OnDemandMetadata odpMetadata, ReportSnapshot reportSnapshot, Merge& odpMerge)
    at Microsoft.ReportingServices.ReportProcessing.Execution.ProcessReportOdp.Execute(OnDemandProcessingContext& odpContext)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReportOdpInitial.ProcessReport(ProcessingErrorContext errorContext, ExecutionLogContext executionLogContext, UserProfileState& userProfileState)
    at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
    at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
    at Microsoft.Reporting.LocalService.CreateSnapshotAndRender(ReportProcessing repProc, IRenderingExtension renderer, ProcessingContext pc, RenderingContext rc, SubreportCallbackHandler subreportHandler, ParameterInfoCollection parameters, DatasourceCredentialsCollection credentials)
    at Microsoft.Reporting.LocalService.Render(String format, String deviceInfo, String paginationMode, Boolean allowInternalRenderers, IEnumerable dataSources, CreateAndRegisterStream createStreamCallback)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    --- End of inner exception stack trace ---
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, CreateAndRegisterStream createStreamCallback, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.InternalRender(String format, Boolean allowInternalRenderers, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.LocalReport.Render(String format, String deviceInfo, PageCountMode pageCountMode, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at Microsoft.Reporting.WebForms.Report.Render(String format, String deviceInfo, String& mimeType, String& encoding, String& fileNameExtension, String[]& streams, Warning[]& warnings)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams, String area)
    at IxSS.Infolinx.Report.MicrosoftInfolinxReport.ExportReport(String strFileFullyQualifiedPath, String strExportType, String strFilterDesc, Dictionary`2 extraParams)

  • Type conflict when calling a function module (field length)

    Dear All,
                I am getting this following error while executing:  Type conflict when calling a function module (field length)
    This is piece of coding i have writern in my action button.
    method SEARCH_MATERIAL .
      data:
            node_mat_input TYPE REF TO  if_wd_context_node,
            node_mat_output TYPE REF TO if_wd_context_node,
            material TYPE BAPIMATDET-MATERIAL,
            itab TYPE TABLE OF BAPIMATDOA.
      node_mat_input = wd_context->get_child_node( 'NODE_MAT_INPUT' ).
      node_mat_output = wd_context->get_child_node( 'NODE_MAT_OUTPUT' ).
      node_mat_input->get_attribute( EXPORTING name = 'MATERIAL'
                                     IMPORTING value = material ).
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material                    = material
        PLANT                       = plant
        VALUATIONAREA               =
        VALUATIONTYPE               =
        MATERIAL_EVG                =
       IMPORTING
         MATERIAL_GENERAL_DATA       = itab
        RETURN                      =
        MATERIALPLANTDATA           =
        MATERIALVALUATIONDATA       =
      node_mat_output->bind_table( itab ).
    endmethod.
    Attributes are:
    Node name = INPUT its structure is BAPIMATDET
    INPUT attributes = MATERIAL of type BAPIMATDET-MATERIAL
    Thanks,
    Gopi.

    Hi Amit,
               I have used service call to fetch records from that bapi..
    The following is the code generated by service call:-
    METHOD execute_bapi_material_get_deta .
    declarations for context navigation
      DATA:
        node_bapi_material_get_de   TYPE REF TO if_wd_context_node,
         node_exporting   TYPE REF TO if_wd_context_node,
         node_material_general_dat   TYPE REF TO if_wd_context_node,
         node_importing   TYPE REF TO if_wd_context_node,
          lri_element    TYPE REF TO if_wd_context_element.
    declarations for fuba parameters
      data:
        stru_c_material_general_dat    TYPE if_componentcontroller=>element_material_general_dat.
      DATA:
        attr_material    TYPE bapimatdet-material,
        attr_plant    TYPE bapimatall-plant.
    get all involved child nodes
      node_bapi_material_get_de = wd_context->get_child_node( `BAPI_MATERIAL_GET_DE` ).
      node_exporting = node_bapi_material_get_de->get_child_node( `EXPORTING` ).
      node_material_general_dat = node_exporting->get_child_node( `MATERIAL_GENERAL_DAT` ).
      node_importing = node_bapi_material_get_de->get_child_node( `IMPORTING` ).
    get input from context
      node_importing->get_attribute(    EXPORTING      name = `MATERIAL`
                                                         IMPORTING      value = attr_material ).
      node_importing->get_attribute(  EXPORTING       name = `PLANT`
                                                              IMPORTING       value = attr_plant ).
    the invocation - errors are always fatal !!!
      CALL FUNCTION 'BAPI_MATERIAL_GET_DETAIL'
        EXPORTING
          material =                        attr_material
          plant =                           attr_plant
    "      valuationarea =                   wd_This->Valuationarea
    "      valuationtype =                   wd_This->Valuationtype
    "      material_Evg =                    wd_This->Material_Evg
        IMPORTING
          material_general_data =           stru_c_material_general_dat
    "      return =                          wd_This->Return
    "      materialplantdata =               wd_This->Materialplantdata
    "      materialvaluationdata =           wd_This->Materialvaluationdat
      node_material_general_dat->bind_structure( stru_c_material_general_dat[] ).
    ENDMETHOD.
                                 but the problem is I  am getting the following error while compiling...
    " stru_c_materialplantdata " is not an internal table - the " OCCOURS n"  specification is missing.
    Thanks,
    Gopi.
    Edited by: Yegalaivan on Nov 18, 2009 8:30 AM

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • Getting an error message when trying to export from the Lightroom 5.7.1

    hi
    i'm getting an error message when trying to export the images from the Lightroom, all the images are on the external drive
    i'm using windows 7 with 4gb of ram core i5
    "AN INTERNAL ERROR HAS OCCURRED WIN32 API ERROR2 ("THE SYSTEM CANNOT FIND THE FILE SPECIFIED.")WHEN CALLING SHELLEXECUTEXW FROM AGWORKSPACE.SHELLEXECUTE"

    i found the answer my myself
    post processing was blank that was causing it  to happen

  • Bug in Oracle JDBC Driver: NullPointerException when calling clearParameters

    There is a bug in the latest version of the JDBC driver that throws a NPE when calling PreparedStatement.clearParameters(). I don't need a response to this, since I have a workaround (just catching and ignoring the exception), but it should probably be fixed. I speculate that the problem only occurs when you try to call clearParameters() more than once on the same PS, but I haven't confirmed it.
    It is probably an easy fix. Following is the stack trace:
    java.lang.NullPointerException
    at oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431)
    at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
    at oracle.jdbc.driver.OraclePreparedStatement.clearParameters(OraclePreparedStatement.java:3401)
    at com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.close(PreparedStatementCache.java:293)
    at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementBatch(SQLExecutionManagerImpl.java:666)
    at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:514)
    at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:406)
    at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.flush(SQLExecutionManagerImpl.java:273)
    at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:421)
    at com.solarmetric.kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:549)
    at com.solarmetric.kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:412)
    at com.sun.jdotck.api.persistencemanager.MakePersistentAssignsObjectId.testMakePersistentAssignsObjectId2(Unknown Source)
    at com.sun.jdotck.api.persistencemanager.MakePersistentAssignsObjectId.testMakePersistentAssignsObjectId(Unknown Source)
    at com.sun.jdotck.api.persistencemanager.MakePersistentAssignsObjectId.runTest(Unknown Source)
    at com.sun.jdotck.api.persistencemanager.PersistenceManagerTest.run(Unknown Source)
    at com.solarmetric.kodo.compatibility.JDOCompatabilityTestSuite$1.runTest(JDOCompatabilityTestSuite.java:493)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
    at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:524)
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com

    Take a look at the method that is causing the NullPointerException:
    public void clearItem(int i)
    if (!m_dynamic && m_vector == null && i < m_vector.size())
    m_vector.removeElementAt(i);
    if (m_items != null && i >= m_items.length)
    return;
    m_items[i] = null;
    return;
    A NullPointerException will be thrown whenever clearParameters() is called when no parameters have yet been bound.
    The first IF statement should read:
    if (!m_dynamic && m_vector != null && i < m_vector.size())
    A simple workaround would be to make sure that your parameter list is never empty before calling clearParameters(). Is there a patch for this anywhere?

  • HR_INFOTYPE_OPERATION not working when called from Dynamic action

    Hi ,
           Senario  : I would like to execute a form from dynamic action which
    creates a record in 0015 (Additional payment IT) .
           I have writen the code as shown below am using FM HR_INFOTYPE_OPERATION
    . When i execute the program from se38 it is creating a record, however it is
    not created when it is called from dynamic action..when i debugged the code in
    inside the FM HR_INFOTYPE_OPERATION there is a FM HR_MAINTAIN_MASTERDATA where
    they are using call dialog (statement) and
    sy-oncom = 'N'   when called from Dynamic action and
    sy-oncom = 'S'   when called executed directly.
    I tried to change the sy-oncom to S while run from Dynamic action it created
    the record.
    So Can anyone explain me abt sy-oncom and how can i resolve the issue..
    code..
    REPORT ZHRPYENH01 .
    perFORM TERMIATION_9000.
    INCLUDE DBPNPMAC.
          FORM Termiation_9000                                          *
    FORM TERMIATION_9000.
    INFOTYPES : 0015.
    *data : i .
    *i ='c'.
    *break-point.
    *message i000(000) with i.
      TABLES : PRELP.
      DATA : P9000 TYPE PA9000." with header line.
      DATA : P0000 TYPE STANDARD TABLE OF  P0000 WITH HEADER LINE.
    DATA : P0015 TYPE STANDARD TABLE OF  P0015 WITH HEADER LINE.
      DATA : HIRE_DATE  LIKE SY-DATUM,
             TERM_DATE  LIKE SY-DATUM.
      DATA : MOLGA LIKE T500L-MOLGA VALUE '25',
             SEQNR LIKE PC261-SEQNR.
      DATA : RGDIR TYPE STANDARD TABLE OF PC261 WITH HEADER LINE.
      DATA : ACTUAL_PERIOD LIKE PA9000-RETENTION.
      DATA : PNP-SW-FOUND TYPE SY-SUBRC ,
             PNP-SY-TABIX TYPE SY-TABIX.
      DATA : TER_PERNR LIKE PA0001-PERNR.
      DATA : REF_PERNR LIKE PA0001-PERNR.
      data : key type BAPIPAKEY.
      data : payed_amount type p0015-BETRG.
    data : future_payment_amount type p0015-BETRG.
    data : p0002 like pa0002.
      types : begin of t_deduction ,
              deducation_date like p0015-begda,
              future_payment_amount type p0015-BETRG.
      types : end of t_deduction.
    data :  future_deduction type standard table of t_deduction with
    *header line.
      data :  future_deduction type  t_deduction .
    data : RETURN type  BAPIRETURN1.
    *data : deduction_p0015 like standard table of p0015 with header line.
    data : deduction_p0015 like p0015 .
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    ****Prepare 0015 data for deduction
    *deduction for payed amount
    clear deduction_p0015.
    *refresh deduction_p0015.
    deduction_p0015-pernr = REF_PERNR.
    *deduction_p0015-pernr = TER_PERNR.
    deduction_p0015-lgart = 'M120'.
    deduction_p0015-begda = sy-datum + 1 .
    deduction_p0015-endda = sy-datum + 1 .
    deduction_p0015-BETRG = payed_amount.
    deduction_p0015-WAERS = 'SGD'.
    deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    **deduction for future payment amount
    *loop at future_deduction.
    *clear deduction_p0015.
    *deduction_p0015-pernr = REF_PERNR.
    **deduction_p0015-pernr = TER_PERNR.
    *deduction_p0015-lgart = 'M120'.
    *deduction_p0015-begda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-endda = FUTURE_DEDUCTION-DEDUCATION_DATE.
    *deduction_p0015-BETRG = future_deduction-future_payment_amount.
    *deduction_p0015-WAERS = 'SGD'.
    *deduction_p0015-ZUORD =  TER_PERNR.
    *append deduction_p0015.
    *endloop.
    Create a deduction wage type in 0015 for the employee
    break-point.
    CLEAR RETURN.
    CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    if not return is initial.
    message E000(000) with
    'Referred Employee could not be locked for referal  payment deducation,
    please try after some time'.
    endif.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        INFTY                  = '0015'
        NUMBER                 = REF_PERNR
       SUBTYPE                = 'M120'
      OBJECTID               =
      LOCKINDICATOR          =
       VALIDITYEND            = SY-DATUM
       VALIDITYBEGIN          = SY-DATUM
      RECORDNUMBER           =
        RECORD                 = deduction_p0015
        OPERATION              = 'COPY'
      TCLAS                  = 'A'
       DIALOG_MODE            = '2'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
    IMPORTING
       RETURN                 = return
       KEY                    = key
    break-point.
    COMMIT WORK.
    if not return is initial.
    *return-TYPE
    *ID
    *NUMBER
    *MESSAGE
    message I000(000) with return-MESSAGE.
    endif.
    CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
      EXPORTING
        NUMBER              = REF_PERNR
        VALIDITYBEGIN       = '18000101'
    IMPORTING
       RETURN              = return
    xxxxxxxxxxxxxxxxxxxx
    xxxxxxxxxxxxxxxxx
    Thanks and regards
    -Senthil Bala
    Message was edited by: senthil bala

    Hi Senthil
    Why at all U want a subroutine to create a record in IT0015 through Dynamic action.There are some standard codes available to update infotypes.
    Let me give U an example
    14     9CON     BETRG     4     2     I     INS,0015 This will create a record in IT0015 when IT0014 is updated with Wagetype 9CON
    14     9CON     BETRG     4     3     W     P0015-LGART='5400' Set wagetype for IT0015(Here U can use a subroutine call to set the wagetype)
    14     9CON     BETRG     4     4     W     P0015-BETRG=P0014-BETRG set amount for IT0015(Here U can use a subroutine call to get the amount)
    14     9CON     BETRG     4     5     W     P0015-BEGDA=P0014-ENDDA set the dates(Here U can use a subroutine call to set the dates)
    Hope this will help U.
    Please award points if helpful

  • CX_SY_NO_HANDLER triggered when call FM in Transformation Routine in BI

    Hi,
    Currently we are encountering an error whereby the Exception 'CX_SY_NO_HANDLER' will be triggered whenever we call a Function Module inside a Transformation Routine in BI.
    Previously, this FM was a Custom FM, but even after changing to a standard FM this error still happens.
    The process does not even enter into the FM, but immediately jumps to a 'Try - Catch' block of standard SAP, with the message "an exception (CX_SY_NO_HANDLER) occured".
    Hence, we need to confirm:
    does SAP/BI allow calling an FM inside a Transformation Routine?
    if yes to above, how do we avoid encountering this error when calling a FM inside a Transformation Routine.
    Your help is very much appreciated.
    Thanks you.

    Yes, you can call a FM from function module.
    Make sure your import and export parameters are of same type as defined in FM when passing values to FM from transformation.
    For example:
    in function module
    xyz type i.
    transformation
    abc type char.
    CALL FUNCTION 'dsjfh'
    EXPORT
    xyz = abc.
    Regards,
    San!

Maybe you are looking for

  • ICloud backup works but displays incorrect Apple ID

    I only have 1 Apple ID that I use for everything. I set up iCloud and can backup from iPhone to iCloud successfully. I can log into iCloud from my Mac. But when I log into iCloud on my Mac using my one and only Apple ID, then I click on my Account In

  • Jdevloper11g+weblogic integrated server  -Hibernate jars not loading

    I'm trying to call Session bean from manged bean.Session bean internall calls Hibernate DAO. I did project setup and everything looks OK.But keep getting Hibernate calsses not found error when i try to run jsp page. Please advise me..how to load hibe

  • Identifying Invoices w/o Receipt

    Hi, I need to develop a report using SE16N to identify invoices w/o receipts.  What tables/fields accomplish this?  I don't have developer access right now.  The report needs to link to purchasing information as well. Thanks, Kevin

  • Missing font picks up Myriad Pro when exporting to PDF

    When I export an InDesign CS2 layout to PDF from a Windows PC that is missing one or more of the original layout's fonts, those missing fonts are being substituted with Myriad Pro. Does anyone know why it is picking up Myriad Pro rather than Adobe MM

  • Classnotfoundexception for mysql

    I get the following error when I run my program java.lang.ClassNotFoundException:com.mysql.jdbc.Driver I am including the following code: import java.sql.*; Class.forName("com.mysql.jdbc.Driver"); I have jdk 1.5 and I have the classpath set for mysql