WB_OLAP_AW_PRECOMPUTE: Template cannot contain escape parameters

I tried to use the WB_OLAP_AW_PRECOMPUTE transformation as a Post-Mapping-Process (OWB10gR2). When validating the mapping I get the error message "Template cannot contain escape parameters". Does anybody have an idea what that could be??

Please find below part of the mapping code generated by OWB. There you can see the content of the parameters.
"CONSTANT_0_AW_NAME" VARCHAR2(100) := 'TEST_MODULE';
"CONSTANT_1_CUBE_NAME" VARCHAR2(100) := 'TEST_CUBE';
"CONSTANT_2_MEASURE_NAME" VARCHAR2(100) := 'SALES';
"TRUNCATE_LOAD$2" VARCHAR2(32767);
"WB_OLAP_AW_PRECOMPUTE_5_VALUE" VARCHAR2(32767);
-- Post-Model triggers
IF NOT get_abort THEN
BEGIN
"WB_OLAP_AW_PRECOMPUTE_5_VALUE" := WB_OLAP_AW_PRECOMPUTE("TEST_CUBE_MAP".GET_CONSTANT_0_AW_NAME,"TEST_CUBE_MAP".GET_CONSTANT_1_CUBE_NAME,"TEST_CUBE_MAP".GET_CONSTANT_2_MEASURE_NAME);
EXCEPTION WHEN OTHERS THEN
get_trigger_success := FALSE;
END;
END IF;
-- Assign the Mapping Output Parameters
"VALUE" := "TEST_CUBE_MAP"."WB_OLAP_AW_PRECOMPUTE_5_VALUE";;
"AW_EXECUTE_RESULT$2" := "AWLOADLOAD_str";

Similar Messages

  • VLD-1141, Template cannot contain escape characters.

    Hi All,
    I need help about mapping deployment. I am working on a mapping. I can deploy it before to 9i target location. But after upgrading target database to 10g, I get the error VLD-1141 when I deploy it. The detail is Template cannot contain escape characters.
    And the full error message is as following:
    VLD-1141: Internal error during mapping generation.
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
    at oracle.wh.util.expr.WBLiteralExpression.<init>(WBLiteralExpression.java:34)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.addContextExpressionsForGroups(GenericTransformGenerationDelegate.java:345)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.prepareOutputContextPlSql(GenericTransformGenerationDelegate.java:1433)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformPlSqlDelegate.prepareOutputContext(GenericTransformPlSqlDelegate.java:147)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:239)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoopInternal(PlSqlGenerationMediator.java:3206)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoop(PlSqlGenerationMediator.java:3190)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleRowBased(PlSqlGenerationMediator.java:3115)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:538)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:770)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:316)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:99)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:241)

    There are to bugs:
    Bug 5403652 - ERROR 'TEMPLATE CANNOT CONTAIN ESCAPE CHARACTERS' WHEN VALIDATING A MAPPING
    Bug 5561224 - MIGRATION OF MAPPING REQUIRES CHANGE IN CONFIG TO ALLOW VALIDATION
    against OWB 10.2.0.1
    but these bugs are fixed from 10.2.0.2
    The bug is related to pre/post mapping operators...
    If you are on 10.2.0.3 or your mapping does not have these operators then have no clue...

  • Validation - template cannot contain escape characters

    Hi all, im new to Warehouse builder, i find the documentation lacking, the tutorials lacking and i can't find any books on warehouse builder either. Am I stupid ? :-)
    Anyway, i've set up 3 constants (varchar2) to pass as parameter values to a function im calling and when i try to validate the mapping im getting 'Template cannot contain escape characters'.
    Then im getting validation completed successfully..however, when i try to deploy im getting this:
    VLD-1141: Internal error during mapping generation.
    java.lang.IllegalArgumentException: Template cannot contain escape characters.
    at oracle.wh.util.expr.WBLiteralExpression.<init>(WBLiteralExpression.java:34)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.addContextExpressionsForGroups(GenericTransformGenerationDelegate.java:345)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformGenerationDelegate.prepareOutputContextPlSql(GenericTransformGenerationDelegate.java:1433)
    at oracle.wh.service.impl.mapping.component.transforms.GenericTransformPlSqlDelegate.prepareOutputContext(GenericTransformPlSqlDelegate.java:147)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:239)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoopInternal(PlSqlGenerationMediator.java:3206)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleCursorLoop(PlSqlGenerationMediator.java:3190)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assembleRowBased(PlSqlGenerationMediator.java:3115)
    at oracle.wh.service.impl.mapping.generation.PlSqlGenerationMediator.assemble(PlSqlGenerationMediator.java:538)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:770)
    at oracle.wh.service.impl.mapping.generation.WBMappingGenerator.generate(WBMappingGenerator.java:316)
    at oracle.wh.service.impl.mapping.generation.WBDeployableMappingGenerator.generate(WBDeployableMappingGenerator.java:99)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:433)
    at oracle.wh.service.impl.generation.common.WBGenerationService.generateCode(WBGenerationService.java:311)
    at oracle.wh.service.impl.generation.service.WhValidationGenerationTransaction.run(WhValidationGenerationTransaction.java:241)
    I have no clue whatsoever what this is about, can anyone tell ?

    hi ,
    I also got the same error when i migrated MDL from owb 9.2 version.
    I was using OWB 10.2.01, and heard that it is a bug which is fixed in owb 10.2.0.3
    So i applied the patch and this error gone.
    In case if it help u.
    rojo

  • Template cannot contain escape characters

    I created a database function which takes a varchar2 variable as input and passes back a number as output.
    I am using pre mapping process to call this function and I created a constant with the value I want to pass to this function. When I try to validate my mapping I am getting this error
    Template cannot contain escape characters.
    Why am i gettign this error any ideas as to how to fix this. I know for sure the join of the constant to the input mapping process is causing this error but my constant variable just has
    'xxxxx_xxxx' no other characters.
    Thanks

    Hi
    Are you using the 10.2.0.1 production release, I think this is bug 5403652. It should be fixed in a patch after (10.2.0.2 onwards), you could also try set based only code generation and see if this bypasses the problem (there is a comment in the bug indicating it is a row based code gen bug).
    Cheers
    David

  • Part of my template cannot be edited. help

    Can someone please tell me why the right column of this template cannot be edited.  when I try to edit all the info is selected but nothing happens.  strangely the bottom part (wealth calculators) can be edited but the two divs above can't.
    thanks
    patrick
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/main_index.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>GreenP - Wealth, Wisdom, Health &amp; Happiness</title>
    <!-- InstanceEndEditable -->
    <link href="../main_page.css" rel="stylesheet" type="text/css" />
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .thrColFixHdr #sidebar1 { width: 180px; }
    .thrColFixHdr #sidebar2 { width: 190px; }
    </style>
    <![endif]-->
    <!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .thrColFixHdr #sidebar2, .thrColFixHdr #sidebar1 { padding-top: 30px; }
    .thrColFixHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- InstanceBeginEditable name="head" -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="homeClass" type="text" value="thrColFixHdr" -->
    <!-- InstanceParam name="resourceClass" type="text" value="holder" -->
    <!-- InstanceParam name="wisdomClass" type="text" value="holder" -->
    <!-- InstanceParam name="wealthClass" type="text" value="current" -->
    <!-- InstanceParam name="healthClass" type="text" value="holder" -->
    <!-- InstanceParam name="happinessClass" type="text" value="holder" -->
    <!-- InstanceParam name="relationshipClass" type="text" value="holder" -->
    <!-- InstanceParam name="yesyoucanClass" type="text" value="holder" -->
    <!-- InstanceParam name="membersClass" type="text" value="holder" -->
    <!-- InstanceParam name="puzzleClass" type="text" value="holder" -->
    <!-- InstanceParam name="videosClass" type="text" value="holder" -->
    <!-- InstanceParam name="funfactsClass" type="text" value="holder" -->
    <!-- InstanceParam name="aboutusClass" type="text" value="holder" -->
    <!-- InstanceParam name="id" type="text" value="midCol" -->
    <!-- InstanceParam name="footerClass" type="text" value="thrColFixHdr" -->
    <!-- InstanceParam name="bottomColId" type="text" value="bottomCol" -->
    </head>
    <body class="thrColFixHdr">
    <div id="container">
      <div id="header">
        <div id="headerLogo"><img src="../greenP_logo.gif" width="298" height="114" alt="logo" /></div>
        <div id="headerAd">Oh my gosh!! 100 customers just passed your register? Click here to get them</div>
        <h1> </h1>
        <!-- end #header -->
      </div>
      <div id="nav">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="../index.html" class="thrColFixHdr">Home</a></li>
          <li><a href="#" class="thrColFixHdr">Resources</a>
            <ul>
              <li><a href="#">Business Opportunities</a></li>
              <li><a href="#" class="MenuBarItemSubmenu">Jobs</a>
                <ul>
                  <li><a href="#">Caribbean</a></li>
                  <li><a href="#">USA</a></li>
                </ul>
              </li>
            </ul>
          </li>
          <li><a href="#" class="thrColFixHdr">Wisdom</a></li>
          <li><a href="../wealth.html" class="thrColFixHdr">Wealth</a></li>
          <li><a href="#" class="thrColFixHdr">Health</a></li>
          <li><a href="#" class="thrColFixHdr">Happiness</a></li>
          <li><a href="#" class="thrColFixHdr">Relationships</a></li>
          <li><a href="#" class="thrColFixHdr">Achieved!</a></li>
          <li><a href="#" class="thrColFixHdr">Videos</a></li>
          <li><a href="../crossword_main_page.html" class="thrColFixHdr">Crossword</a></li>
          <li><a href="../jigsaw_people_world_leaders.html" class="thrColFixHdr">Jigsaw</a></li>
          <li><a href="#" class="thrColFixHdr">Members</a></li>
          <li><a href="../about_us.html" class="thrColFixHdr">About us</a></li>
        </ul>
      </div>
      <div id="search">
    <form name="fbsearch" method="get" action="http://ss662.fusionbot.com/b/q" style="margin:0;">
      <div align="left"><font size="2" face="arial"><a href="http://www.fusionbot.com" target="_blank">Site Search</a>:</font>
        <input type="text" name="keys" size="15">
        <input type="submit" value="GO">
        </div>
        <input type="hidden" name="sn" value="160516902">
    </form>
      </div>
      <div id="nav2"><a href="http://pub27.bravenet.com/chat/show.php?usernum=2253679465&cpv=2"><img src="../_image/Chat-with-friends-&amp;-network.gif" width="173" height="25" alt="chat" /></a><a href="http://pub27.bravenet.com/calendar/show.php?usernum=2253679465"><img src="../_image/calendar_button.gif" width="173" height="25" alt="calendar" /></a><a href="http://pub27.bravenet.com/postcard/post.php?usernum=2253679465"><img src="../_image/Send-Some-Love-Today.gif" width="173" height="25" alt="send some love" /></a><a href="../comments.html"><img src="../_image/Your-comments-please.gif" width="173" height="25" alt="your comments" /></a></div>
      <div id="chat">
        <!-- Start Bravenet.com Service Code -->
        <div align="center"></div>
        <!-- End Bravenet.com Service Code -->
      </div>
      <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats -->
      <!-- InstanceBeginEditable name="container" -->
      <p> </p>
      <div id="wealthLeftCol">
        <p>ADVERTISEMENT</p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
      </div>
      <!-- TemplateBeginEditable name="EditRegion2" -->
      <div id="wealthMidCol">
        <p>Content for  id "wealthMidCol" Goes Here</p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
        <p> </p>
      </div>
      <!-- TemplateEndEditable -->
      <div id="wealthRightCol">
        <div id="wealthVideos"> <span class="pageHeadings">Wealth Videos</span>
          <ul>
            <li class="editorialcontent"><a href="../the_new_rules_of_money.html">The new rules of money</a></li>
            <li class="editorialcontent">Good debt &amp; bad debt </li>
            <li class="editorialcontent">3 types of income</li>
            <li class="editorialcontent">How relative is wealth </li>
          </ul>
          <p> </p>
        </div>
        <div id="wealthResourc"> <span class="pageHeadings">Wealth Resources</span>
          <ul>
            <li class="editorialcontent">Accountants</li>
            <li class="editorialcontent">Banks</li>
            <li class="editorialcontent">Building Societies</li>
            <li class="editorialcontent">Business Opportunities</li>
            <li class="editorialcontent">Credit Unions</li>
            <li class="editorialcontent">Government Agencies</li>
            <li class="editorialcontent">Investment Banks</li>
            <li class="editorialcontent">Investment Brokers</li>
            <li class="editorialcontent">Lawyers</li>
            <li class="editorialcontent">Mortgage Brokers</li>
            <li class="editorialcontent">Realtors</li>
            <li class="editorialcontent">Small Business Agencies    </li>
          </ul>
        </div>
        <div id="wealthCalculators"> <span class="pageHeadings">Wealth Calculators</span>
          <ul>
            <li><a href="../credit_cardmin_payment.html">Credit Card Payment</a></li>
            <li><a href="../mortgage_refinance.html">Mortgage refinance</a></li>
            <li><a href="../life_savings.html">Life savings</a></li>
            <li><a href="../car_cost_comparison.html">Car cost comparison</a></li>
            <li><a href="../car_cost_buying.html">Total cost of owning a car</a></li>
          </ul>
          <p> </p>
        </div>
      </div>
      <p> </p>
      <div id="wealthFooterAd">Content for  id "wealthFooterAd" Goes Her  </div>
      <p> </p>
      <!-- InstanceEndEditable --><br class="clearfloat" />
      <div id="footer">
        <p>Copyright &copy; GreenP. All rights reserved. No reproduction of any kind without written permission</p>
        <!-- end #footer -->
      </div>
      <!-- end #container -->
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    <!-- InstanceEnd --></html>

    Do you mean the div called "wealthRightCol" ?  If so it is not in an editable region.
      <!-- TemplateEndEditable -->
      <div id="wealthRightCol">
    Also you have two elements with the same id, sort of.  I have no idea how the DOM handles an id on a comment, and no ida how the dw Template API handles an id in anything other than a comment's id, but jsut to be safe it might be good to change one of the the "container" ids:
    <div id="container">
    <!-- InstanceBeginEditable name="container" -->
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • [Application Update Error] - The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text.

    Hello,
    I developed a custom SharePoint 2013 Application (SharePoint hosted) and everything works fine. If I tried to update the application and I ran into the following error:
    The element 'Field' in namespace 'urn:deployment-manifest-schema' cannot contain text. List
    of possible elements expected: any element in namespace '##any'.
    If I redeploy the application (without update, just a new instance) everything works fine. Only the update scenario throws the exception above. 
    I tried different things to solve that issue:
    I recreated the feature
    I checked all the custom field definitions, content types and lists inside the app. 
    I tried different O365 tenants and a SharePoint 2013 On Premise Development Server (Same problem on all systems)
    Can anybody give me a tip to solve that problem?
    Thanks in advance

    Hi,
    According to your description, when you try to update your SharePoint Hosted App, an error occurs.
    To narrow down the issue, I would suggest you create a simple app without other components in it, deploy it and then update it to see if this error will still occur.
    Once you get a workable app without the update issue, then you can add other customizations one after one in this app and perform the update. By doing this, it would
    be easier to find out the root cause.
    Anyway, you can take a look at the link below about updating app for more information:
    http://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx
    Feel free to reply if there any progress.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Register iPhone "Password cannot contain spaces"

    I want to register my iPhone but cannot login to my existing Apple ID because the screen shows an error saying my password cannot contain spaces...
    However, my actual password does contain space(s), and I have never experienced issues with logging in elsewhere. (appleid.apple.com, iTunes Store, developer.apple.com, ...)
    Is this some kind of bug in the register form?
    Screenshot: http://cl.ly/U8bO
    Edit:
    Mavericks 10.9.2
    iTunes 11.1.4
    iPhone5 w/ iOS 7.0.6

    What happens when you change your password to one without spaces?
    Apple ID: Changing your password

  • TimesTen Error :5126: A system managed cache group cannot contain non-stand

    I have created few cache groups in TimesTen.
    And when i fired script to create fillowing cache group its gives me error.
    please see the details mentioned below.
    CREATE USERMANAGED CACHE GROUP C_TBLSSTPACCOUNTINGSUMMARY
    AUTOREFRESH MODE INCREMENTAL INTERVAL 5 SECONDS STATE ON
    FROM
    schema.tablename
    ACCOUNTINGSUMMARYID DOUBLE,
    INPUTFILENAME VARCHAR(255) NOT NULL,
    ACCOUNTINGSTATUS VARCHAR(255) NOT NULL,
    RECORDCOUNT DOUBLE,
    LASTUPDATEDDATE DATE NOT NULL,
    CREATEDATE TIMESTAMP DEFAULT SYSDATE,
    PRIMARY KEY (ACCOUNTINGSUMMARYID),
    PROPAGATE);
    then error occurs like==>
    5121: Non-standard type mapping for column JISPRATCORBILLINGDEV501.TBLSSTPACCOUNTINGSUMMARY.ACCOUNTINGSUMMARYID, cache operations are restricted
    5126: A system managed cache group cannot contain non-standard column type mapping
    The command failed.

    If you have access to Oracle Metalink, Please take a look at the Note:367431.1
    Regards,
    Sabdar Syed.

  • Dynamic Action Set Value - PLSQL Error - cannot contain an expression

    I am trying to use below in a Dynamic Action to Set Value with PL/SQL Function. The dynamic action does not update the item appropriately. I tried to run the below directly in SQL Workshop but received the error "PLS-00372: In a procedure, RETURN statement cannot contain an expression". How can I get below to return the value needed?
    DECLARE
    rqstdaloe number;
    rqstdeloe number;
    devpercent number;
    rqsttarget date;
    timeleft number;
    PSPTime number;
    DevTime number;
    DevPer number;
    BEGIN
    SELECT SUM("TRACK_TIME_SPENT") INTO rqstdaloe
    FROM "TIME_TRACKER"
    LEFT JOIN "TBL_R66_TASK_TYPE" ON "TASK_TYPE_ID" = "TRACK_TYPE"
    WHERE "TRACK_REQUEST_ID" = :P2_REQUEST_ID AND "TASK_TYPE_TYPE" = 'DEV';
    rqstdeloe := :P2_REQUEST_ELOE;
    SELECT SUM(TT1."TRACK_TIME_SPENT") INTO DevTime
    FROM "TIME_TRACKER" TT1
    LEFT JOIN "TBL_R66_TASK_TYPE" TT2 ON TT1."TRACK_TYPE" = TT2."TASK_TYPE_ID"
    WHERE TT1."TRACK_USER" = :P2_PSP_ASSIGNED_PRIMARY AND TT2."TASK_TYPE_TYPE" = 'DEV';
    SELECT SUM(TT1."TRACK_TIME_SPENT") INTO PSPTime
    FROM "TIME_TRACKER" TT1
    WHERE TT1."TRACK_USER" = :P2_PSP_ASSIGNED_PRIMARY;
    DevPer := ROUND(DevTime/PSPTime,2)*8;
    timeleft := TRUNC(((NVL(rqstdeloe,0) - NVL(rqstdaloe,0))/DevPer)+.99999,0);
    rqsttarget := to_date(sysdate,'mm/dd/yyyy') + timeleft;
    RETURN rqsttarget;
    END;

    Hi Dave,
    just a quick hint. If you just want to have the time part of a date/sysdate, you can use TRUNC to do that. So your existing code
    rqsttarget := to_date(sysdate,'mm/dd/yyyy') + timeleft;could be changed to
    rqsttarget := trunc(sysdate) + timeleft;If you perform a TO_DATE on a date variable, the PL/SQL engine will first convert that date variable with an implicit type conversion to a VARCHAR2, because the TO_DATE interface only supports VARCHAR2's and NUMBER's.
    But implicit type conversions are always dangerous, because if your default date format mask isn't mm/dd/yyyy your TO_DATE will fail.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • ORA-31127: RCList cannot contain noncommitted resource configuration

    Dear all,
    When I execute dbms_xdb.deleteresource, meet the error: RCList cannot contain noncommitted resource configuration.
    From the online manual, I notice that "Before performing any operation that uses a resource configuration file, you must perform a COMMIT operation. Until you do that, an ORA-22881 "dangling REF" error will be raised whenever you use the configuration file".
    Maybe this occured serveral days ago, that I issued a uncommited appendResourceConfig command. Now, how can I delete this folder from xdb repository. Somebody help me please, thanks.
    my oracle server version: Release 11.1.0.6.0
    Edited by: user1201051 on 2009-6-3 下午6:29
    Edited by: user1201051 on 2009-6-3 下午6:30

    more info about this question.
    when Ii issue below:
    select value(p).getClobVal() from xdb.xdb$resource p where equals_path(value(p),'/mypath')=1;
    I cannot found any rclist info, and when I lookup the XDBResource.xsd schema file, I found this line:
    <element xdb:propNumber="754" name="RCList" type="xdb:RCListType" xdb:memType="258" xdb:system="false" xdb:mutable="false" xdb:SQLName="RCLIST" xdb:SQLType="XDB$RCLIST_T" xdb:SQLSchema="XDB" xdb:JavaType="XMLType" xdb:global="true" xdb:hidden="true" xdb:baseProp="true" nillable="false" abstract="false" xdb:SQLInline="true" xdb:JavaInline="false" xdb:MemInline="false" xdb:maintainDOM="false" xdb:defaultTable="00" xdb:defaultTableSchema="XDB" xdb:JavaClassname="oracle.xdb.RCListBean" xdb:beanClassname="oracle.xdb.RCListBean" xdb:numCols="1" minOccurs="0" maxOccurs="1"/>
    which show xdb:hidden="true", Does this means that we could not query the rclist info, or maybe some other way to get this info?
    thanks for advance.
    Edited by: winger du on 2009-6-5 上午2:43

  • Cannot parse POST parameters of request: in weblogic 9.2

    Hi,
    Our application is deployed in weblogic server 9.2. From last week i am getting the below exception.
    ####<Jul 9, 2010 10:25:39 AM MEST> <Error> <HTTP> <aberdeen> <IAEABEP1> <[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1278663939056> <BEA-101019> <[weblogic.servlet.internal.WebAppServletContext@e9a555 - appName: 'coreedcs', name: '/edcsapp', context-path: '/edcsapp'] Servlet failed with IOException
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/edcsapp/CheckInProcess.do'
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:1823)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:1710)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1663)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:756)
    at com.eurostar.app.edcs.web.processor.EDCSCustomRequestProcessor.processPreprocess(EDCSCustomRequestProcessor.java:104)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:184)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3241)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.net.ProtocolException: EOF after reading only: '2760' of: '3801' promised bytes, out of which at least: '2760' were already buffered
    at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:93)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:179)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:211)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:1798)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:1710)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1663)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:756)
    at com.eurostar.app.edcs.web.processor.EDCSCustomRequestProcessor.processPreprocess(EDCSCustomRequestProcessor.java:104)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:184)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3241)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    From the error detail we can see the exception is logged while processing the request 'CheckInProcess.do'.
    and the exception is thrown at the below line of code.
    String functionId = request.getParameter("REQ_FUNCTIONID");
    So, What does this mean please ?. How can i resolve this error?

    I wonder if a certain user is sending mal-formed requests? Does the access log indicate that these requests may be originating from the same IP or set of IPs and not from others?
    There probably is some additional debug you can enable to get some additional detail in the logs, but it may be verbose. Given that this is a POST it may be difficult to see without some invasive steps. I recommend opening a support case to get the troubleshooting steps.

  • Rails newbie "First argument in form cannot contain nil or be empty"

    I am learning ruby on rails, and I have difficulties with syntax.
    I got this error
    <code>First argument in form cannot contain nil or be empty</code>
    I have searched for solution. Here and google it. Could not find any to my problem...
    <code>
    class PersonalsController < ApplicationController
       def index
       end
       def create   
          @personal = Personal.new
       end
       def new
          @personal = Personal.new     
       end
       def show
          @personal = Personal.find([:id])
       end
    end       
    </code>
    index.html.erb
    <code>
    <%= form_for @personal do |f| %>
      <%= f.label :title %><br>
      <%= f.text_field :title %>
      <%= f.submit %> 
    <% end %>
    </code>

    # or by overriding them in a specific, named configuration (see below)
    [default]
    this line seems to start a named section that finishes nowhere.
    comment this line (put a # in front of it)
    FRancois

  • Pages (or Numbers) Template Cannot Be Opened From Outside the Application

    Ever since the upgrade to Mavericks, I cannot open a Pages (or Numbers) template without being asked.....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything.
    But this template is already in my Template Chooser.
    So the only way to open a template in Pages (or Numbers) is to open the application first, and then click "New", and choose the template.
    I can't figure out a way to open the template from outside the application, which is very very handy, rather than having to open the application every time that I want to access a template.
    How can I open a template simply by clicking on it?

    Yes, the problem is that opening the template from outside of the application will not open the application, showing the document.  I only get this....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything. 
    But this template is already in my Template Chooser.
    Put your Pages or Numbers document on your desktop and open it by double-clicking it, and you'll understand.  You can't do it, even if the template is in your template chooser.
    The only way to do this now is to open the application, select "New", and the select the template.  So you cannot open a template from outside the application....only from within.

  • Numbers (or Pages) Template Cannot Be Opened From Outside the Application

    Ever since the upgrade to Mavericks, I cannot open a Numbers (or Pages) template without being asked.....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything.
    But this template is already in my Template Chooser.
    So the only way to open a template in Numbers (or Pages) is to open the application first, and then click "New", and choose the template.
    I can't figure out a way to open the template from outside the application, which is very very handy, rather than having to open the application every time that I want to access a template.
    How can I open a template simply by clicking on it?

    Yes, the problem is that opening the template from outside of the application will not open the application, showing the document.  I only get this....
    Do you want to add this custom template to the Template Chooser?  Then my only options are Cancel or Add to Template Chooser.
    If I cancel, it won't open anything. 
    But this template is already in my Template Chooser.
    Put your Pages or Numbers document on your desktop and open it by double-clicking it, and you'll understand.  You can't do it, even if the template is in your template chooser.
    The only way to do this now is to open the application, select "New", and the select the template.  So you cannot open a template from outside the application....only from within.

  • Issue with site template that contains a document library with a lookup column to another list

    I have a document library called Proposals with a lookup column in the same site called Document Categories (multiple values allowed).  It points to a list called document categories.  I have several sample documents in the Proposal Library that
    contain valid document categories.  When I save the site as a template and instantiate it, everything is fine.  However, when I remove the sample documents from the Proposal library and rebuild the site template, I can't get the  template to
    create another site.  I get an error Unable To Open Lookup List.
    I don't understand why I can instantiate a site from the template when there's sample data, but not when the document library containing the lookup column is empty.
    Does SharePoint 2010 site template support lookup columns?
    Why would it make a difference if the library is empty?
    Thanks

    Hi,
    According to your description, my understanding is that the error occurred when you created a site from the template with no files in the document library.
    I tested the same scenario per your post, and I can create a site from the template with no files in the document library with no errors.
    To solve this issue, I recommend to verify the things below:
    Did you save the site as a template with Include Content checked? If yes, I recommend to test if it works when saving the site as a template with Include Content unchecked.
    Test the same scenario with a new site to narrow the issue scope.
    I also recommend to check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
    You can check the ULS log by the methods here:
    http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
    http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Price List Auto Update based on Last Purchase Price

    Dear Expert                      I have a problem in updating the PriceList at one of my client site . They are making CST purchase Eg.    We are entering purchase through Goods Receipt PO item cost 100RS and CST tax 20 RS          Then Copy to AP in

  • Using an external hard drive I can't transfer my library (music,apps,books) to a new pc to a new pc

    I've bought a new laptop and need to transfer my entire library of music, apps, and books to that new computer. I have an external hard drive and exported library to it but now I'm unable to import it to the new computer. Did I not back up the extern

  • Some videos will not play (blank screen).

    Some of my videos will not play. I select the video and a "Play" arrow shows in the upper left portion of the screen, but the screen is dark (blank). I can press Menu and return. I don't believe it's a size issue because certain other larger videos d

  • Navigation within a block of data

    I'm in the process of re-writing my old old Excel Spreadsheet for financials into Numbers. The first bit, getting the formulas to survive a sort by date was asked and answered in a thread "Problems sorting after applying a simple formula". I have tha

  • [Bug] JDeveloper Crash on Recompile

    I moved static methods from one class to another while the debugger was running. I then clicked Alt-F9 to recompile (without stopping the debugger). JDeveloper 11.1.1.1.0 crashed with the following: *... removed a long list to make the 30,000 charact