Error when using cursor

I use a cursor as:

CUR cursor is
Select ("wwwwwwwwwwwwww... ") twice;


The values in the SQL statement has been greater than 4000 charecters length. So he was throwing an error like: string literal too long.


Please suggest... How to handle this.

Published by: user13044793 on February 8, 2011 02:45

user13044793 wrote:
I use a cursor as:

CUR cursor is
Select ("wwwwwwwwwwwwww... ") twice;

Why do you use the DUAL table? It is a special system table that is very useful for the application code. Using it, is practically an exception.

The values in the SQL statement has been greater than 4000 charecters length. So he was throwing an error like: string literal too long.
Please suggest... How to handle this.

Of course, it will fail because you can create strings in SQL Oracle which exceeds 4000 bytes. How to handle? Well, it depends on exactly what you're trying to do.

Tags: Database

Similar Questions

  • Receive the 25 (Null) error when using Flightsimulator FSX

    Receive the 25 (Null) error when using Flightsimulator FSX

    Hello

    Try to open the it to start - all programs - Games - Games Explorer, and then clicking the icon FSX.

    A disk error of 25 means that the program cannot read your disk reading.  Either the disc is scratch, dirty or defective.  If you need another drive, or you can try it on another computer. The message of Visual elements of Vista is not serious.  Vista will automatically your screen to a basic compatible mode when the application is launched.  However, it seems that your game is a failure due to the disk error and not the Vista display problem. Try to clean the disc and see if that helps.

    Last resort, it seems you'd have to do a complete uninstall and reinstall FSX.

    Cheers!

  • dbms_crypto - avoid error when using different key in lower environment

    Hello Experts,

    We use Oracle 11.2.0.2. We intend to implement dbms_crypto to encrypt some columns. Clone us the production data at the lower environment (DEV, QC).

    The lowest environments, we do not want to obtain the sensitive data from production and do not plan to use the same key. Instead of getting an error when using different keys, is it possible to get a different set of results.

    In other words, we want the implementation will be same in environments but use a different key in lower environment and obtain different results (or garbage).

    Any suggestions would be greatly appreciated.

    The test of this logic, I get following error when using the different keys to decrypt. It works fine if I use the same key.
    Error on line 1
    ORA-28817: PL/SQL function has returned an error.
    ORA-06512: at "SYS." DBMS_CRYPTO_FFI', line 67
    ORA-06512: at "SYS." DBMS_CRYPTO", line 44
    ORA-06512: at line 19
    DECLARE
      l_credit_card_no    VARCHAR2(19) := '1234 5678 9012 3456';
      l_ccn_raw           RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no);
     
     l_key               RAW(128) := UTL_RAW.cast_to_raw('abcdefgh');
       l2_key               RAW(128) := UTL_RAW.cast_to_raw('12345678');
    
      l_encrypted_raw     RAW(2048);
      l_decrypted_raw     RAW(2048);
    BEGIN
      DBMS_OUTPUT.put_line('Original  : ' || l_credit_card_no);
    
      l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw, 
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5, 
                                             key => l_key);
    
      DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw)));
    
      l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw, 
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5, 
                                             key => l2_key); --**Using different key to decrypt
    
      DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw));
    END;
    Thank you.

    In general, you can't get different results in different environments, no.

    Of course, you could write your routine to decrypt so that it intercepts it and returns a random string of RAW.

    However, this is not normally the way people go on hiding sensitive data in environments below. It would be much more common to use a tool that is designed for this tool. For example, Oracle has a Pack of masking of data for Enterprise Manager that allows to replace sensitive data with false, but realistic data as part of the updating of the environments below. There are also data from third-party tools like masqueur datamasking.

    Justin

  • Tecra 8100 system error when using Bank B

    Hello

    I get Bluscreens and system errors when you use Bank B. When you use Module1 in the Bank, everything is ok. When the same module as Bank A Bank (Bank A + B) b, I get errors.

    So, what would it be? What I have to 'turn on' the use of BANK B anywhere or not it looks like its defekt?

    Thanks for any help

    Hello

    Well, you must replace the motherboard if the memory bank has a defect. In this case, the only good way to connect with the service partner. They might give you detailed information.

    Good bye

  • unknown error when using vi express daq devices

    Hi there I have unknown error when you try to use express DAQ of VI. I downloaded and installed device drivers OR who needed to generate EXE since then this problem was occurring what should I do I've done everything that has been mentioned in the following thread

    (http://forums.ni.com/ni/board/message?board.id=170&message.id=336246&query.id=2154746#M336246), but no use, I'm not able to understand the problem can someone help me.

    Hi david thank you for everything my problem is solved by formatting the c drive that was the only solution... Thanks anyway bye...

  • Moved to the new server and updated applications upgraded to the APEX, 4.2.6.00.03 and get the random error when using IE 11.

    Hello

    I just moved a set of applications on a new server running Oracle 12 c and APEX 4.2.6.00.03, applications where initially on Oracle 10 G database with APEX 3.2.

    When you access via IE 11 users receive the error message after, when it appears that the only way to clear it is to close IE and reopen the application.

    apex_error.PNG

    There is an application that uses a database to MYSQL link, but the error when you use applications that do not use the link, so I'm not sure how to solve the problem.

    The error does not appear when you access applications through Chrome, but not all users have installed chrome.

    Thank you

    Ronnie

    Well Ronnie,

    This thread suppose to have a problem like yours and resolved. Please try on your side:

    After the footer I use: dbms_session.close_database_link ('mysql_databaselink_name');

    Please Urgent help on ora_sqlcode :-28500

    It will be useful.

    Thank you

    Sunil Bhatia

  • Get the error when using the UTL_SMTP function in Oracle 11 g

    Hello

    I get the error when executing a trigger e-mail code in oracle 11 g:

    I have following trigger on the temporary table:

    CREATE OR REPLACE TRIGGER temp_temp_message AFTER

    INSERT OR UPDATE ON temp_message FOR EACH LINE

    declare

    Conn UTL_SMTP . CONNECTION ;

    msg VARCHAR2 (2000);

    Start

    Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );

    UTL_SMTP . HELO ( conn, '10.250.1.149');

    UTL_SMTP . mail ( conn, '[email protected]');

    UTL_SMTP . RCPT () conn ' [email protected]');

    msg := "Hello, this is test mail." ;

    UTL_SMTP .data( conn, msg);

    UTL_SMTP . quit smoking ( conn );

    exception when others then

    dbms_output.put_line (sqlerrm);

    raise_application_error (-20000,

    "Failed to send because of the following error messages: ' " || sqlerrm);

    end;

    Insert in temp_message values ()1

    );

    When I insert the record in the table there are given the following error.

    ORA-20000: failed to send messages because of the following error: ORA-24247: access denied by access control (ACL) of network list

    ORA-06512: at the 'APPS '. TEMP_TEMP_MESSAGE', line 14

    ORA-04088: error during execution of trigger ' APPS. TEMP_TEMP_MESSAGE'

    But if I run the next plsql through sqlplus send mail successfully:

    declare

    Conn UTL_SMTP . CONNECTION ;

    MSG VARCHAR2 (2000);

    Start

    Conn := UTL_SMTP . open_connection ( host => '10.250.1.149', port=>25 );

    UTL_SMTP . HELO ( conn, '10.250.1.149');

    UTL_SMTP . mail ( conn, '[email protected]');

    UTL_SMTP . RCPT () conn ' [email protected]');

    msg := "Hello, this is test mail." ;

    UTL_SMTP .data( conn, msg);

    UTL_SMTP . quit smoking ( conn );

    exception when others then

    dbms_output.put_line (sqlerrm);

    raise_application_error (-20000,

    "Failed to send because of the following error messages: ' " || sqlerrm);

    end;

    Thanks in advance.

    Yoann

    To resolve ORA-24247 you must:

    (1) create an acl (if it is not already created)

    (2) add the user privileges using the resources of the network

    (3) to use the ACL to a specific address

    This might be useful

    How to fix an ORA-24247: access denied by access control (ACL) of network list | DB tips

  • WCF error when using the API of VSM

    VSM 9.1.4

    Oracle 10g R2

    I am attemtping to use the "MessageSendMessage" command in the VSM API to send back the client permissions and I get the following error message when running it from the VSM server.

    ERROR: The operation 'ContractUnlinkCIAsync' cannot be loaded because it has a parameter or type System.ServiceModel.Channels.Message or a type that has the MessageContractAttribute and other parameters of different types of return. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method should not use other types of settings.

    It's an odd error because I do not use the "ContractUnlinkCI" command which tells me that there is a problem with the generation of the class file.

    I ran the following command to generate my config file and the class in the directory "C:\Program Files (x 86) \Microsoft 4.0 Tools":

    Svcutil t:code /MessageContract. [URL ServiceManager.svc] / out: ISMAPI.cs /config:ISMAPI.config

    The class files and generated config ok. Then I copied the game config to the Web site's web.config file:

    < system.serviceModel >

    < links >

    < basicHttpBinding >

    < connection name = "BasicHttpBinding_IServiceManager" / >

    < / basicHttpBinding >

    < / links >

    < customer >

    < endpoint address = "[ServiceManager.svc URL]" binding = "basicHttpBinding" bindingConfiguration = contract "BasicHttpBinding_IServiceManager" = "IServiceManager" name = "BasicHttpBinding_IServiceManager" / >

    < / customer >

    < system.serviceModel >

    I put the ISMAPI.cs file in the App_Code to my site folder:

    DirectoryStructure.JPG

    My code works fine when I run locally and include the correct querystring values, but it returns the error above, when I run the code from the VSM server. The query string I used: default.aspx? ajaxfunction = 2 & tasknumber = 425134 & agent = 2370 & recvofficer = 2370

    using System;
    using System.Collections.Generic;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    using System.Runtime.Serialization;
    using System.ServiceModel;

    partial class _Default: System.Web.UI.Page
    {
    Protected Sub Page_Load (object sender, EventArgs e)
    {
    Response.Expires = - 1;
    Response.ContentType = "text/plain";
    If (Request.QueryString ["ajaxfunction"]! = null)
    {
    Try
    {
    Int16 intFunction = Int16.Parse (Request.QueryString ["ajaxfunction"]. (ToString());
    Switch (intFunction)
    {
    case 1:
    If (Request.QueryString ["tasknumber"]! = null)
    {
    Int64 intTaskNumber = Int64.Parse (Request.QueryString ["tasknumber"]. (ToString());
    Response.Write (getTaskApprovalComments (intTaskNumber.ToString ()));
    }
    break;
    case 2:
    If (Request.QueryString ["tasknumber"]! = null & & Request.QueryString ["officer"]! = null & & Request.QueryString ["recvofficer"]! = null)
    {
    MessageRequest load = new MessageRequest();
    inStruct.sLoginUserID = System.Configuration.ConfigurationManager.AppSettings ["apiLogin"];
    inStruct.sLoginPassword = System.Configuration.ConfigurationManager.AppSettings ["apiPassword"];
    inStruct.sDatabase = System.Configuration.ConfigurationManager.AppSettings ["apiDatabase"];
    inStruct.eEntityType = CRTEntityForEmail.Task;
    inStruct.nEntityRef = Int32.Parse (Request.QueryString ["tasknumber"]);
    inStruct.ePriority = MailPriority.Normal;
    inStruct.eMMAMessageType = MessageMMAType.Approval;
    inStruct.nMessageType = 130;
    inStruct.lRecipientRef = ' ~ ' + Request.QueryString ["recvofficer"];
    inStruct.eRecipientType = MessageRecipientType.Person;
    inStruct.bEmail = true;
    MessageResponse outStruct = new MessageResponse();
    SMC ServiceManagerClient = new ServiceManagerClient();
    outStruct = SCM. MessageSendMessage (inStruct);
    Response.Write (outStruct.sMessage);
    }
    break;
    by default:
    Response.Write ("ERROR: invalid function!");
    break;
    }
    }
    catch (System.Exception Exception)
    {
    Response.Write ("ERROR:" + exception.) (Message);
    }
    }
    Response.End ();
    }

    I hope one of the other directors VSM has met this problem and knows a solution. I tried Googling this issue but with my knowledge of WCF, I don't know what I'm looking at. I also tried commenting on the problem area in the ISMAPI.cs file but it gives me an other errors so I obviously don't know what I'm doing.

    Thank you.

    If locally it works fine I guess you should compare the versions of .net framework assigned to your web applications (application pool), and all the parameters specified in the web.config file.

  • Error when using the plugin

    Hello

    I get a strange error when I try to use a plugin.

    On page 5 of the Wizard after you press on create a new element on a region, it gives me the following error:
    ORA-06502 pl sql numeric or value error character string too small buffer

    I guess that's the page where the wizard is supposed to show me the attributes of plugins, because if I continue the wizard I have all of the attributes listed in the plugin either.

    Anyone knows what is the cause?

    Here is the error:
    http://test.Kolonist.dk/SQL_ERROR.jpg

    Hello

    Yes, this is a known issue that will be fixed in our 4.0.2 group of hotfixes.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • In Oracle 10 g error when using COLLECT

    I get the error when you use collect in 10g

    SQL > ed
    A written file afiedt.buf

    1. SELECT deptno
    2, COLLECT (ename) AS PGE
    3 FROM emp
    GROUP 4 BY
    5 * deptno
    SQL > /.
    COLLECT (ename) AS PGE
    *
    ERROR on line 2:
    ORA-00932: inconsistent data types: expected NUMBER obtained -

    Please give me the solution.

    you use the old version of SQL * more. If you use the later version, it will give you correct the result.

    Published by: ūnōrum on March 14, 2010 04:25

  • JavaScript error when using ExternalInterface.addCallback("IsStatic",IsStatic) with cross-domain swf file

    How can I use ExternalInterface.addCallback("IsStatic",IsStatic) when using javascript server access (html) of server B (swf)? coz it showing error?

    Server A
    192.168.0.10/xxx/example.html
    ===========
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    ID = "MGSInsurances1" width = "960" height = "600".
    codebase =" http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" > "
    "" < param name = "movie" value = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" / >
    < param name = "quality" value = "high" / >
    < param name = "bgcolor" value = "#869ca 7" / >
    < param name = "allowScriptAccess" value = "always" / >
    "" < embed src = " http://192.168.0.22/MGS/flex/MGSInsurances1.swf" quality = "high" bgcolor = "# ca 869, 7.
    width = "960" height = "600" name = "MGSInsurances1" align = "middle".
    play = "true".
    Loop = "false".
    quality = "high".
    allowScriptAccess = "always".
    Type = "application/x-shockwave-flash".
    pluginspage =" http://www.adobe.com/go/getflashplayer_fr" > "
    < / embed >
    < / object >
    < script language = "javascript" >
    window. MGSInsurances1 = document.getElementById('MGSInsurances1');
    < /script >

    Server B
    192.168.0.22/mgs/Flex/MGSInsurances1.swf
    ==================

    Security.allowDomain("*");

    If (ExternalInterface.available)
    {
    ExternalInterface.addCallback("IsStatic",IsStatic) ("onchange", onchange);
    ExternalInterface.addCallback("IsStatic",IsStatic) ("datachange", datachange);
    }

    but javascript Error shows "Unknown name", how can I solve this problem? urgent! Anyone know this?

    I solved it! because I did not restart my server again! Again not error! Sorry to annoy everyone.

  • Error when using tag pt:standard.choose

    Hello

    I get the error while using ALUI Adaptive 6.5 tags. The details are given below. Can anyone help?

    The code I use is

    < pt:standard.choose >
    < pt:standard.when pt:test = "stringToACLGroup('user=13009;'). isMember ($currentUser) ">"
    < div class = "ali-portlet-controlone" >Adit< / div >
    < pt:logic.value pt: value = "$currentUser" / >
    < pt:logic.value pt: value = 'verification Tags' / >
    < /pt:standard.when >
    < /pt:standard.choose >
    Also, I checked for the $currentUser variable and it showed nothing so I put the variable as
    < pt:logic.variable = "currentUser" pt pt:key: value = "13009" / >

    I also checked by giving the id of group by stringToACLGroup('group=301;') but same result.

    The stack trace is:


    <!-error display tag when in the standard library. Index of string out of reach:-19: com.plumtree.openfoundation.util.XPIndexOutOfBoundsException: String index out of range:-19
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:403)
    at com.plumtree.openfoundation.util.XPException.GetInstance(XPException.java:350)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:165)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
    at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
    at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
    at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to 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:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3495)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run (ExecuteThread.java:173
    Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range:-19
    at java.lang.String.substring(String.java:1938)
    at com.plumtree.taglib.standard.WhenTag.DisplayTag(WhenTag.java:72)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.standard.ChooseTag.DisplayTag(ChooseTag.java:110)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.IfFalseTag.DisplayTag(IfFalseTag.java:75)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.IfTag.DisplayTag(IfTag.java:71)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.core.HTMLTag.DisplayTag(HTMLTag.java:78)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.plumtree.taglib.logic.ForEachTag.DisplayTag(ForEachTag.java:162)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.bea.alui.taglib.portletpage.PortletRegionDisplayTag.DisplayTag(PortletRegionDisplayTag.java:91)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:243)
    at com.plumtree.portalpages.browsing.myportal.MyPortalDP.PageDisplay(MyPortalDP.java:166)
    at com.bea.alui.taglib.basepage.ContentTag.DisplayTag(ContentTag.java:71)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody(TagHelper.java:124)
    at com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody(ATag.java:401)
    at com.bea.alui.taglib.basepage.PageBodyTag.DisplayTag(PageBodyTag.java:135)
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag(TagHelper.java:1231)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display(TagDisplayElement.java:145)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display(CompositeDisplayElement.java:66)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags(DisplayTree.java:235)
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup(DisplayTree.java:39)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessLayout(LayoutDisplay.java:24)
    at com.plumtree.portaluiinfrastructure.layout.impl.LayoutDisplay.ProcessMainPageLayout(LayoutDisplay.java:44)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:240)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayLayout(PlumtreeDP.java:219)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:151)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Interpreter.java:2140)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(Interpreter.java:657)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(Interpreter.java:190)
    at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:300)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to 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:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3495)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Published by: user590322 on October 29, 2009 12:22 AM

    I think you're confused currentUser with a normal vairable. currentUser is a component of the stringToACLGroup hard-coded.

    In addition,
    The value of the pt:test attribute is case-sensitive.

    http://download.Oracle.com/docs/CD/E13158_01/AluI/WCI/docs103/DevGuide/apidocs/tagdocs/standard/when.html

    so try currentuser instead of currentUser?

  • Error when using AIR Mobile applicaton 2.7

    Hello

    I'm creating an application for mobile, but when I'm changing the AIR of 2.6 to 2.7 version. He shows me the error when compiling the application.

    Unexpected end of the process.

    invalid application descriptor: unknown namespace: http://ns.Adobe.com/air/application/2.7


    Details of the launch command: "C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin\adl.exe"-runtime ' C:\Program Files (x 86) \Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\runtimes\air\win "- profile mobileDevice screensize - 600 x 986:600 x 1024 - XscreenDPI 168 - XversionPlatform AND D:\WSFlexPremium4.5\VCCheckMobile\bin-debug\VCCheckMobile-app.xml D:\WSFlexPremium4.5\VCCheckMobile\bin-debug

    I tried all the help that is available but not managed to solve the problem.

    Help, please

    Hello

    Problem solved, it comes with the adl.exe file.

  • UNPIVOT query returns an error when used in a cursor.

    I ran a procedure in a package, I develop and have had the text following error returned:
    ORA-00998: must name this expression with a column alias
    ORA-06512: at "MANAGE_BULK_UPLOAD_PKG", line 467
    ORA-06512: at line 10
    The error occurs here somewhere, the line number was above the INSERT Word. What alias could he ask?
      OPEN get_blocks_cur;
      LOOP
        FETCH get_blocks_cur INTO p_block;
        EXIT
      WHEN get_blocks_cur%NOTFOUND;
    
       INSERT
         INTO dev_fbt_assign_block
            ( doc_id
            , blk_id
            )
            (SELECT up.doc_id
                  , up.blk_id
               FROM (SELECT upl_id, doc_id, blk_id
                       FROM fbt_doc_bulk_upload
                     MODEL
                     RETURN UPDATED ROWS
                     PARTITION BY (p_block.upl_id)
                     DIMENSION BY (0 as i)
                     MEASURES
                     ( 'xxxx' AS doc_id
                     , 'xxxx' AS blk_id
                     , p_block.block_1
                     , p_block.block_2
                     , p_block.block_3
                     , p_block.block_4
                     , p_block.block_5
                     , p_block.block_6
                     , p_block.block_7
                     , p_block.block_8
                     , p_block.block_9
                     , p_block.block_10)
                     RULES UPSERT ALL
                     ( blk_id[1]=block_1[0]
                     , blk_id[2]=block_2[0]
                     , blk_id[3]=block_3[0]
                     , blk_id[4]=block_4[0]
                     , blk_id[5]=block_5[0]
                     , blk_id[6]=block_6[0]
                     , blk_id[7]=block_7[0]
                     , blk_id[8]=block_8[0]
                     , blk_id[9]=block_9[0]
                     , blk_id[10]=block_10[0])
                    ORDER BY upl_id) up
              WHERE up.doc_id = p_max_rec
                AND up.blk_id IS NOT NULL);
        COMMIT;
    
      END LOOP; -- Loop for get_blocks_cur
    
       CLOSE get_blocks_cur;
    Thank you
    Ben

    Published by: Benton on November 23, 2010 16:26

    Published by: Benton on November 24, 2010 15:38

    After adding aliases, you got the error message that is different, right?

    I understand the logic, but I do not think that the sliders and record treatment is suitable here.
    So instead of correcting what I consider a rather clumsy code, can I suggest this solution:

    UPDATE ben_bulk_upload
    SET doc_id = BEN_DOC_SEQ.nextval,
        status = 'UPLOADED'
    WHERE status = 'NOT LOADED';
    
    INSERT INTO ben_doc (doc_id, atr_id, title)
    SELECT doc_id, atr_id, title
    FROM ben_bulk_upload;
    
    INSERT INTO ben_assign_block (doc_id, blk_id)
    SELECT doc_id, blk_id
    FROM (
     SELECT doc_id, blk_id
     FROM ben_bulk_upload
     MODEL
     RETURN UPDATED ROWS
     PARTITION BY (doc_id)
     DIMENSION BY (0 as i)
     MEASURES
     ( cast(null as number) blk_id
     , block_1
     , block_2
     , block_3
     , block_4
     , block_5
     , block_6
     , block_7
     , block_8
     , block_9
     , block_10 )
     RULES UPSERT ALL
     ( blk_id[1]=block_1[0]
     , blk_id[2]=block_2[0]
     , blk_id[3]=block_3[0]
     , blk_id[4]=block_4[0]
     , blk_id[5]=block_5[0]
     , blk_id[6]=block_6[0]
     , blk_id[7]=block_7[0]
     , blk_id[8]=block_8[0]
     , blk_id[9]=block_9[0]
     , blk_id[10]=block_10[0] )
    )
    WHERE blk_id IS NOT NULL;
    

    Three SQL, not of PL/SQL statements.

  • Error when using the no_lig function in forms6i

    Oracle forms6i

    Hai

    When you use the function num row in my forms, I got an error.

    My code is

    declare
    pin_no varchar2 (16);
    date of pin_date;
    pin_time varchar2 (25);
    Ilan varchar2 (200);
    m_file TEXT_IO. TYPE_DE_FICHIER;
    m_file_path varchar2 (100): =: global.filename;
    number of line_count;
    M_BARCODE VARCHAR2 (16);
    DATE OF M_BARDATE;
    M_BARTIME varchar2 (25);
    Number of M_No;
    Cursor c1 is
    Select the code bars, bardate, bartime,
    ROW_NUMBER() (partition by bartime barcode order): nurse - the error on this line
    of temp_attendance
    Group of barcodes, bardate, bartime
    order by bardate;
    Start
    If m_file_path is not null then
    m_file: = TEXT_IO.fopen (m_file_path, 'r');
    -ELIMINATION OF temp_attendance;
    Loop
    Start
    TEXT_IO.get_line (m_file, Mstr);
    MSTR: = ltrim (rtrim (mstr));
    M_barcode: = substr (mstr, 1, 16);
    M_bardate: is to_date (substr (mstr, 17, 8), ' DD/MM/YYYY');.
    M_bartime: = (substr (mstr, 25, 4));

    INSERT INTO temp_attendance (BARCODE, BARDATE, BARTIME, RN) VALUES(M_BARCODE,M_BARDATE,M_BARTIME,M_No);
    Exception
    When no_data_found then
    TEXT_IO.fclose (m_file);
    "exit";
    End;
    End loop;
    go_block ('TEST_MS1');
    clear_block (no_validate);
    To r1 c1 loop
    : bar code: = r1.barcode;
    : bardate: = r1.bardate;
    : bartime: = r1.bartime;
    next_Record;
    end loop;
    premier_enregistrement;
    end if;
    exception
    while others then
    forms_ddl ('ROLLBACK');
    message (sqlerrm);
    end;

    Thanks and greetings

    Srikkanth.M

    6i u cannot use this type of analytical functions... motor of PL/SQL forms 6i is 8.0

    Bangoura
    [My Oracle Blog | http://baigsorcl.blogspot.com/]

Maybe you are looking for

  • Satellite A205-S7443 - need LAN driver for Windows 7 32 bit

    I have a Satellite A205-S7443 and I bought it with Vista. So now, I bought Windows 7 and install it but now I have the problem with ethernet LAN driver. When I installed Windows 7 it only detected the wireless lan card and the driver has been install

  • Qosmio G30 - white lines on the screen and BSOD

    1. I have a Qosmio G302 operating system Windows XP MCEand I have problem "white lines on the screen ' when windows start to load after that I got the"blue screen of death"and restart the computer.I try to get back, but unfortunately came with the la

  • Spectrum x 2: spectrum x 2 touchpad not working not

    Dear HP support, the touchpad on our spectrum x 2 does not seem to work -. I read what is suggested on another similar post. We are pleased to make this "hard reset", but how can we be sure that we will not lose data / create any other problem on the

  • I have an old camera a Canon AE1 since the 1970s. Any adapter to fit the old for the new cameras lens

    Can anyone give me any advice on whether I can buy an adapter to fit my old lens on newer model cameras. I have 3 old lens that has worked with the old AE-1 a 55mm, a 35-70mm and a 100-200mm. Any thoughts would be surely appreciated.

  • Gloss/semigloss color HP 6100 problem

    I can get pictures of good quality, printed on HP Premium Plus Photo Soft-Gloss paper, 60 lb (300 gm2).  Also on any of several matte papers of HP. The solid darker colors come out badly on the HP papers following two. Everyday Glossy Photo, 45 lbs (