Noob question, how to avoid this runtime error,please help..

Im new to java. Im using a JOptionPane in getting the user an input/a number, which is in String,. and to use it, im converting it by Integer.parseInt. When I run it everything seems ok, but whenever i inputted other data types other than integer(e.g char), i get a runtime error message "exception in main thread java.lang.NumberFormatException blah blah.....,. Is theres a way or a method or something that i can filter the users input when they type a character or when they inputted nothing that will not resulted to a runtime error, instead, an error message box will said that it is an invalid input. thanks in advance

Ah, well, after an evening of rest and reflection, I have to conclude that we are all partially correct. I never meant to imply that NumberFormatException should not be caught. I have had to repair too many classes in which just-in-case or programming-by-exception was a rule, rather than a valuable technique for handling exceptional or error situations.
As far as this example, I was not attempting to write a parser, or even start one. We are talking about a very simple situation ... determine if a String represents an integer. My example was overly simple, too. As pointed out, too simple. *\d+* would have eliminated empty strings, and with a few relatively minor changes, could handle all legal integers easily, including '-' and ',' characters, while excluding floating point and other invalid inputs. I did mention that regexes were an advanced technique. A Scanner could be used to test for the existence of an integer in a string. None of these rise to the level of parsing, IMO, but, as I have frequently said in these fora, the arguments of the mages are infinite. Of course, that implies that I consider myself a mage, which is not actually the truth.
In any case, as pointed out, this is an example where catching a runtime exception is probably a good idea, as long as we don't give the OP the idea that this is the only technique, or that code can be written to ignore the causes of exceptional situations, because we can always handle them in the catch block. I have seen way too much of this to be comfortable with even the suggestion of this.
I come here to learn. Sometimes, I learn interesting, complex things. Sometimes, I learn interesting, simple things.
Sincerely, thanks for helping me to learn.
? {?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Can't delete images with adobe bridge for days , don't know how to fix this , can you please help ?

    Can't delete images with adobe bridge for days , don't know how to fix this ? Can you help please ?

    Thank you so much for sharing

  • My iPad 1st is freezing up when i play games on it, anyone know how to fix this problem? Please Help

    My iPad 1st is freezing up when i play games on it, anyone know how to fix this problem? Please Help

    This is an ipad 2 it hasn't been updated, the thing is I restored it to the orginal setting because it was acting up, instead of 59.9 GB it gave me the memory capacity of 58.9 that has been already been use. Do you think using a different computer that hasn't been use on my ipad will raise the memory capacity? I've done it before just that the computer that I've been using has my ipad's data.

  • Adobe Acrobat 9.0 Pro crashes at start up: Runtime Error-please help

    I have Adobe CS4 installed on my Windows 7 PC. In addition, I have Adobe Reader XI and InDesign 6 installed. If I remember correctly, after I installed Adobe Reader XI, I uninstalled the version of the Reader which came with CS4.
    So here’s my problem: When I try to download a PDF that has been sent to me in an email or open one that already exists on my computer, this happens:
    Runtime Error!
    Program: C…
    The application has requested the Runtime to terminate it in an unusual way.
    When I click OK, I get this:
    Adobe Acrobat 9.0 has stopped working.
    If I try to Adobe Acrobat 9.0 Pro from my start menu, the same thing happens.
    This makes no sense to me because
    I don’t have the knowledge to figure this out. I have no idea what Runtime is.
    Prior to a computer meltdown a couple of months ago and a complete reinstallation of everything, these very same programs all worked just fine.
    I don’t understand why, when I try to open an emailed PDF, they don’t automatically open in Adobe Reader XI rather than Adobe Acrobat. Isn’t the general idea that people be able to open and view sent PDFs which they have been sent, which is what the Reader is for, and not usually edit them, which is what Adobe Acrobat is for?
    If, instead of trying to open the emailed PDFs, I save them to my computer, I can launch Adobe Reader XI and open them from within that program without any problem. That’s OK if I just need to view the PDF, but I need to be able to edit PDFs too, so I must get Adobe Acrobat 9.0 to work.
    Would reinstalling Adobe Acrobat 9.0 Pro help? Is there a way to reinstall that program only from the installation disks or would have to reinstall CS4 entirely?
    I cannot open Adobe Acrobat 9.0 at all, so any solutions which must be done with the program open are not possible.
    I would really appreciate some help.

    SOLVED!
    Resetting Internet Explorer didn't work, Reinstalling Acrobat 9.0 Pro didn't work, but changing a registry key did.
    Here's where I found the solution:
    Microsoft Visual C++ Runtime Library error opening PDF files - Microsoft Community
    Here is the relevant post, but before you try it, read my note below:
    Hi,
    This is known issue with Acrobat for several versions now, Adobe's current fix is just to update their software: http://kb2.adobe.com/cps/404/kb404597.html
    The problem is with the application data being misdirected.
    "The affected user has a redirected Application Data folder and as a result the network path containing the Application Data uses a UNC path that begins with \\. This UNC path causes Acrobat 9.0 or Adobe Reader 9.0 to incorrectly parse the Application Data path and give the error message."
    A potential Solution would be to go into the registry. Left Click type "regedit" and right click and run the program with "run as administrator". Go to Hkey_Current_User\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders and make sure see where "AppData" is pointing. If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming".
    BUT, be careful about one thing: This poster seems to have accidentally used forward slashes when he should have use back slashes. Look at the very last line of his post where he advises "If it is pointing to "%UserProfile%/Application Data" change it to point to "%UserProfile%/AppData/Roaming". You'll find, or at least I did, that this key has a back slash, not a forward slash, so changing what I found: "%UserProfile%\Application Data" to "%UserProfile%\AppData\Roaming" worked and now Acrobat 9.0 works fine.

  • Adobe runtime error - please help!

    Here is my situation. I am a local PC technician and one of my users keeps getting a runtime error when opening adobe acrobat.exe.
    She is running Windows XP professional, using Adobe Pro 9.3.1. She received this message a couple weeks ago, I recreated her profile and the error went away. It recently came back. We do not use roaming profiles, just local. I tried running the program as administrator, and it will open. The user has full permissions to the adobe folder and registry keys. I have reinstalled Adobe, repaired it, but she still gets the error. I ran CC cleaner to fix any registry problems, this did not resolve the problem.
    I attempted to change the UNC path in the registry for %USERNAME%\application data, but the user does not have a roaming profile, so I don't think this would apply. I ran the latest update patch that adobe supplied for this software, but still get the error.
    Does anyone have a resolution or any suggestions concerning this problem?
    Thanks in advance,
    Greg

    Uninstall Acrobat, run the Microsoft Installer Cleanup Tool, then re-install Acrobat and update to the latest and greatest.

  • Runtime Error, please help!

    Hi,
    I have installed the cs3 master collection on a new system (quad 2,4 ghz, 4GB ram, quadro fx1300, WIN XP 64bit, cineform aspect hd 5).
    I opened a big ppro project which has been created with cs2 (i deleted all preview and cache files before). I saved the project to a different name.
    Project structure:
    65 Scenes embedded in Sequences embedded in a master sequence (master lenght: 110 Minutes).
    The big Problem is:
    When i click anywhere into the master sequence timeline, a "premiere pro debug event" error appears:
    "[..\..\Src\AudioRender\AudioRenderContextConstructor.cpp-110]"
    Premiere dissapears after i click "continue".
    When i turn off the mastersequence audiotracks, this error does not show up.
    And everything works fine when i go into an embedded sequence.
    ALSO:
    When i want to render some area in the timeline, Premiere wants to render the audio first. It hangs up at about 50 percent (always at the same point, but it is not possible to locate it) with the error message:
    "Microsoft Visual C++ Runtime Library
    Runtime Error!
    Premiere Path..
    This application has requested the runtime to terminate..."
    Premiere dissaper after i click "ok"..
    I tried:
    To get this bugfix from Micrsoft, which should help with runtime errors, but they dont respond.
    To install the Visual C++ runtime environment again.
    To deactivate all unnecessary startup programs
    To run ppro in compatibility mode
    To change sound settings in and out of ppro
    The event viewer description for this error:
    "...faulting module msvcr80.dll..."
    Please help me, if there is a solution..
    David

    Considering ppro´s memory managing problems with big projects i dont want to revert to 32bit.
    I installed ppro cs2 and it works fine. And the memory problems i had with 32bit (even with 3gb switch on) are gone.
    I dont have time to test now if the problem with cs3 was only caused by the imported cs2 project. I will post it next days.

  • Weird Runtime error, please help.

    I recently started teaching myself java from a book, I liked it so I continued reading the book etc. I got to the chapter where it starts to talk about swing classes. The examples previous to this chapter compiled and worked great. Althoug in the swing class chapter none of the examples compile, well I shouldn't say that. They do "compile" but when I try to run them I get this error....
    Here it is in full:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D00FA9B
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at sun.java2d.loops.Blit.Blit(Native Method)
         at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:627)
         at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java:355)
         at sun.java2d.pipe.DrawImage.clipAndRenderSurfaceData(DrawImage.java:333)
         at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:64)
         at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:48)
         at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:715)
         at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:147)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2782)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2772)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4745)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4632)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4464)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:404)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Dynamic libraries:
    0x7D750000 - 0x7D76D000      C:\WINDOWS\SYSTEM\IMAGEHLP.DLL
    Local Time = Thu Mar 21 20:50:59 2002
    Elapsed Time = 7
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
    If anyone knows how to fix this I would really appreciate the help.
    Thanks in advance,
    Tuskony

    Your right, I am using JDK 1.4.0, on Windows 98.
    Here is a shortened down version of the code:
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.Toolkit;
    import java.awt.event.*;
    public class JTextFieldExample extends JPanel
    JLabel lblName = new JLabel( "Name:", JLabel.RIGHT );
    JTextArea txtName = new JTextArea( 40, 40 );
    public JTextFieldExample()
    setLayout( new GridLayout( 2, 2 ) );
    add( txtName );
    public static void main( String[] args )
    JFrame frame = new JFrame();
    JTextField example = new JTextField();
    frame.getContentPane().add( example, BorderLayout.CENTER );
    frame.setSize( 200, 200 );
    frame.setVisible( true );
    frame.addWindowListener
    new WindowAdapter()
    public void WindowClosing( WindowEvent e )
    System.exit( 0 );

  • How to code this...please help

    Hi Friends:
       Please help me in coding the following scenario:
       I've the following checkboxes on selection screen:
    1. inventory quantity current period-unrestricted (mard-labst)
    2. inventory quantity current period-restricted use stock (mard-einme)
    3. inventory quantity current period-in quality inspection(mard-insme)
    4. inventory quantity current period - blocked (mard-speme)
    5. inventory quantity current period - returns (mard-retme)
    6. inventory quantity current period- stock in transfer (mard-umlme)
    now the scenario is like this. The user may check 1/2/3/4/5/6 checkboxes while executing this program. Now what all checkboxes are checked, only those values to be fetched from MARD. E.g. 1 & 2 are checked. Then I'll fetch labst & einme from MARD. Then I'll add it up. Please help me in coidng this. How to decide it at runtime.
    Thanks:

    Hi use this logic.
    if c1 = 'X.
    select single labst from mard into corrseponding table it_mard where..
    endif
    if c2 = 'X.
    select single einme from mard into corrseponding table it_mard where..
    endif.
    if c3 = 'X.
    select single insmefrom mard into corrseponding table it_mard where..
    endif.
    if c4 = 'X.
    select single spemefrom mard into corrseponding table it_mard where..endif.
    endif
    if c5 = 'X.
    select single retme from mard into corrseponding table it_mard where..
    endif.
    if c6 = 'X.
    select single umlme from mard into corrseponding table it_mard where..endif.
    endif
    Regards,
    Prasad.

  • How to solve this trouble ? Please help me !

    Hi everyone ! I'm fresher in c and c++. I'm having a trouble when I add new data into vector / list . I have a method like :
    void List(vector<Student> &result)
    ifstream list(saveurl, ios::in | ios::binary);
    if (list.is_open())
    Student st;
    while (!list.eof())
    if (list.read((char*)&st, sizeof(Student)))
    result.push_back(st);
    list.close();
    First-chance exception at 0x5E84DF58 (msvcp120d.dll) in Student.exe: 0xC0000005: Access violation reading location 0x010FAA4C.
    If there is a handler for this exception, the program may be safely continued.
    what can I do now ? any suggestions for me ?

    On 17/03/2015 20:31, "Tran Hoang Duc" wrote:
    as shown below is how is the Student class defined .
    struct DateTime
    int day,month,year;
    class Student
    private :
    __int64 RollNo;
    string StudentName, Course, FatherName,Address,Country;
    DateTime DateofBirth;
    is it right ?
    Perfect, as I suspected :)
    Your Student class definition is just fine.
    The problem is how you serialize that to/from files.
    Since you have non-POD types like std::string as Student data members, you can't just dump your Student internal bytes to disk and read them back to disk.
    This won't work, because for example std::string has pointers inside, and the values of those pointers (memory addresses) are meaningless when you write them to file and later load them from file, as just raw bytes, like in this code showed above in
    this thread:
    Student st;
    while(list.read((char*)&st, sizeof(Student)))
     You have to think how to write your Student class to files.
    You can use XML, JSON, or even simple comma separated values text files.
    Even if you use some custom binary format for your Student instances, you should pay attention to properly write the text stored in your strings to files, and read that back into std::string data members.
     Giovanni

  • How to run this servlet? Please help!

    http://wrox.com/Books/Book_down.asp?section=11_4&isbn=1861002777&subject=&subject_id=
    Chapter 13 Source Code
    I can't seem to compile this WebMail.java file. I have TomCat and servlets.jar is in my classpath too running but to no avail! Do u manage to compile and run it? Can u guys tell me what did I do wrong? Here's my list of errors(not all).
    javac WebMail.java
    WebMail.java:4: cannot resolve symbol
    symbol : class HttpServlet
    location: class WebMail
    public class WebMail extends HttpServlet {
    ^
    WebMail.java:6: cannot resolve symbol
    symbol : class HttpServletRequest
    location: class WebMail
    public void doGet(HttpServletRequest request
    ^
    WebMail.java:6: cannot resolve symbol
    symbol : class HttpServletResponse
    location: class WebMail
    public void doGet(HttpServletRequest request
    WebMail.java:7: cannot resolve symbol
    symbol : class ServletException
    location: class WebMail
    throws ServletException, IOException {

    Direct link: ftp://ftp.wrox.com/Professional/2777/chap13.zip and a code snippet from that link:
    import javax.mail.*;
    import javax.mail.internet.*;
    public class WebMail extends HttpServlet{..}The sample code is not OK, as it does not define where to find HttpServlet or things like HttpServletRequest. Then even if your classpath is allright, the compiler still does not know what is 'HttpServlet'.
    If you look at http://java.sun.com/j2ee/tutorial/api/javax/servlet/http/HttpServlet.html you'll see that its full name is javax.servlet.http.HttpServlet. So either use the full names, like in
    public class WebMail
      extends javax.servlet.http.HttpServletand
    public void doGet(javax.servlet.http.HttpServletRequest ...)or (preferred) simply add the following line at the top of your code:
    import javax.servlet.http.*;Arjan.

  • I have an ipad 64GB, I'm trying to restore it to the orginal memory capacaity of 59.9 GB when I first go it. Does anyone know how to solve this problem? Please help!!!!

    I have an ipad 64 GB I'm trying to restore it to it's orginal memory capacaity of 59.9 just like when I got it, Can anyone help me find the solution and help me fix it?

    This is an ipad 2 it hasn't been updated, the thing is I restored it to the orginal setting because it was acting up, instead of 59.9 GB it gave me the memory capacity of 58.9 that has been already been use. Do you think using a different computer that hasn't been use on my ipad will raise the memory capacity? I've done it before just that the computer that I've been using has my ipad's data.

  • When i'm typing google in the search column .. its giving some other files path in c drive .. i cant that file in my desktop too , i have uninstalled that software too . how to fix this problem ? please help me out.

    Hello Help Desk,
    I am facing problem , When i am typing google.com in my url its showing like this in url's place
    file:///C:/Users/acer/AppData/Roaming/GmailHackerPro/GmailHackerPro/1.0.0.0/MyGoogle.html
    can u help me to fix this problem
    Even i can't find those files in my C drive

    I would try to uninstall that extension GMail Hacker Pro and reset the keyword.URL in your about:config

  • How to write this application - URGENT PLEASE HELP

    I would like to write a program for a supermarket loyalty card system. The program should have 2 customers and 2 gifts on offer. The customer details and the gift details can be hard coded.
    When the program starts the user should be shown a menu which will have options to
    view all customer details
    add points for a customer
    buy a gift
    When the user chooses to buy a gift ro to add points, any changes made to the customers' points must be done using methods. Adding or buying gifts should be done using customer id's and gift id's.
    The user must be able to see the altered points.
    I WILL APPRECIATE IF I COULD GET HELP EVEN FOR PSEUDOCODE.

    Not as much as this guy tho http://forum.java.sun.com/thread.jsp?forum=31&thread=486327&tstart=150&trange=15

  • I have ipod 4 touch. 3yrs old. when i plug in it isnt charging. it gets switched off after the charge gets over. then it charges and again switches on. dont know how to solve this problem.. please help

    IPod 4 touch. 3yrs old. Not charging when plugged in. But charges when the battery gets drained. when battery gets over I keep it for charging. It switches on and doesn't charge.. Plz help!!;;

    Not Charge
    - See:     
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • How to optimize this query? Please help

    i have one table(argus) having 80,000 rows and another table (p0f) having 30,000 rows and i have to join both table on the basis of time field. the query is as follows
    select distinct(start_time),res.port, res.dst_port from (select * from argus where argus.start_time between '2007-06-13 19:00:00' and '2007-06-22 20:00:00') res left outer join p0f on res.start_time=p0f.p0f_timestamp ;
    the query is taking very large time . i have created index on the start_time and p0f_timestamp ,it increased the performance but not so much. My date comparisons would vary every time i have to execute a new query.
    Plz tell me is there another way to execute such a query to output same results?
    plz help me as my records are increasing day by day
    Thanks
    Shaveta

    From my small testcase it seems that both queries are absolute identical and don't actually take too much time:
    SQL> create table argus as (select created start_time, object_id port, object_id dst_port from all_objects union all
      2                         select created start_time, object_id port, object_id dst_port from all_objects)
      3  /
    Table created.
    SQL> create table p0f as select created p0f_timestamp, object_id p0f_port, object_id p0f_dst_port from all_objects
      2  /
    Table created.
    SQL> create index argus_idx on argus (start_time)
      2  /
    Index created.
    SQL> create index p0f_idx on p0f (p0f_timestamp)
      2  /
    Index created.
    SQL>
    SQL> begin
      2   dbms_stats.gather_table_stats(user,'argus',cascade=>true);
      3   dbms_stats.gather_table_stats(user,'p0f',cascade=>true);
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select count(*) from argus
      2  /
      COUNT(*)
         94880
    SQL> select count(*) from p0f
      2  /
      COUNT(*)
         47441
    SQL>
    SQL> set timing on
    SQL> set autotrace traceonly explain statistics
    SQL>
    SQL> select distinct (start_time), res.port, res.dst_port
      2             from (select *
      3                     from argus
      4                    where argus.start_time between to_date('2007-06-13 19:00:00','RRRR-MM-DD HH24:MI:SS')
      5                                               and to_date('2007-06-22 20:00:00','RRRR-MM-DD HH24:MI:SS')) res
      6                  left outer join
      7                  p0f on res.start_time = p0f.p0f_timestamp
      8                  ;
    246 rows selected.
    Elapsed: 00:00:02.51
    Execution Plan
    Plan hash value: 1442901002
    | Id  | Operation               | Name    | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT        |         | 21313 |   520K|       |   250   (6)| 00:00:04 |
    |   1 |  HASH UNIQUE            |         | 21313 |   520K|  1352K|   250   (6)| 00:00:04 |
    |*  2 |   FILTER                |         |       |       |       |            |          |
    |*  3 |    HASH JOIN RIGHT OUTER|         | 21313 |   520K|       |    91  (11)| 00:00:02 |
    |*  4 |     INDEX RANGE SCAN    | P0F_IDX |  3661 | 29288 |       |    11   (0)| 00:00:01 |
    |*  5 |     TABLE ACCESS FULL   | ARGUS   |  7325 |   121K|       |    79  (12)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS')<=TO_DATE('2007-06-22 20:00:00','RRRR-MM-DD HH24:MI:SS'))
       3 - access("ARGUS"."START_TIME"="P0F"."P0F_TIMESTAMP"(+))
       4 - access("P0F"."P0F_TIMESTAMP"(+)>=TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS') AND "P0F"."P0F_TIMESTAMP"(+)<=TO_DATE('2007-06-22
                  20:00:00','RRRR-MM-DD HH24:MI:SS'))
       5 - filter("ARGUS"."START_TIME">=TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS') AND "ARGUS"."START_TIME"<=TO_DATE('2007-06-22 20:00:00','RRRR-MM-DD
                  HH24:MI:SS'))
    Statistics
              1  recursive calls
              0  db block gets
            304  consistent gets
              0  physical reads
              0  redo size
           7354  bytes sent via SQL*Net to client
            557  bytes received via SQL*Net from client
             18  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
            246  rows processed
    SQL>
    SQL> select distinct start_time, port, dst_port
      2             from argus left outer join p0f on start_time = p0f_timestamp
      3            where start_time between to_date ('2007-06-13 19:00:00','RRRR-MM-DD HH24:MI:SS')
      4                                       and to_date ('2007-06-22 20:00:00','RRRR-MM-DD HH24:MI:SS')
      5  /
    246 rows selected.
    Elapsed: 00:00:02.47
    Execution Plan
    Plan hash value: 1442901002
    | Id  | Operation               | Name    | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT        |         | 21313 |   520K|       |   250   (6)| 00:00:04 |
    |   1 |  HASH UNIQUE            |         | 21313 |   520K|  1352K|   250   (6)| 00:00:04 |
    |*  2 |   FILTER                |         |       |       |       |            |          |
    |*  3 |    HASH JOIN RIGHT OUTER|         | 21313 |   520K|       |    91  (11)| 00:00:02 |
    |*  4 |     INDEX RANGE SCAN    | P0F_IDX |  3661 | 29288 |       |    11   (0)| 00:00:01 |
    |*  5 |     TABLE ACCESS FULL   | ARGUS   |  7325 |   121K|       |    79  (12)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS')<=TO_DATE('2007-06-22 20:00:00','RRRR-MM-DD HH24:MI:SS'))
       3 - access("START_TIME"="P0F_TIMESTAMP"(+))
       4 - access("P0F_TIMESTAMP"(+)>=TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS') AND "P0F_TIMESTAMP"(+)<=TO_DATE('2007-06-22 20:00:00','RRRR-MM-DD
                  HH24:MI:SS'))
       5 - filter("ARGUS"."START_TIME">=TO_DATE('2007-06-13 19:00:00','RRRR-MM-DD
                  HH24:MI:SS') AND "ARGUS"."START_TIME"<=TO_DATE('2007-06-22 20:00:00','RRRR-MM-DD
                  HH24:MI:SS'))
    Statistics
              1  recursive calls
              0  db block gets
            304  consistent gets
              0  physical reads
              0  redo size
           7354  bytes sent via SQL*Net to client
            557  bytes received via SQL*Net from client
             18  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
            246  rows processedCan you show us a similar testcase with explain plan and statistics?

Maybe you are looking for

  • How to load data from one Infobject into another in the same system??

    Hello All,    i need to load hierarchy data (already existing in 1 Infobject) into another newly created Infobject in the same BW system.Is there a way to do it without involving flat files?? Thanks soo much in advance Regards, Priya

  • Disk full attempting to move files from PC to Mac

    I've just bought a brand new Macbook Air. I'm attempting to move photos, music and some documents from my old acer onto the macbook. However when i've tried to do this, i've found that the disk is full. This disk is the macinstosh HD disk, though the

  • Stock in hand vs Stock requirements - using Sceduling aggrements with MRP

    Hi SAP Guru's, 1.Currently on 4.6C and client requires a report to view similar to MD04 with capability of multiple materials and vendors and way of summarizing the future requirements and current receipts? Right now with MD04 we can see for one mate

  • Problem opening Office documents from KM

    Hello, I have some problem opening Office documents from KM. We stored a lot of office documents (Excel, Word ecc.) in a File System repository (the standard repository "/documents"), when I open one of these files, before to view the document, a lit

  • Iphoto seems to be gone..

    Clicked on the iphoto icon today and nothing happened, the program would not open. I tried again and a question mark appeared onto of the iphoto icon. then restarted the computer and the iphoto icon is not in the dock. I have all my photos in my phot