Parse error does not return ORA error

I had a query for a chart that would not parse and did not return an ORA- error to help me find the problem. After some trial and error I was able to identify the source of the error. I was passing a string to the TRUNC function and not a date. I would expect to receive and ORA-1722 with the parse error message but did not. This looks like a small bug to me. If not can someone explain why I would not get an ORA error with this?
test case:
select null link,
8 lbl,
trunc(:P1_DATE,'MONTH') val
from dual;
select null link,
8 lbl,
trunc(to_date(:P1_DATE,'DD-MM-YYYY'),'MONTH') val
from dual;
-Jonathan Stowell

What version of HTML DB? 1.5, but I just upgraded to 1.6, have not tested there yet.
What kind of chart (SVG or HTML and which one)?SVG bar chart
Where did the error occur (on the edit page or at runtime)? Edit page.
What is the exact error you saw? Unable to parse query (OK maybe this is not exact but it defintly did not display and ORA error).
Shouldn't the "val" value be numeric?That was just an example, a bad example aparently.

Similar Messages

  • BAPI_SALESORDER_SIMULATE does not return multiple errors

    Hi,
      We are using BAPI_SALESORDER_SIMULTE, but it does not return multiple errors in the MESSAGETABLE even if all the materials entered in the ITEMS_IN table are wrong or have some ATP issues. It returns the first material that has problem and doesnot find errors with the remaining.
    Can anyone tell why this is happeining. Is there a setting in customizing to get the BAPI to return all possible errors.
    Thanks in advance

    Hello Pulin
    This is a typical behaviour of BAPI. Due to the fact that they validate all incoming data very scrupulous they stop processing at the very first error.
    I would assume that a "SIMULATE" BAPI should show all errors (because that's why we simulate, isn't it?) but apparently this is not the case.
    Regards
      Uwe

  • Why is the giving me this error (method does not return a value) PLEASE !!

    I have this code and it is giving me this error and I don't know how to fix it
    can anyone out there tell me why
    I have included the next line of code as I have had problems in the curly brackets in the past.
    The error is
    "Client.java": Error #: 466 : method does not return a value at line 941, column 3
    Please help
    THX TO ALL
    private Date DOBFormat()
        try
          if
            (MonthjComboBox.getSelectedItem().equals("") || 
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
          else
            String dateString = StringFromDateFields();
            SimpleDateFormat df = new SimpleDateFormat("dd/mm/yyyy");
            Date d = df.parse(StringFromDateFields());
            System.out.println("date="+d);
            return d;
        catch (ParseException pe)
          String d= System.getProperty("line.separator");
          JOptionPane.showMessageDialog( this,
           "Date format needs to be DD/MM/YYYY,"+ d +
           "You have enterd: "+ StringFromDateFields()   + d +
           "Please change the Date", "Date Format Error",
           JOptionPane.WARNING_MESSAGE);
          return  null;
      //File | Exit action performed
    public void jMenuFileExit_actionPerformed(ActionEvent e) {
      System.exit(0);
      }

    Fixed it needed to have a return null;
    this is the code
    if
            (MonthjComboBox.getSelectedItem().equals("") ||
             DayjComboBox.getSelectedItem().equals("") ||
             YearjComboBox.getSelectedItem().equals("")){
            return null;

  • FM RSDRC_INFOPROV_READ - Does not give an error neither returns results !!!

    Hi,
        Our BI system has been upgraded from 3.0 to 7.0 recently. There was a dump in one of the function modules - RSDPL_CUBE_DATA_READ . it was giving an Inherited error exception...
       I tried the newer FM RSDRC_INFOPROV_READ in place of that. it works for a particular cube and returns the data alright but for another one it does not return anything in the return table and the sy-subrc is also 0 !!.. there is data in the cube(available for reporting) which satisifies the input restrictions/conditions I have mentioned, so I should ideally see the cube data... No messages can be seen in the message table used inside the function module as well.. Anyone faced such a problem before ???
        Only point to make here is that there are several requests in the cube (in green though) whereas another cube which worked had only one. Shouldn't make a difference really right ?
    Any comments will be appreciated.
    Thanks,
    Raj

    Hi,
    I faced a similar issue a while back. That was due to a inconsistency of the entries in tables i_th_sfc and i_th_sfc, so the fields to be read and returned and the structure of e_t_data. I could fix it with having the same fields and fieldnames here and there.
    Siggi

  • ORA-27101: shared memory realm does not exist Linux Error: 2: No such file

    hello i have a 10 Database R1 installed on Redhat linux AS 4.
    i'm having a problem connecting to my database, whenever i try to connect i get the error
    ORA-01034: Oracle not available.
    ORA-27101 shared memory realm does not exist
    Linux Error: 2: No such file or directory.
    i checked my startup.log and i found the following after issuing a dbstart.
    ORACLE instance started.
    Total System Global Area 130023424 bytes
    Fixed Size          1218100 bytes
    Variable Size          109054412 bytes
    Database Buffers     16777216 bytes
    Redo Buffers          2973696 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated
    on dbshut i get the same error message in the shutdown.log
    ORA-01034: Oracle not available.
    ORA-27101 shared memory realm does not exist
    Linux Error: 2: No such file or directory.
    my alert_ASYDB.log file has the following
    ORA-01534: rollback segment 'R01' doesn't exist
    Tue Feb 27 23:14:19 2007
    Error 1534 happened during db open, shutting down database
    USER: terminating instance due to error 1534
    Instance terminated by USER, pid = 3272
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    in the database creation log, i noticed that this segment could not be created.
    i can mount the databse but cannot open it
    is there anyway to recreate these segments or any other solution for that?
    i have tried to comment the line in initASYDB.ora but dd not work.
    regards

    Hi,
    >>do you recommend using auto undo_management instead of RBS?
    Yes. To simplify management of rollback segments, the Oracle9i database introduced Automatic Undo Management (AUM) where the database automatically manages allocation and management of undo (rollback) space among various active sessions. In a database using AUM, all transactions share a single undo tablespace. Any executing transaction can consume free space in this tablespace. Undo space is dynamically transferred from committed transactions to executing transactions in the event of space scarcity in the undo tablespace..The AUM feature also provides a way for administrators to exert control on undo retention. You can specify the amount of undo to be retained in terms of wall clock time (number of seconds). With retention control, you can configure your systems to allow long running queries to execute successfully without encountering ORA-1555 (Snapshot too old) errors ...
    For more information, you can take a look on these links below:
    http://www.oracle.com/technology/obe/obe10gdb/manage/undoadv/undoadv.htm
    http://www.oracle-base.com/articles/9i/AutomaticUndoManagement.php
    Cheers

  • WriteDomain( dir ) does not throw an error!

    we are trying to automate our domain creation using wlst. If there is an error in the script we expect our program to throw an error such that we can take some preventive measures. That said, we have such script that loads a template and writes the domain to a directory. If for some reason writeDomain fails it does not throw an error!. Which lets our script continue and fail miserably later.
    Is this a bug??
    Thanks,
    /pete

    I have not had that problem. In my script (using WLST on WebLogic 8.1sp5 on Solaris 9) I specified a directory that my user could not create and the return code to UNIX was 255:
    Trace:
    INFO: Writing domain
    Error: writeDomain() failed.
    Traceback (innermost last):
    File "/usr/local/met/btwlst/0_50/bin/load_template.py", line 78, in ?
    File "initWls.py", line 70, in writeDomain
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: com.bea.
    plateng.domain.GenerationException: Unable to create domain directory: /wls_domain/ecommware2a
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHan
    dler.java:33)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:897)
    at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:465)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java)
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx0.writeDomain$14(initWls.py:70)
    at org.python.pycode._pyx0.call_function(initWls.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.pycode._pyx3.f$0(/usr/local/met/btwlst/0_50/bin/load_template.py:78)
    at org.python.pycode._pyx3.call_function(/usr/local/met/btwlst/0_50/bin/load_template.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.__builtin__.execfile_flags(__builtin__.java)
    at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java)
    at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.java:67)
    Caused by: com.bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.GenerationException: Unabl
    e to create domain directory: /wls_domain/ecommware2a
    at com.bea.plateng.domain.script.ScriptExecutor.runGenerator(ScriptExecutor.java:2143)
    at com.bea.plateng.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:531)
    at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:459)
    ... 21 more
    Caused by: com.bea.plateng.domain.GenerationException: Unable to create domain directory: /wls_domain/ecomm
    ware2a
    at com.bea.plateng.domain.DomainGenerator.generate(DomainGenerator.java:137)
    at com.bea.plateng.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2120)
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: com
    .bea.plateng.domain.script.ScriptException: com.bea.plateng.domain.GenerationException: Unable to create do
    main directory: /wls_domain/ecommware2a
    Script Exit code = 255

  • ITunes installation error: does not have program associated with it for performing this action

    Repeated tries to install iTunes continues to fail. Installing on Acer laptop using Windows 7.
    Error: does not have program associated with it for performing this action
    We have done the following: open Default programs, clicked associate a file type, clicked on change program button and selected a program to open with and clicked OK/enter.
    The installation continues. we get to the finish window; click finish.
    Next error: iTunes has been installed incorrectly.
    So, what do we do to get iTunes working?
    Thank you.

    Hi normeagle,
    Welcome to Apple Support Communities.
    You may find this article helpful for troubleshooting your iTunes installation:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Best,
    Jeremy

  • SAP PI Message Cancellation Alert - Message does not have restartable error status

    Hello SCNers
    Version: 7.1
    Scenario: File --> PI -->SOAP
    We have a situation where a PI message  in Integration Engine shows error status.We want to cancel the message in IE but are unable to do so.
    On clicking Cancel for this message in SXMB_MONI, we are receiving an alert "Message does not have restartable error status".
    In SXMSPMAST table, value for ITFACTION is DEL.
    We do not want to run report RSXMB_DEL_TO_ARCH, that would change status of all messages with DEL status to ARCH.
    Is there a way to Cancel or Change the Status of this single message?
    Regards
    Sudheer

    Hi Hareesh,
    Tried that too, but to no avail.
    Strangely, the log shows NO_ERROR_STATE for the cancelation of this message thru RSXMB_CANCEL_MESSAGES.
    But in SXMSPMAST table the status of this message is 14 (System Error - Manual Restart Possible).
    Regards
    Sudheer

  • BADI ME_PROCESS_PO_CUST - DOES NOT CLEAR OUT ERROR

    In ME21N I want to validate the field Commodity Code - STAWN. I have used the BADI ME_PROCESS_PO_CUST*
    . Have used get_foreign_trade() in the PROCESS_ITEM method . I am able to throw an error . It is doing it but*
    after throwing error then when we give a valid Commoditycode too it is still showing the error and not clearing the error  .*
    As suggested by Dean Q I used   INCLUDE mm_messages_mac,
    tried im_item->set_foreign_trade( ls_mepo_eipo)  still when a valid Commodity code is entered after an invalid one  it does not clear out the error. In fact on checking using break-point I found that the second time it does not enter into the method  PROCESS_ITEM.    Any help is welcome
    Nivedita

    Hi,
    In SE18 give ME_PROCESS_PO_CUST as the enhancement spot and display. At the left side of the screen you can see the badi definition ME_PROCESS_PO_CUST. Expand the tree and double click on implementations. You can see the enhance implementations created. Double click on the enhancement implementation and in that screen there is a check box 'Implementation is active' and field 'Effect in current client'.
    If you know the enhancement implementation name(not the badi implementation name), you can check it directly from se19.
    Regards,
    Poornima

  • While doing migo gertting error does not support serial management

    while doing migo 101mvt type getting error does not suppoert serial no management .
    Moderator: Please, avoid asking basic one-sentence questions. Your other threads were locked for the same reason

    Hi,
    Can you please check SAP Note 1262966 - MIGO and MIRO: Missing entries in T169P. This might be of some help to you. It states that
    You use transaction SM31 to delete an entry in the views V_169P_A, V_169P_B, V_169P_DC, V_169P_IRTAX, V_169P_K, V_169P_LOGO, V_169P_MB, V_169P_PA, V_169P_PR, V_169P_S, V_169P_SA or V_169P_SV. The entry from the table T169P is deleted when you delete the entry from one of the views.
    Different follow-on errors can occur in the transactions for inventory management or the Logistics Invoice Verification.
    Error M7 001 "Check table 169P: entry & & & does not exist" occurs in the transactions for inventory management. The system does not propose any data for order-related items in the transactions for the Logistics Invoice Verification.
    The entry in the table T169P is required for each company code for the function from Note 980420.
    Thnx,
    SG.

  • The table with Name of 'Table Name' does not exist.An error occurred when loading the Model.

    The table with Name of 'Table Name' does not exist.An error occurred when loading the Model.
    We get this error when we try to check the properties of an analysis server using SQL Server Management studio(right click the instance name
    and check properties). We have resolved this issue twice by Stopping the SQL Server analysis service,removing db folders from Analysis Server Data folder and starting the services back on. The db folder that we removed was advised by the BI team.
    The SQL Server Analysis Server is 2012 SP1

    Hi RB_ORIPW,
    The table with name of 'XXX' doesn't exist.
    An error occurred when loading the model(Micorsoft.AnalysisServices)
    If I understanding correctly, you encounter the error randomly, now what you want it that avoid this issue completely, other than stop the services, detele the db filder and restart the services, right?
    The error might be caused by that the data file is corrupted. However, we cannot give you the exact reason that cause this issue. You can troubleshoot this issue by using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    Besides, here is fix that describe the similar issue, and it was fixed in Cumulative Update 7 for SQL Server 2012 SP1, please refer to the link below to see the details.
    http://support.microsoft.com/kb/2897263/en-us
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Does not print the error message at my behest???

    I have a program which works but I want to give appropriate error handling to the user of application.
    So basically a simple html page asks for servername, username and password and this is passed onto this .jsp page.
    When the correct servername, username and password is entered program is okay but when for example incorrect servername is given it does not print the error message at my behest???????
    Here is a ftp page:
    <!-- processftplogin.jsp -->
    <html>
    <head>
    <title> FTP Login </title>
    </head>
    <body>
    <%@ page import= "ftp.* " %>
    <jsp:useBean class="ftp.FtpBean" id="ftpbean" scope="session" />
    <%      try
               String servername = request.getParameter("servername");
               String username   = request.getParameter("username");   
               String password   = request.getParameter("password");
               ftpbean.ftpConnect(servername, username, password);
            catch(Exception e)
               out.println("There has been an error with logging into system");
               out.println("please check Servername");
               out.println("Please check username");
               out.println("Please check password");
    %>
    <h1> You have successfully logged in. </h1>
    </body>
    </html>Why does it print:
    Error: 500
    Location: /myJSPs/jsp/grid-portal-project/processftplogin.jsp
    Internal Servlet Error:
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
         at jsp.grid_0002dportal_0002dproject.processftplogin_2._jspService(processftplogin_2.java:120)
    instead of:
    There has been an error with logging into system
    Please check Servername
    Please check username
    Please check password

    man do one thing
    first tell me the book u are using for JSP.
    cos even i would like to purchase.
    u mailed me before
    but this time make a good description
    of your project write it in a file
    then zip it along with your project
    source(if possible)...
    then in that project report
    also give the description of using the JSP tomcat
    and all (cos i dont know for windows...or linux)
    this will be all...

  • I get unexpectedly logged out from my mail box and and recieve the following message: "The custom error module does not recognize this error."

    I am repeatedly and unexpectedly logged-out from my mail box when working on a document. It frequently happens when I choose Send or Save, but it could happen any time. The file that I worked on disappears completely. Before, the file could be found in the draft box or some other place categorized as Auto Recovery. Now, instead, I get the following message: "The custom error module does not recognize this error." I am working at home, connected to a university server. The same problem appears with both of my computers, which are connected by a router. I have a MacBook Pro and am working with Firefox 6.0.2. I have a wireless broadband connection with Internet. AirPort is connected to Lindstrom and has IP address 192.168.0.198. Router: D-Link Model DIR-635. Modem: ZyXEL Model No. 660H D Triple Play Modem.
    Best wishes,
    Lars Lindström, Professor
    <[email protected]>

    Hi Phil,
    Generally, when a user sends an incoming request to an Exchange 2010 Client Access server using Outlook Web App and the user’s mailbox is on an Exchange 2010 mailbox in a different Active Directory site,
    Exchange 2010 determines whether the Client Access server has the
    ExternalURL property set in that Active Directory site. If it is and the cross-site silent redirection has been enabled, the user will be automatically redirected to the specified URL.
    Thus, please make sure the External URL property is set properly in your environment. And also
    disable the WindowsAuthentication for OWA VD to have a try. If the issue persists, please try the following KB to reset the Outlook Web Access-related virtual directories:
    http://support.microsoft.com/kb/941201
    Thanks,
    Winnie Liang
    TechNet Community Support
    Sorry for the late reply.  Yes, the ExternalURL is set; otherwise, it wouldn't work at all.  98% of the time everything is fine.
    My issue described a problem that appears only during session timeouts.  I've pretty much verified that this is the case; Exchange 2010 does not appropriately handle the timeouts sometimes when using cross-site redirection.

  • On certain sites, some lines have the lower half missing. Changing the font or its size does not help. The error does not appear with Iceape or Chromium.

    On some sites certain lines appear with the bottom half missing, as if obliterated. Changing the font or its size does not help. The error does not appear with Iceape or Chromium.

    I looks that the whole line doesn't fit in the container, so the bottom part is cut off. The usual cause is that a font is used that takes more vertical space, so any increase or changes from the font in what the website prescribes can cause this issue. I've seen web pages that were even affected by changing the minimum font size from none to 1 (!). If you do not have the font installed that the website specifies then Firefox will fallback to another (default) font that may have different dimensions.

  • TS3274 It does not restore-unknown error is shown

    It does not restore-unknown error is shown

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    Update and restore alert messages on iPhone, iPad, and iPod touch
    http://www.buybuyla.com/tech/view/012953a0d412000e.shtml
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
     Cheers, Tom

Maybe you are looking for

  • MCE5 etc report incorrect purchase value/quantity

    We have found what we would consider a fault with the logistics information system for MM, such that the MCE5 family of reports will give misleading or incorrect information. The problem arises if you modify an existing PO item.  In our case we were

  • Binary file read byte unmatch

    I tried to read one line of binary file as the top of the screenshot. The result is as the left side. It shows the first part with text are correct. The ending part is not match with the raw one. I also tried read by byte, but still the same. Any sug

  • Input Box F4 Help.

    Hello All, How to create Org Unit Structure on click of Input Box F4 Help. I want same like in PP01 Field like 'Object ID'. Onlick of Input Box F4 i want Org Unit Structure. I found  below articles but not helped 1) DISPLAYING DYNAMIC RECURSIVE TREE

  • Workshop 8.1 detect source code changes

    Hi, I'm working on a web service application using Workshop 8.1sp4. When I run my web application in debug mode, the server will only detect Java source code changes within the webapps (WEB-INF/src). If I move the source code outside the webapp and i

  • Query to trace standard functionality

    The requirement is as follows : To start the Hiring action with a pop-up, where the following fields can be entered : ·        Title ·        Last name ·        First name ·        Date of Birth If this employee is already available in the system, he