Strange error from grant_permission call error

Hello,
I just updated from Oracle 10g to 10.2.0.2.0, then I tried to load TIFF into Oracle using the sample scripts.
connect system/manager;
call dbms_java.grant_permission('PUBLIC','SYS:java.io.FilePermission','&1', 'read' );
call dbms_java.grant_permission('TEST','SYS:java.io.FilePermission','&1', 'read' );
call dbms_java.grant_permission('MDSYS','SYS:java.io.FilePermission','&1', 'read' );
call dbms_java.grant_permission('PUBLIC','SYS:java.io.FilePermission','&2', 'read' );
call dbms_java.grant_permission('TEST','SYS:java.io.FilePermission','&2', 'read' );
call dbms_java.grant_permission('MDSYS','SYS:java.io.FilePermission','&2', 'read' );
SQL>@grant_permissions.sql a.tif a.tfw
Then I got the error at the
call dbms_java.grant_permission('PUBLIC','SYS:java.io.FilePermission','&1', 'read' );
===================================================
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.ArithmeticException: / by zero
===================================================
I am very curious about the "java.lang.ArithmeticException: / by zero"
Any idea/suggestion?
Thanks in advance!
BTW, the same script worked before. I didn't get any error message during updating.
Message was edited by:
modeler

Hi,
You need to have oracle.toplink.jar in classpath.
Please find the sample Java code to call stord procedure
package project1;
import java.util.Vector;
import oracle.toplink.queryframework.ReadObjectQuery;
import oracle.toplink.queryframework.StoredFunctionCall;
public class Class1 {
public Class1() {
super();
public static void main(String args[]) {
StoredFunctionCall functionCall = new StoredFunctionCall();
functionCall.setProcedureName("EMP_PROC_NAME");
functionCall.addNamedArgument("ARG1");
functionCall.setResult("FUNCTION_RESULT", String.class);
ReadObjectQuery query = new ReadObjectQuery();
query.setCall(functionCall);
query.addArgument("EMP_ID");
Vector arg = new Vector();
arg.addElement(new Integer(44));
// Employee employee = (Employee) session.executeQuery(query, args);
Hope this helps.
Regards,
Vinay

Similar Messages

  • Anyone seen this?!?  ORA-32103: error from OCI call

    Greetings all,
    Getting this error (ORA-32103: error from OCI call) when calling Environment::getCacheMaxSize() after calling Environment::createEnvironment(). The error is not listed in the Oracle documentation and I was wondering if anyone had seen it or knew what it meant.
    snippet
    Environment* env = Environment::createEnvironment(Environment::THREADED_MUTEXED);
    std::cout << "ok..\n";
    std::cout << "The env pointer:" << env << std::endl;
    std::cout << "ok..\n";
    std::cout << "Here is a Env variable:" << env->getCacheMaxSize() << std::endl;
    end snippet
    Many thanks,
    John Fauntleroy

    Thanks for the response!
    I've not been able to get to the connection stage of the process as the error occurs just after the createEnvironment() call.I believe the Evironment is not being created correctly for some reason but have no idea why because no exceptions are being thrown and the my testing only yields an unlisted error. ack, frustrating tstl! The error I'm getting is "ORA-32103: error from OCI call". ORA-32103 is not listed in the oracle error docs. ORA-32101 and ORA-32105 are listed but nothing in between. Is interesting...
    Anyone got some ideas?
    Best regards,
    John Fauntleroy

  • Mount_smbfs: error from NetrShareEnum call: exception = 382312522

    mount_smbfs: error from NetrShareEnum call: exception = 382312522
    when i trying to connect to xp network
    who is guru there?

    Perchance, does this happen after "Sleep"?
    Or maybe a non blank PW for the latest XP Security upgrades?
    http://ask-mark.com/ravings/2007/11/01/shibboleth

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

  • Error in webservice call | Error in XML Document(1,358)

    Hi all,
    We currently have a web service developed in Java, which we're calling from
    a dot net coded windows form. this web service is returning an object of type
    abc (say). Now, when we try and get a response from java server on the form,
    i'm getting the following error:
    There is an error in XML document (1, 358)
    Does this have something to do with a java serialised object not being able
    to get deserialised in dot net? Or is it something else?
    Also, I have a web reference that has been created on this java web service.
    This I believe means that the object that we're trying to get on the dot net
    client would be the java object that is being sent from the web service.
    Point to be noted is the fact that this web service was working absolutely fine till about 2 days ago.
    Any pointers are gladly appreciated.
    Cheers!
    Nick

    Sorry for not mentioning the product versions:
    The bpel process was build and deployed with Jdeveloper Studio edition version 10.1.3.1.0.3984 on a Bpel server/Application Server with version 10.1.3.1 (NT).

  • How do I handle errors from a call to an http handler routine on the server?

    I have written an http handler for the server. It is used for file uploads. It works fine.
    However, if the server gets any kind of exception, I don't seem to get anything back in the Silverlight httpWebRequest.  It seems like something in the communications sees the exception as a  "server not found" type error.  And a
    Dialog pops up that appears to NOT be my code that says the message.
    For my WCF calls, I implemented a SilverlightFaultBehavior that switched the status code to OK and I was able to get the server exceptions from my WCF calls into my Silverlight app.
    But how do I do that for an http handler?  What do I have to add, if anything to the server side and what do I need to do on the Silverlight client side?

    How are you calling your service?
    You should be doing asynchronous calls and supplying a callback with silverlight.
    Check for errors in the callback.
    FileListServiceReference.FileListServiceClient proxy = new ITSupport.FileListServiceReference.FileListServiceClient();
    proxy.GetFileListCompleted += new EventHandler<ITSupport.FileListServiceReference.GetFileListCompletedEventArgs>(proxy_FileListCompleted);
    proxy.GetFileListAsync(fileList);
    void proxy_FileListCompleted(object sender, ITSupport.FileListServiceReference.GetFileListCompletedEventArgs e)
    ObservableCollection<ImageVM> ims = new ObservableCollection<ImageVM>();
    if (e.Error == null)
    That does stuff if there's no errors and returns nothing if there are but you might want more sophisticated handling.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • I am getting the following error from gsview: Unrecoverable error: dictstackunderflow in end

    In respnce to the following programming statement:
    /cirtextdict 16 dict def
    cirtextdict begin
         /findhalfangle
              {stringwidth pop 2 div
              2 radius mul pi mul div 360 mul
    }def
    This is straight out of the Bluebook. I am obviously new to ps programming, so what am I missing here?

    Wiz,
    I'd be happy to help you solve the problem you are experiencing as you learn the PostScript language.
    The chance of a typo is too great for me to accurately and quickly determine what your next step should be in correcting the code.
    Can't you attach the code as a text file to your next post so that I can debug exactly what you are working with?
    Cut and paste also works for me... not sure why it doesn't work for you.
    There are a couple of things I saw in your code that don't make sense to me, but again, it may be the result of typos on your post and not in your working code.
    1.)     In your outsideplacechar procedure the following code appears to be missing the rotate command after the "-90".
              "-90 char stringwidth pop 2 div neg 0 moveto char show"
              The rotate command will remove the -90 from the operand stack after rotating about the current position.
    2.)     It appears that the code is defining a dictionary, then placing it on top of the dict stack, then storing procedures in it, that in turn, place
              the same dictionary on the dict stack again and then off again each time they are called. Unfortunately, unless the dictionary is on the dict stack the
              procedures in it can't be called. If you remove the dictionary begin and end that surround your individual procedures, along with fixing item 1
              above, then the code will distill/display.
    3.)     When the section of code begins that actually draws something, the default setgray value is 0 (black).
              The code changes the origin (0, 0) to be in the middle of an 8-1/2 x 11 inch page.
              Then the scaling is changed to 200% (proportionately), a circle is drawn and filled with black.
              Next the setgray value is changed to 1 (white).
              A smaller circle is drawn concentric to the first and filled with white.
    4.)      I expect that you are missing the code to change the setgray value to 1 (black) before attempting to set the two text strings.
    5.)      Lastly, based on the results after making corrections I have suggested, The insidecircletext procedure appears to need to rotate by 180 degrees and
              possibly the radius needs to be increased, if both text strings are to appear as though they are set in the same "band" of a circle.
              Not having seen what the end result is supposed to look like I can only guess and so the code I pasted below doesn't reflect a change in radius.
    Altered PostScript code:
    %%PS
    /font {findfont exch scalefont setfont} bind def
    /circtextdict 16 dict def
    /findhalfangle {stringwidth pop 2 div 2 xradius mul pi mul div 360 mul}def
    /outsidecircletext  {
    circtextdict begin
    /radius exch def
      /centerangle exch def
      /ptsize exch def
      /str exch def
      /xradius radius ptsize 4 div add def
      gsave
       centerangle str findhalfangle add rotate
      str {
      /charcode exch def
      ( ) dup 0 charcode put outsideplacechar
       }forall
    grestore
    end
    }def
    /outsideplacechar {
    /char exch def
      /halfangle char findhalfangle def
      gsave
       halfangle neg rotate
       radius 0 translate
       -90 rotate char stringwidth pop 2 div neg 0 moveto char show
      grestore
      halfangle 2 mul neg rotate
    }def
    /insidecircletext {
    circtextdict begin
    /radius exch def
    /centerangle exch def
       /ptsize exch def
    /str exch def
    /xradius radius ptsize 3 div sub def
    gsave
    180 rotate
    centerangle str findhalfangle sub rotate
    str {
      /charcode exch def
          ( ) dup 0 charcode put insideplacechar
    }forall
    grestore
    end
    }def
    /insideplacechar {
    /char exch def
    /halfangle char findhalfangle def
    gsave
    halfangle rotate
    radius 0 translate
    90 rotate char stringwidth pop 2 div neg 0 moveto char show
    grestore
    halfangle 2 mul rotate
    }def
    /pi 3.1415923 def
    306 396 translate
    2 2 scale
    0 0 140 0 360 arc fill
    1 setgray
    0 0 119 0 360 arc fill
    0 setgray
    16
    /Times-Bold font
    (Cracked Recording Studios)
    16 90 60 outsidecircletext
    14
    /Times-Bold font
    (Professor's Picks - Vol I)
    16 90 60 insidecircletext
    showpage

  • ECC Connectivity Error from RWB (SXMB_CONF_ITEMS)

    We are able to connect PI 7.1 to ECC 6.0 on our QA server successfully however when we attempt to connect to the ECC 6.0 on Prod we get the following errors from the RWB
    Errors:
    Are roles in SXMS_CONF_ITEMS and SLD Consistant? RED
    Has an integration server destination been defined ? RED
    Function SXMB_GET_IS_ENDPOINT failed (return code = 1)
    Resolutions Attempeted:
    1) In PI 7.1 We have created TS and BS for the production ECC 6. We get the above error in RWB.
    Result: Works in QA. Green Lights in RWB when we point it to QA ECC system (create TS and BS for the QA ECC 6 system).
    2) We checked the corresponding role for the business system as Intgration Server in SXMB_ADM and SLD Pipeline URL in Integration_server_xxx BS.
    We cleared cache and rebooted system twice. We have the same settings in Prod however for some reason its not applying successfully.
    3) We have the appropriate roles and profiles set for PIRWBUSER on the ECC side and PI side.
    Could anyone please give me some clues to fix. Thank you for your time in advance.

    Thanks. 
    We just fixed this.
    We set the Role of Business system as Application System in SXMB_ADM in Production ECC system to fix.

  • RFC Call Error - from Portal End - For ESS Personal Information service

    Hi,
    I am getting "Syntax error in program SAPLHRXSS_PER_MAC                       ., error key: RFC_ERROR_SYSTEM_FAILURE  " error Message on the portal (ESS--->Personal Information Screen).
    When I did RFC trace analysis (using ST 22) this is what i get.
    Can you let me know what could be the issue.
    We are running HR Backend(Support Pack 15,ecc 5.0).
    Portal (EP 6.0 SP19, ESS 100 (SP 10)).
    Could you please let me know what could be the issue ?
    Syntax error in program "SAPLHRXSS_PER_MAC ".
         What happened?
              Error in ABAP application program.
              The current ABAP program "SAPMSSY1" had to be terminated because one of the
              statements could not be executed.
              This is probably due to an error in the ABAP program.
              In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred
              in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:
              "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
              Author and last person to change the Include are:
              Author "SAP "
              Last changed by "C5069405 "
         What can you do?
              Please eliminate the error by performing a syntax check
              (or an extended program check) on the program "SAPLHRXSS_PER_MAC ".
              You can also perform the syntax check from the ABAP/4 Editor.
              If the problem persists, proceed as follows:
              Print out the error message (using the "Print" function)
              and make a note of the actions and input that caused the
              error.
              To resolve the problem, contact your SAP system administrator.
              You can use transaction ST22 (ABAP Dump Analysis) to view and administer
               termination messages, especially those beyond their normal deletion
              date.
              is especially useful if you want to keep a particular message.
         Error analysis
              In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred:
              "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
         How to correct the error
              Probably the only way to eliminate the error is to correct the program.
              If you cannot solve the problem yourself and you wish to send
              an error message to SAP, include the following documents:
              1. A printout of the problem description (short dump)
                 To obtain this, select in the current display "System->List->
                 Save->Local File (unconverted)".
              2. A suitable printout of the system log
                 To obtain this, call the system log through transaction SM21.
                 Limit the time interval to 10 minutes before and 5 minutes
                 after the short dump. In the display, then select the function
                 "System->List->Save->Local File (unconverted)".
              3. If the programs are your own programs or modified SAP programs,
                 supply the source code.
                 To do this, select the Editor function "Further Utilities->
                 Upload/Download->Download".
              4. Details regarding the conditions under which the error occurred
                 or which actions and input led to the error.
         System environment
              SAP Release.............. "640"
              Application server....... "srv006"
              Network address.......... "167.116.230.56"
              Operating system......... "HP-UX"
              Release.................. "B.11.11"
              Hardware type............ "9000/800"
              Character length......... 8 Bits
              Pointer length........... 64 Bits
              Work process number...... 1
              Short dump setting....... "full"
              Database server.......... "srv006"
              Database type............ "ORACLE"
              Database name............ "H81"
              Database owner........... "SAPR3"
              Character set............ "en_US.iso88591"
              SAP kernel............... "640"
              Created on............... "May 21 2006 20:29:01"
              Created in............... "HP-UX B.11.00 A 9000/800"
              Database version......... "OCI_920 "
              Patch level.............. "129"
              Patch text............... " "
              Supported environment....
              Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
               10.2.0.."
              SAP database version..... "640"
              Operating system......... "HP-UX B.11"
              Memory usage.............
              Roll..................... 16128
              EM....................... 4189928
              Heap..................... 0
              Page..................... 0
              MM Used.................. 629192
              MM Free.................. 3558216
              SAP Release.............. "640"
         User and Transaction
         Information on where terminated
              The termination occurred in the ABAP program "SAPMSSY1" in
               "REMOTE_FUNCTION_CALL".
              The main program was "SAPMSSY1 ".
              The termination occurred in line 68 of the source code of the (Include)
               program "SAPMSSY1"
              of the source code of program "SAPMSSY1" (when calling the editor 680).
         Source Code Extract
         Line     SourceCde
            38     
            39     module %_rfcdia_call output.
            40         "Do not display screen !
            41         call 'DY_INVISIBLE_SCREEN'.
            42         perform remote_function_diacall.
            43     endmodule.
            44     
            45     module %_cpic_start.
            46       if sy-xprog(4) = '%RFC'.
            47         perform remote_function_call using rfctype_external_cpic.
            48       else.
            49         call 'APPC_HD' id 'HEADER' field header id 'CONVID' field convid.
            50         perform cpic_call using convid.
            51       endif.
            52     endmodule.
            53     
            54     
            55     form cpic_call using convid type c.
            56       communication send id convid buffer header.
            57       if sy-subrc eq 0.
            58         perform (sy-xform) in program (sy-xprog).
            59       else.
            60         message a800.
            61       endif.
            62     endform.
            63     
            64     form remote_function_call using value(type).
            65       do.
            66     *   test if sy-xprog and sy-xform are set
            67     *   sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
         >>>>>         call 'RfcImport' id 'Type' field type.
            69         perform (sy-xform) in program (sy-xprog).
            70         rsyn >scont sysc 00011111 0.
            71       enddo.
            72     endform.
            73     
            74     form remote_function_diastart.
            75       do.
            76         call 'RfcImport' id 'Type' field rfctype_rfcdia.
            77         perform (sy-xform) in program (sy-xprog).
            78         "Parking position for next request
            79         rsyn >scont sysc 00011111 10.
            80         "ALternativ : Free mode
            81         "COMMIT WORK.
            82         "SYSTEM-CALL FREE MODE 0.
            83       enddo.
            84     endform.
            85     
            86     form remote_function_diacall.
            87         sy-xcode = '%_@no@'.
         Contents of system fields
         Name     Val.
         SY-SUBRC     0
         SY-INDEX     2
         SY-TABIX     0
         SY-DBCNT     0
         SY-FDPOS     0
         SY-LSIND     0
         SY-PAGNO     0
         SY-LINNO     1
         SY-COLNO     1
         SY-PFKEY     
         SY-UCOMM     
         SY-TITLE     CPIC and RFC Control
         SY-MSGTY     
         SY-MSGID     
         SY-MSGNO     000
         SY-MSGV1     
         SY-MSGV2     
         SY-MSGV3     
         SY-MSGV4     
         Active Calls/Events
         No.   Ty.          Program                             Include                             Line
               Name
             2 FORM         SAPMSSY1                            SAPMSSY1                               68
               REMOTE_FUNCTION_CALL
             1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               30
               %_RFC_START
         Chosen variables
         Name
             Val.
         No.          2     Ty.      FORM
         Name      REMOTE_FUNCTION_CALL
         %_DUMMY$$
                 2222
                 0000
         SY-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
         SYST-REPID
              SAPMSSY1
                 5454555322222222222222222222222222222222
                 310D339100000000000000000000000000000000
         %_ARCHIVE
                 2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         TYPE
              3
                 0000
                 0003
         SY-XPROG
              SAPLSYST
                 5454555522222222222222222222222222222222
                 310C393400000000000000000000000000000000
         SY-XFORM
              HRXSS_PER_CLEANUP
                 455555545544444552222222222222
                 82833F052F3C51E500000000000000
         %_SPACE
                 2
                 0
         No.          1     Ty.      MODULE (PBO)
         Name      %_RFC_START
         %_PRINT
                  000                                                                                0 ##
                 2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
                 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
         RFCTYPE_INTERNAL
              3
                 0000
                 0003
         Internal notes
              The termination occurred in the function "ab_genprog" of the SAP
              Basis System, specifically in line 1374 of the module
               "//bas/640_REL/src/krn/runt/abgen.c#10".
              The internal operation just processed is "CALY".
              The internal session was started at 20070502223335.
              Program name.........: "SAPLHRXSS_PER_MAC ".
              Error message........: "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown.".
         Active Calls in SAP Kernel
         Lines of C Stack in Kernel (Structure Differs on Each Platform)
         ( 0)  0x40000000016d6a8c   CTrcStack2 + 0x2bc  [dw.sapH81_DVEBMGS33]
         ( 1)  0x40000000016d67c0   CTrcStack + 0x18  [dw.sapH81_DVEBMGS33]
         ( 2)  0x4000000001d41438   rabax_CStackSave__Fv + 0x100  [dw.sapH81_DVEBMGS33]
         ( 3)  0x4000000001d4dbf8   ab_rabax + 0x1f68  [dw.sapH81_DVEBMGS33]
         ( 4)  0x40000000018cc09c   ab_genprog__FPcPvUii + 0xdbc  [dw.sapH81_DVEBMGS33]
         ( 5)  0x4000000000d3b4cc   newload__FPcP13TmpSubpoolDirUi + 0x29c  [dw.sapH81_DVEBMGS33]
         ( 6)  0x40000000016a7324   ab_LoadProg__FPcUi + 0xec  [dw.sapH81_DVEBMGS33]
         ( 7)  0x40000000016831fc   ab_link + 0x334  [dw.sapH81_DVEBMGS33]
         ( 8)  0x40000000015694d4   ab_rfcimport + 0xccc  [dw.sapH81_DVEBMGS33]
         ( 9)  0x40000000018cff98   ab_jcaly__Fv + 0x598  [dw.sapH81_DVEBMGS33]
         (10)  0x4000000000f98df8   ab_extri__Fv + 0x17a0  [dw.sapH81_DVEBMGS33]
         (11)  0x40000000016ab2d8   ab_xevent__FPCc + 0x38  [dw.sapH81_DVEBMGS33]
         (12)  0x400000000189c9a8   ab_dstep + 0x120  [dw.sapH81_DVEBMGS33]
         (13)  0x4000000000ed4c00   dynpmcal + 0xd0  [dw.sapH81_DVEBMGS33]
         (14)  0x4000000000ed1554   dynppbo0 + 0x1e4  [dw.sapH81_DVEBMGS33]
         (15)  0x4000000000ed0af4   dynprctl + 0x43c  [dw.sapH81_DVEBMGS33]
         (16)  0x4000000000ecb7a0   dynpen00 + 0x2118  [dw.sapH81_DVEBMGS33]
         (17)  0x4000000000fa598c   Thdynpen00 + 0x6a4  [dw.sapH81_DVEBMGS33]
         (18)  0x4000000000fa49b8   TskhLoop + 0x50d8  [dw.sapH81_DVEBMGS33]
         (19)  0x4000000000f999f8   tskhstart + 0x1e0  [dw.sapH81_DVEBMGS33]
         (20)  0x4000000000d42194   DpMain + 0x484  [dw.sapH81_DVEBMGS33]
         (21)  0x400000000220d41c   nlsui_main + 0x14  [dw.sapH81_DVEBMGS33]
         (22)  0x4000000000992794   main + 0x14  [dw.sapH81_DVEBMGS33]
         (23)  0xc000000000020ab0   $START$ + 0xa0  [/usr/lib/pa20_64/dld.sl]
         List of ABAP programs affected
         Index     Ty.     Program     Group     Date     Time     Size     Lang.
              0     Prg     SAPMSSY1          0     06.11.2003     20:53:07         18432     E
              1     Prg     SAPLSYST          1     10.05.2006     09:57:38         30720     E
              2     Typ     SYST          0     04.12.2000     14:54:51         27648     
         Directory of Application Tables
         Name                                     Date       Time       Lngth
             Val.
         Program      SAPMSSY1
         SYST            .  .            :  :          00002404
         ABAP Control Blocks (CONT)
         Index     Name     Fl     PAR0     PAR1     PAR2     PAR3     PAR4     PAR5     PAR6     SourceCde
           118     CLEA     00     0035                                   SAPMSSY1
           119     CLEA     00     0036                                   SAPMSSY1
           120     CLEA     00     0037                                   SAPMSSY1
           121     MESS     00     001C                                   SAPMSSY1
           122     ENDF     00     0000                                   SAPMSSY1
           123     -
         00     0000                                   SAPMSSY1
           124     PERP     00     0001                                   SAPMSSY1
           125     PERP     02     0000                                   SAPMSSY1
           126     WHIL     00     0002     0000     0000     0000     0000     0000     0000     SAPMSSY1
           130     WHIL     00     0003     0000     0000     0000     0000     0000     0000     SAPMSSY1
           134     BRAN     05     000E                                   SAPMSSY1
           135     CALY     00     0003     0038     002A     0005     002B     0000     0000     SAPMSSY1
         >>>>>     CALY     02     0000     0039     8000     0000     0000     0000     0000     SAPMSSY1
           143     xper     02     0000     0010     0011                         SAPMSSY1
           145     PERP     80     0000                                   SAPMSSY1
           146     SYSC     1F     0000                                   SAPMSSY1
           147     BRAX     00     FFEF                                   SAPMSSY1
           148     WHIL     00     0004     0000     0000     0000     0000     0000     0000     SAPMSSY1
           152     ENDF     00     0000                                   SAPMSSY1
           153     -
         00     0000                                   SAPMSSY1

    Hi,
    The error is occuring in the program file SAPLHRXSS_PER_MAC.
    In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred 
    in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:      
    "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."    
    Information on where terminated                                              
        The termination occurred in the ABAP program "SAPMSSY1" in               
         "REMOTE_FUNCTION_CALL".                                                 
        The main program was "SAPMSSY1 ".
    This place  where it has terminated is highlighted in bold letters.                                       
    form remote_function_call using value(type).   
      do.                                          
      test if sy-xprog and sy-xform are set      
      sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
    <b>    call 'RfcImport' id 'Type' field type.     </b>
        perform (sy-xform) in program (sy-xprog).  
        rsyn >scont sysc 00011111 0.               
      enddo.                                       
    endform.                                       
    Thanks,
    Manoj

  • Smartform Printing : Error in spool C call: Error from TemSe

    Hi! everybody,
    I am stating my problem as follows : I have to print a bar-code sticker of size 10 X 7 cms. I have worked on bar-codes before this also. This time the output from a smartform is to be given to a ZEBRA TLP 2844 printer. I initially encountered problems in printing. The data does not fit on to the page.
    After a lot of searching I found that ZEBRA was a partner of SAP and that a special device type needs to be created for output from a ZEBRA printer. I did this two times. Each time my steps were as described under.
    To create the device type I did the following :
    1. I finally found the driver from the ZEBRA website from http://www.zebra.com/id/products/global/en/utilities/sap_device_types.UtilityFile.File.tmp/Zebra_SAP_Device_Types.zip From this I uploaded the driver for 203 DPI zebra printer with IBM code 850 font file name "YZB200.PRI" into the transaction SA38.
    2. Then I created a new device ZEB10 in SPAD after assigning my format to the device.
    Thereafter, I tried to print my sticker. During this procedure, on selection of the new device type, the fonts automatically changed to ARIAL in the print preview. When I give the print command (Spool request : Print immed = X, Delete after output = X & New spool request = X) it gives an error message Error in spool C call: Error from TemSe.
    Since the output had not been issued, I opened the spool request to view its TemSe characteristics. Here I found
    Spool Attributes
    Output Device    ZEB10
    Format           ZTT               Format
    Doc. Category    SMART
    Recipient
    Department
    Deleted On       19.01.2011
    Authorization
    Output Attributes
    No. of Copies   1
    Priority              5
    SAP Cover Page Do not print SAP cover page
    OS Cover Sheet  Print as set at printer
    Requested           0
    Processed           0   With Problem                             0
                            With Error (Not Printed)                 0
    Storage Mode Print
    TemSe Attributes
    Object name           SPOOL0000013836
    Data type             ????????????
    Character set         0 -
    > Character set of dev type = 1162
    Number of parts       0
    Record format
    Size in bytes         0
    Storage location
    On seeing SP01
          Spool no.              Type                 Date        Time   Status   Pages               Title
           13836      Smartforms(OTF) 11.01.2011  07:32       +          0      SMART LP01 USERID
    I hope this data helps you help me. Please ask for more data if you wish. Also, I have searched vastly for this error on the net  have already come across the link http://help.sap.com/saphelp_45b/helpdata/en/d9/4a8f9c51ea11d189570000e829fbbd/frameset.htm but to no use. On the SDN, I have not found a similar thread and that is why I decided to post this problem here, hoping to find a solution. Kindly help.
    Regards,
    Manas

    Hi Manas,
    I am facing the same issue for one of my clients.
    Can you please share the solution with me if you have come out with it.
    Regards,
    Nirmal.K

  • Need Help in expdp for resolving ORA-39127: unexpected error from call

    Hi All,
    My Environment is -------> Oracle 11g Database Release 1 On Windows 2003 Server SP2
    Requirement is ------------> Data Pump Jobs to be completed without any error message.
    I am tryring to take export data pump of a schema
    Command Used --> expdp schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Export Log Show this details its completed with 2 error messages
    Export: Release 11.1.0.6.0 - Production on Saturday, 23 April, 2011 13:31:10
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the OLAP option
    FLASHBACK automatically enabled to preserve database integrity.
    Starting "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** schemas=scott directory=data_pump_dir dumpfile=scorr.dmp version=11.1.0.6.0
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 192 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',0,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_CUBE_EXP.schema_info_exp('SCOTT',1,1,'11.01.00.06.00',newblock)
    ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found.
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 205
    ORA-06512: at "SYS.DBMS_CUBE_EXP", line 280
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 5980
    . . exported "SCOTT"."DEPT" 5.945 KB 4 rows
    . . exported "SCOTT"."EMP" 8.585 KB 14 rows
    . . exported "SCOTT"."SALGRADE" 5.875 KB 5 rows
    . . exported "SCOTT"."ACCTYPE_GL_MAS" 0 KB 0 rows
    . . exported "SCOTT"."BONUS" 0 KB 0 rows
    Master table "SYSTEM"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    D:\APP\ADMINISTRATOR\ADMIN\SIPDB\DPDUMP\SCORR.DMP
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completed with 2 error(s) at 13:40:08
    Please help me to resolve this issue.
    Thank you,
    Shan

    Hi Shan,
    I am getting very similar to yours
    "ORA-37111: Unable to load the OLAP API sharable library: (The specified module could not be found."
    error message while creating OLAP Analytic Workspace with AWM.
    I am creating workspace for the first time, actually following some tutorial to get some knowledge about OLAP)
    I see you managed to solve you problem.
    I wonder how I can get this MOS DOC 852794.1 - is it possible to get it without going to Metalink?
    Thanks in advance for any help.
    Regards,
    SC

  • Strange system log error from Photoshop CS4

    Hi.
    I keep getting this strange system log error from Photoshop CS4.
    It comes after a wile when using PS CS4.
    I tried to chance the memory settings and scratch disc to see if that helped. It didn't.
    I also checked all my ram for anything bad. 16GB in my Mac Pro Intel OS X 10.5.6
    Everything is updated to latest included Adobe apps.
    This is the system log error
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** set a breakpoint in malloc_error_break to debug
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: Adobe Photoshop CS4(305,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr  7 16:04:03 mugge [0x0-0x28028].com.adobe.Photoshop[305]: *** error: can't allocate region
    And it keeps on until i close Photoshop.
    Please anybody ?? i cant figure out what this means.
    Thx for help.
    Erik S

    Now i get this system log error ?
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: Adobe Photoshop CS4(651,0x6a73720) malloc: *** mmap(size=132911104) failed (error code=12)
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** error: can't allocate region
    Apr 29 14:45:02 mugge [0x0-0x32032].com.adobe.Photoshop[651]: *** set a breakpoint in malloc_error_break to debug
    and this from Bridge ???
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: double free\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0xcb73827b: Non-aligned pointer being freed\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge Adobe Bridge CS4[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: Non-aligned pointer being freed (2)\n*** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: double free
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0xcb73827b: Non-aligned pointer being freed
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: Adobe Bridge CS4(650,0xb0e8f000) malloc: *** error for object 0x29777980: Non-aligned pointer being freed (2)
    Apr 29 16:35:45 mugge [0x0-0x31031].com.adobe.bridge3[650]: *** set a breakpoint in malloc_error_break to debug
    Chris. also read my post just before this one plase.  thx

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • RDLC Reports with Custom Font - Error HRESULT E_FAIL has been returned from a call to a COM component.

    Hi,
    I got an ASP.NET MVC (Razor View Engine and C#) application running on a Windows Azure Web Role.
    I use RDLC local reports to create pdf files with printable price tags with respective barcodes.
    I got it working on Azure after installing the barcode font (TrueType) using a start-up task. Recently, it stopped working without me changing anything related to this functionality.
    I'm getting the following error and so far I didn't find any solution. I know the problem is the barcode font because the pdf is generated well with a standard font like Arial. Also, it works perfectly with barcodes when running the app
    locally on my computer. 
    Error HRESULT E_FAIL has been returned from a call to a COM component.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.]
    System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) +0
    Microsoft.ReportingServices.Rendering.RichText.TextRun.ShapeAndPlace(Win32DCSafeHandle hdc, FontCache fontCache) +1450
    Microsoft.ReportingServices.Rendering.RichText.TextRun.GetWidth(Win32DCSafeHandle hdc, FontCache fontCache, Boolean isAtLineEnd) +30
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.GetLine(Paragraph paragraph, TextLine line, Win32DCSafeHandle hdc, FontCache fontCache, FlowContext flowContext, Single left, Single right, Single height, Stack`1 lineRunsIndex, Stack`1 lineRunsCharIndex, Int32 lineIndents) +266
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.FlowParagraph(Paragraph paragraph, Directions direction, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, SizeF flowContextSize, Int32& contentOffset) +768
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Win32DCSafeHandle hdc, Single dpiX, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +617
    Microsoft.ReportingServices.Rendering.RichText.LineBreaker.Flow(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Boolean keepLines, Single& height) +182
    Microsoft.ReportingServices.Rendering.RichText.TextBox.MeasureFullHeight(TextBox textBox, Graphics g, FontCache fontCache, FlowContext flowContext, Single& contentHeight) +759
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.CalculateVerticalSize(PageContext pageContext) +467
    Microsoft.ReportingServices.Rendering.HPBProcessing.TextBox.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +35
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.AddRowMember(TablixMember rowMember, Int32 colIndex, Int32 rowSpan, Int32 colSpan, LevelInfo childInfo, PageContext pageContext, Double updateWidth) +1104
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +4255
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, Int32 sourceIndex, Boolean resetContext, Boolean parentHasFooters, LevelInfo parentLevelInfo, PageContext pageContext) +3657
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixRows(Tablix tablix, TablixMember rowMemberParent, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex, Int32 parentColIndex, List`1& pageStructMemberCell, Boolean ignoreTotals, Boolean& finishLevel, Boolean parentHasFooters, CreateItemsContext createItems, Double startInTablix, Double endInTablix, PageContext pageContext) +4341
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateTablixItems(Tablix tablix, PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix) +239
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.CreateVertically(PageContext pageContext, CreateItemsContext createItems, Double startInTablix, Double endInTablix, Double topInParentSystem) +374
    Microsoft.ReportingServices.Rendering.HPBProcessing.Tablix.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +662
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineContentVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Boolean resolveState, Boolean resolveItem) +496
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItemContainer.DetermineVerticalSize(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors) +281
    Microsoft.ReportingServices.Rendering.HPBProcessing.PageItem.CalculateVertical(PageContext pageContext, Double topInParentSystem, Double bottomInParentSystem, PageItem[] siblings, List`1 ancestors, Boolean& anyAncestorHasKT, Boolean hasUnpinnedAncestors, Nullable`1 sourceWidth) +977
    Microsoft.ReportingServices.Rendering.HPBProcessing.ReportSection.NextPage(RPLWriter rplWriter, Int32 pageNumber, Int32 totalPages, Double top, Double availableHeight, ReportSection nextSection, Boolean isFirstSectionOnPage) +1382
    Microsoft.ReportingServices.Rendering.HPBProcessing.Report.NextPage(RPLWriter rplWriter, Int32 totalPages) +384
    Microsoft.ReportingServices.Rendering.HPBProcessing.HPBProcessing.GetNextPage(RPLReport& rplReport) +437
    Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer.Render(Report report, NameValueCollection deviceInfo, Hashtable renderProperties, CreateAndRegisterStream createAndRegisterStream) +1021
    Microsoft.ReportingServices.Rendering.ImageRenderer.RendererBase.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties, CreateAndRegisterStream createAndRegisterStream) +93
    My source code:
    LocalReport report = new LocalReport();
    // Rdlc file path
    report.ReportPath = Server.MapPath("~/Reports/PriceTags.rdlc");
    // Data source
    report.DataSources.Add(new ReportDataSource("productsDataSet", dataset1));
    // Some parameters
    ReportParameterCollection reportParameters = new ReportParameterCollection();
    reportParameters.Add(new ReportParameter("currency", "EUR"));
    reportParameters.Add(new ReportParameter("precision", 2));
    report.SetParameters(reportParameters);
    // FileContentResult GenPdf(LocalReport report, string filename)
    return GenPdf(report, "Price Tags");
    Any help on this issue would be welcome and sorry for any grammar mistakes.
    Thanks in advance.
    Vitor Pinto

    Hi Vitor,
    Thanks for your posting!
    It seems that the error may have more than one possibilities. I recommend you could try to use the Azure remote debugger to debug your cloud service project on Azure instance. Please see this tutorials:
    http://blogs.msdn.com/b/cie/archive/2014/01/24/windows-azure-remote-debugging.aspx
    You could debug your code using the cloud service URL.
    And you could enable the Diagnostics feature for collecting Logging Data by Using Azure Diagnostics (http://msdn.microsoft.com/library/gg433048.aspx).
    Regards,
    Will
    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.

  • ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP

    Hi,
    I am trying to export a Schema from 11.2.0.2 and getting the below error on export
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12425,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string :=
    SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12424,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12423,1,...)
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.GRANT_EXP(2003412,1,...)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 2296
    ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 52
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 7049
    I  have searched the forum and found similar errors, but I am struggling to understand the cause and solution.
    Forums seem to indicate it may be related to bug 4358907, Re: Datapump export/import object grants given by another user but not sure it is relevant as I can see a ORA-01031: insufficient privileges in this log.
    Can you please advise?
    Thanks

    Please show your export command  and read MOS ID: ORA-39127 using datapump exp [ID 451987.1 ]
    and check below forms discussion:
    https://forums.oracle.com/message/10237007

Maybe you are looking for

  • Mime-type of picture in xstring

    Hi, I have an xstring with a picture. How can I get a mime type of this picture in ABAP? Thank you. Regards Michal

  • How to export a complex Keynote to high quality video for DVD?

    I have had dozens of attempts to turn a complex Keynote into a high quality video. Either they turn out disappointiingly way low res or they are very choppy with half the transitions gone or they Cannot make the video at all HELP. I need to turn this

  • Macbook shuts down!

    I have had this problem several times, My macbook shuts down when printing. A large power button symbol comes across the screen saying basically that the computer has quit. Any ideas? To top it off I restarted and opened mail and it is as if no accou

  • Does iMac recovery DVDs include iLife08?

    I just got my iMac yesterday. When I checked everything in my box, I found only two DVDs in it. One is for installing Mac OSX system and system apps, such as Mail, iCal, etc. The other dvd only including an Xcode folder. I can't find how to reinstall

  • Online streaming problem...

    Hi there, I dont download files but I watch alot of foreign stuff online with subtitles...there's a particular site that I go to and it asked me to download the lates Adobe Flash Player which I did, once I play the video, it tried to "load subtitles"