Errors when using query variables.

Recently in about half the queries I write with variables the variables will not work. For example:
SELECT O.DocNum
          ,O.CardCode
          ,O.CardName
          ,P.PrioDesc AS 'Priority'
          ,O.DocDueDate
          ,O.DocTotal
          ,O.U_Engineering_Appvd     
          ,O.Confirmed AS 'Approved'
          ,O.U_Purchase_Reviewed
FROM ORDR AS O
     JOIN OCRD AS BP ON O.CardCode = BP.CardCode
     LEFT JOIN OBPP AS P ON BP.Priority = P.PrioCode
WHERE O.SlpCode =  18 AND
O.DocStatus = 'O'
Works perfectly, but when I make the change from "O.SlpCode = 18" to "O.SlpCode = [%0]" it complete fails with a red bar of death. The error I receive is: Incorrect syntax near '0'  Statement 'Service Contracts' (OCTR) (s) could not be prepared.
Like I said, this isn't for every query, just about half of them. Any help would be appreciated as this is rather important.
Thanks!!
Monica

Hi.
Try this:
SELECT * 
FROM ORDR T0 
  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
  LEFT JOIN OBPP T2 ON T1.Priority = T2.PrioCode
WHERE T0.[DocStatus] = 'O' AND T0.[SlpCode] LIKE [%0]
Or this one:
SELECT O.DocNum,
  O.CardCode,
  O.CardName,
  P.PrioDesc AS 'Priority',
  O.DocDueDate,
  O.DocTotal,
  O.U_Engineering_Appvd,
  O.Confirmed AS 'Approved',
  O.U_Purchase_Reviewed
FROM ORDR AS O
  INNER JOIN OCRD AS BP ON O.CardCode = BP.CardCode
  LEFT JOIN OBPP AS P ON BP.Priority = P.PrioCode
WHERE O.DocStatus = 'O' AND O.SlpCode LIKE [%0]
Also, check the name of User Fields are right.
Regards.

Similar Messages

  • Error when using the variable System::ErrorDescription

    HI All,
    When I try to use the variable System::ErrorDescription I get the following error:
    The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
    Do I need to declare it or it's a variable that always is available to get exceptions from the execution states?

    if this is in a Script Task then:
    - add the variable in the Script task property ReadOnlyVariables list
    - in the Script Code refer to it as
    string ErrorDesc = (string) Dts.Variables["System::ErrorDescription"].Value;
    Jan D'Hondt - SQL server BI development

  • Parsing Error when using query builder

    I have a query with a subquery in the WHERE statement witn multiple fields listed in the select statement.
    For example, the subquery starts with "AND (center, jobid) IN SELECT center, jobid FROM ........
    The query runs fine and gives me the correct data
    However when I click on the Query builder option, I receive the following error
    "Text is not a valid, single SELECT statement.
    Parsing error:
    Failed to parse SQL query.
    Invalid Select Statement.
    Unexpected token "from" at line13, pos 1.
    Query Builder Disabled
    I believe this to be a problem with the query builder, Am I correct?

    Query Builder is a visual environment targeted at novice/intermediate users. Some advanced and/or hard to visualize language features are not supported. The improved error messaging coming in 3.1 would indicate this is 'unsupported' rather than 'not a valid, single SELECT statement.' For example, (using scott/tiger):
    Text contains unsupported syntax.
    Parsing error:
    Failed to parse SQL query.
    Invalid SELECT statement.
    Unexpected token "," at line 4, pos 16.
    Query Builder disabled.
    select distinct d.dname
    from dept d, emp e
    where d.deptno = e.deptno
      and (e.deptno, e.job) in
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    I don't know what your real query is, but refactoring to use join on derived table or table expression (or, as Gary said, separate IN clauses) rather than '(a, b) IN' will allow Query Builder to display it.
    derived table: select distinct d.dname
    from dept d, emp e,
    (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    ) filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.job
    table expression: with filter as (select x.deptno, x.job
    from emp x
    where x.deptno > 10
       and x.job NOT IN ('MANAGER', 'PRESIDENT')
    select distinct d.dname
    from dept d, emp e, filter
    where d.deptno = e.deptno
      and e.deptno = filter.deptno
      and e.job = filter.jobBrian Jeffries
    SQL Developer Team

  • Java error when using Query Builder

    Hi Everyone,
    I'm new to Publisher and I have an issue when I build a SQL Query Data Set. I have tried both the Default and Oracle OBIEE data sources. I am able to select my fields, etc but when I got to test results I get the following error:
    java.io.IOException: prepare query failed[nQSError: 27002] Near <->: Syntax error [nQSError: 26012]
    I've looked at the sql and it looks fine to me. I found one posting on here about the jdbc connection but I tested that under the Admin page and the OBIEE jdbc data source tests just fine.
    Any idea what I'm missing?
    Thanks
    Richard

    There is apparently no solution to this issue. Worse, it exists still in 10gR2.
    I suspect the Oracle*Reports developers do not use tables having constraints and that they do not read the many reports of it on this forum.

  • FormulaCalc error when using variablesin variable files?

    I defined two variables RForce_ and IntLength_' in variables files:
    as following:
    IntLength_ : I <1700>
    RForce_ : R <1.4314>
    in vbs file,I have following:
    Call FormulaCalc("Ch('PSA_Kraft') := ('RForce_'-'RForce_'/'IntLength_'*'Gurtweg')")
    When I run the vbs file,diadem reports following error:
    The formula
    Ch('PSA_Kraft') := ('RForce_'-'RForce_'/'IntLength_'*'Gurtweg')
    contains an invalid mathematical operation .. ('RForce_'>-<'RForce_'/'IntLength_'*'G.. with text!
    When I don't use variables, as following:
    Call FormulaCalc("Ch('PSA_Kraft') := (1.4314-0.000842*'Gurtweg')")
    my vbs file can run correctly.
    Anything wrong with my code?

    Hi Junwei You,
    Yes, there is a problem with the formula calculator expression.  You need to use the ' character only when you are referencing existing data channels, not for VAS file variables.  Also, I strongly recommend that you always use the full Ch('ChannelName') construct when you reference an existing data channel.  Try this instead:
    Call FormulaCalc("Ch('PSA_Kraft') := RForce_ - RForce_/IntLength_*Ch('Gurtweg')")  Note that you may need to insert further parentheses to specify the exact order of the / and * operators.
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Unresolved column when using presentation variable in Answers filter

    Hi all,
    I'm using a dashboard prompt that sets a presentation variable - pres_year. I'm using the presentation variable in a request's filter.
    In the 'Criteria' tab, in the filter for the request, I set a year column (YEAR) to the presentation variable via Variable Expr and enter the presentation variable name only. End up with:
    YEAR is equal to / is in @{pres_year}
    When using the dashboard, the prompt and request all work fine. The problem is when I'm in the request in Answers and I click on 'Display Results' button. I get the following error:
    'NQSError: 27005 unresolved column pres_year'
    Any suggestions?
    Thanks.

    I got same error, if i'm using SQL Expression, instead of variable expression in filter section.
    make sure that you followed this:
    filter on year > Add > Variable > Presentation. Then, give the presentation variable name (which you defined in dashboard prompt) in Variable Expr field , click OK
    getting same error when using:
    Filter on year column > Add > SQL Expression > presentation variable. This is not right place to give presentation variable.
    and, error i got:
    *State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27005]* Unresolved column: "var_Year". (HY000)
    so, make sure that you are suing the right one..

  • Coercion problem when using Shared Variable

    I have a curious coercion problem when using Shared Variables.  I want to share the state of a State Machine, which is an enum saved as a control (typedef) called TYPE State (see attached).  I create a shared variable called State and define it as a Custom Control, using the just-mentioned typedef.  So far, so good.  I've attached three simple VIs -- the first one, Init State, simply wires a constant to the input of the Shared Variable to initialize it -- the wired constant is, of course, defined by the typedef.  However, the Get State and Set State, meant to wire an indicator (for reading the state) or control (for setting it), develop coercion dots when wired into the Shared Variable.  Why?  How do I get rid of the dot?  [I suppose I could abandon my typedef and custom control, but the beauty of typedefs and custom controls is that it "enforces" rules, lets you use enums for clarity, keeps the code "honest", etc. -- I'd hate to give that up just to get rid of a dot!].
    On a related note, the code seems to work.  This is much too simplistic to do anything, but if you open Set State and Get State, set the state to anything, run it (it immediately stops, of course), then run Get State, you'll see the chosen state appear in the indicator.  So it does appear to work.  The "error" (coercion dot) may, I suppose, be a "bug" in Labview because it can't figure out the mapping of the (very simple!) Custom Control, but if so, I hope it gets fixed quickly!
    Bob Schor
    Attachments:
    Coercion Problem1.zip ‏38 KB

    Hello Bob,
    I am also seeing this behavior, I will escalate this question to our LabVIEW developers and post again here no later than next Tuesday, November 27th as National Instruments will be closed for the remainder of this week.
    If this issue does turn into a product suggestion, I would suspect the workaround would to live with the coersion dot for the time being.
    Enjoy the holiday
    Regards,
    Erik J.
    Applications Engineer
    National Instruments

  • Error when using findbykey method

    hi am having this error when using below method cannot assign of type sms1405.common.agrROW TO variable of type oracle.jbo.row[]. type 'oracle.jbo.row[]' excepected but 'sms1405.common.agRROW' found the error is in this line agrRows = (AGRRow)agrRows[0]; the methos is
    am using this sample
    http://amulyamishras-tech-blog.blogspot.com/2011/01/viewobject-getrow-vs-findbykey.html
    where does EmpVORow in EmpVORow empRow =
    (EmpVORow)EmpVO.getRow(key); define from above sample
    where does EmpVO from EmpVORow empRow =
    (EmpVORow)EmpVO.getRow(key); define from above sample
    am in Jdeveloper 11.1.2.1.0
    Edited by: Tshifhiwa on 2012/07/03 4:36 PM

    Man, you should be able to find this out your self by now!
    Hint: there is one 's' too much in the line you get the error (i guess cut & past error)
    Try to understand the code you copied!
    Timo

  • FSG Error when using segment override

    Hi,
    I have the following error when using segment override :
    General Ledger: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RGRARG module: Financial Statement Generator
    +---------------------------------------------------------------------------+
    Current system time is 26-APR-2012 11:17:22
    +---------------------------------------------------------------------------+
    Starting Program RGRARG.
      Arguments are:
        0   RGRARG                    - RGRARG
        1   username/password         - username/password
        2   0                         - 0
        3   Y                         - Y
        4   Data Access Set ID        - 1030
        5   Chart of Accounts Id      - 101
        6   ADHOC Prefix              - FSG-ADHOC-
        7   Industry                  - C
        8   Flex Code Id              - GLLE
        9   Default Ledger ID         -
       10   Report ID                 - 1011
       11   Row Set ID                - 3461
       12   Column Set ID             - 1018
       13   Period of Interest        - SEP-11
       14   Unit of Measure ID        - IDR
       15   Rounding Option           - C
       16   Override Values           - ----DIV3---000000
       17   Content Set ID            -
       18   Row Order ID              -
       19   Report Display Set ID     -
       20   Output Option             - R
       21   Exceptions Flag           - N
       22   Miniumum Display Level    -
       23   Effective Date            -
       24   Parameter Set ID          - 1011
       25   Maximum Page Length       - 58
       26   Sub-Request Run ID        - -998
       27   Application Shortname     - SQLGL
    Message level is: Normal
    rgrini() 26-APR-2012 11:17:22 rgrini.build_per_arr:
    Query for period set name from GL_ACCESS_SETS
    SELECT  period_set_name
    FROM GL_ACCESS_SETS
    WHERE access_set_id = 1030
    rgrini.build_per_arr:
    period set name from GL_ACCESS_SETS:
    ACCOUNTING
    rgrini.build_per_arr:
    Query for period names from GL_PERIODS
    SELECT  period_name,
        to_number(to_char(end_date,'YYYYMMDD'))
    FROM GL_PERIODS
    WHERE period_set_name = :p_value
    ORDER BY NLSSORT(period_name,'NLS_SORT=BINARY') ASC
    control->report_id = 1011
    control->row_set_id = 3461
    control->column_set_id = 1018
    control->row_order_id = 0
    control->content_set_id = 0
    control->display_set_id = 0
    control->parameter_set_id = 1011
    control->resp_lvl = 0
    control->round_option = C
    control->output_option = R
    control->excp = FALSE
    control->sub_req_run_id = -998
    control->appl_id = 101
    control->id_flex_code = GLLE
    control->ldg_val_set_id = 1010673
    control->ledger_id = 0
    control->ledger_name =
    control->ledger_currency =
    control->access_set_id = 1030
    control->security_segnum = 0
    control->per_cnt = 162
    control->runtime_currency = IDR
    control->resp_id = 50386
    control->resp_appl_id = 101
    control->enforce_security = TRUE
    control->sec_rules = NULL
    control->reduced_ranges = NULL
    control->num_reduced_ranges = 0
    control->max_char_width = 1
    control->total_num_cols = 0
    control->page = NULL
    << rgrini() 26-APR-2012 11:17:22
    rgranl() 26-APR-2012 11:17:22Current date and time:  Thu Apr 26 11:17:22 2012
    rgrgsa() 26-APR-2012 11:17:22
    << rgrgsa() 26-APR-2012 11:17:22
    rgrdrs() 26-APR-2012 11:17:22req_id_str =
    809694
    rgrdpg.rgrdpg: Unable to read value for profile option RG_DEBUG_ON..
    rgrprt.rgrprt: Defaulting value for profile option RG_DEBUG_ON to FALSE..
    rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 1018
    << rgrgas() 26-APR-2012 11:17:22
    rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 3461
    << rgrgas() 26-APR-2012 11:17:23
    rgrgrp() 26-APR-2012 11:17:23
    << rgrgrp() 26-APR-2012 11:17:23
    COA Structure :
    Segment: LEDGER_SEGMENT : Ledger
    Segment: SEGMENT1 : COMPANY
    Segment: SEGMENT2 : ACCOUNT
    Segment: SEGMENT3 : PRODUCT
    Segment: SEGMENT4 : DIVISION
    Segment: SEGMENT5 : DEPOT
    Segment: SEGMENT6 : COST CENTER
    Segment: SEGMENT7 : FUTURE
    Segment value security is enforced for Financial Statement Generator reporting.
    rgrrsr() 26-APR-2012 11:17:23
    rgrrsf() 26-APR-2012 11:17:23
    << rgrrsf() 26-APR-2012 11:17:23
    << rgrcrl() 26-APR-2012 11:17:23
    << rgrrsr() 26-APR-2012 11:17:23
    rgrpsr() 26-APR-2012 11:17:23The COMPANY segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All COMPANY values will be processed.
    The ACCOUNT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All ACCOUNT values will be processed.
    The PRODUCT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All PRODUCT values will be processed.
    The DIVISION segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All DIVISION values will be processed.
    The DEPOT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All DEPOT values will be processed.
    The COST CENTER segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All COST CENTER values will be processed.
    The FUTURE segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set.  All FUTURE values will be processed.
    << rgrpsr() 26-APR-2012 11:17:23
    rgrdrs.rgrdrs: Getting value for profile option EXPAND_PARENT_VALUE equal No.
    PERF0005: Oracle error detected in get_def_ldgs - ORA-01403: no data found
    <x get_def_ldgs() 26-APR-2012 11:17:24
    <x get_def_ldgs() 26-APR-2012 11:17:24
    rgrgax() 26-APR-2012 11:17:24 rgrgax:get_axes
    Starting axis query.
    rgumsg:
    fdnwsc() is used by default
    rgrgax.get_conts - Prepare:
    ORA-00936: missing expression
    Current date and time:  Thu Apr 26 11:17:24 2012
    Entered sauulc with code 1 from line 3333 of file rg/lib/rgrgax.c.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0I have followed the following notes but it didn't help me
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
    Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
    does anyone know how to solved the problem ??
    please advise
    thx

    I have followed the following notes but it didn't help me
    R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
    Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
    does anyone know how to solved the problem ??If none of the docs help, please log a SR.
    Thanks,
    Hussein

  • What's disadvantages when using bind variables always in java?

    Hello everyone .. Could someone tell me what's the disadvantage when using bind variable in java ? I heard it somecases since before.. Thanks in advance!

    99% of the time, you should be using bind variables. If you have columns which are highly skewed, however, you may want to consider using literals (assuming CURSOR_SHARING=EXACT), since that may allow the CBO to make a better decision.
    If you have an orders table, for example, you may have a status column that specifies whether the order is complete, in transit, or new. If you've been running for a while, 99% of your orders will be complete, so
    SELECT COUNT(*)
      FROM orders
    WHERE status = :1should do a full table scan if you specify 'COMPLETE'. If you passed in 'IN TRANSIT', though, an index scan might be more appropriate. If you want to pass in different values and get different query plans, you need to use literals. 99% of the time, though, you want the same plan, so you want to use bind variables.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • Photoshop CS4 "Program Error" when using Text tool

    Hello. I was having problems with Photoshop displaying a "Program Error" every so often, so I deleted the preference file and all seemed good. But after deleting the preference file for my Photoshop CS4 and re-launching Photoshop, the text tool causes Photoshop to display a Program Error when using the tool. It never did this before. Should I reinstall Photoshop? I am using a Powermac G5 running 10.5.8. I have already tried repairing the disk permissions.
    Thanks

    Thats kinda what I thought too, but the problem started happening randomly. It started when we were trying to use photomerge with large photos. The program just started giving the program errors. I still think it may be a font problem, but without going through my 2000+ fonts and disabling them one by one, how can I resolve this issue?
    Thanks

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Have no idea of what you were even doing in Photoshop my crystal ball is out for repairs so I can not see.  

Maybe you are looking for