How can I know which line contains the error in JSP

Hello, I got following compiling error:
ava.lang.NullPointerException
     at org.apache.jsp.temp1Public_jsp._jspService(temp1Public_jsp.java:252)"
Is there a way I can know in which line of the jsp page the null pointer exception occurs.
"line 252 " doesn't seem to help a lot, since it refers to the rendered java file.
Thanks so much.
Oriental Spirit.

Hello, I got following compiling error:
ava.lang.NullPointerException
at
org.apache.jsp.temp1Public_jsp._jspService(temp1Public
jsp.java:252)"
Is there a way I can know in which line of the jsp
page the null pointer exception occurs.
"line 252 " doesn't seem to help a lot, since it
refers to the rendered java file.As far as I know, no. If you are using an IDE that supports JSP compilation, then it may let you click on the error and take you directly to the JSP (e.g. Forte/Netbeans or Jbuilder will do this).

Similar Messages

  • How can I know WHICH cookie in the list is the one I want to delete?

    OK, an unwanted, annoying cookie pops up.
    I go to the list of cookies in the Privacy section but I can't IDENTIFY the NAME of the cookie I want to delete.
    How can I tell its name?

    See also:
    *http://kb.mozillazine.org/Cookies
    *https://support.mozilla.org/kb/Deleting+cookies
    You can check to cookies for the domain in the currently selected tab:
    *Click the "Site Identity Button" (globe/padlock) on the location bar
    *Click "More Information" to open "Page Info > Security"
    *Click "View Cookies" to view the cookies for the domain in the currently selected tab
    Also make sure that you do not get confused by messages from BetterPrivacy.
    *https://addons.mozilla.org/firefox/addon/betterprivacy/

  • How can I know which link was clicked in the link list

    Hi everyone
    I'm using list of links in my page to display list of the files in some directory.
    How can I know which link user was clicked. There are some code:
    <%
    String dir = "..//files//";
    File fin = new File(dir);
    File files[]=fin.listFiles();
    for(int i=0;i<files.length;i++)
    File x = files;
    %>
    <%=x.getName()%><br>
    <%
    %>
    Please help

    You need to pass some data on the querystring to the page you are linking to.
    <a href="Main_Work.jsp?file=<%=x.getName()%>"><%=x.getName()%></a><br>
    This will send a parameter called "file" with the value of the file name that the user clicked.
    Now in Main_Work.jsp you can access this data as follows:
    <%
    String s = request.getParameter("file");
    File f = new File("..//files//"+s);
    %>

  • How can i know which index will be used when executing the query ?

    1 ) I have query in which i have 3-4 tables but there multiple index on one column .
    so how can i know which index will be used when executing the query ?
    2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
    3) Please Provide me some document of EXplain plan ?

    Hi Jimmy,
    Consider the below example
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    CREATE TABLE FIRST AS
    SELECT * FROM all_objects;
    UPDATE FIRST
    SET object_name = 'TEST'
    WHERE owner != 'SCOTT';
    CREATE INDEX idx_first ON FIRST(object_name);
    SELECT *
    FROM FIRST
    WHERE object_name = 'TEST';
    It has not used index
    Execution Plan
    Plan hash value: 2265626682
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
    |* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
    /* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
    SELECT *
    FROM FIRST
    WHERE object_name = 'emp';
    This has used the index
    Execution Plan
    Plan hash value: 1184810458
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
    |* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
    From this we can come to the conclusion that, whether to use one index or not by oracle
    would also depend on the data which is present in the table. This has to be this way as
    we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
    scan, it would be a performance hit when it searches for the second query ie where object_name
    ='emp';
    2.
    If we have a query like below.
    select * from emp
    where upper(ename) = upper(:p_ename);
    Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
    Create index idx_ename on emp(upper(ename));
    Regards,
    Cool

  • How can I know which photos are in the library was used in each album I have created before.

    How can I know which photos are in the library was used in each album I have created before?
    I have many photos in the library folder of iPhoto, but actually I don't know which photos were used in my album.
    Is there any method to find this?
    Thanks.

    Album or Book?
    If Album you can find the ones not already used:
    File -> New Smart Album
    Album -> is not -> Any
    Regards
    TD

  • How can I know which file is using by the self-service workflow?

    Dear all:
    In my directory, there are two HRSSA.wft and How can I know which source is using by the workflow of the self-service ?
    my environment is oracle 11.5.9 | self-service 4.1 | workflow builder 2.6
    Thanks
    regards
    Terry

    One way would be to download the HRSSA workflow to a wft file (using the WFLOAD utility - see MOS Doc 578248.1), then comparing this downloaded wft file with the two files you have (using a utility such as diff in Unix). The comparison that reports no differences will identify the wft that was uploaded into the database.
    HTH
    Srini

  • How can I know which has brought down the database SI or SA

    Hi to all,
    Hi
    Sorry about this simple question but i am little bit confused.
    Suppose if i used Shutdown immediate and i use Shutdown abort then how can i know which brought down my database Shutdown immediate(SI) or Shutdown abort(SA)
    Please help me !!!!!

    Hi,
    Ofcourse shutdown abort will execute...
    See the output from alert log
    Tue Jun 01 11:54:17 2010
    Shutting down instance (immediate)
    Stopping background process SMCO
    Tue Jun 01 11:54:35 2010
    Shutting down instance: further logons disabled
    Tue Jun 01 11:54:39 2010
    Shutting down instance (abort)
    License high water mark = 125
    USER (ospid: 5436): terminating the instance
    Instance terminated by USER, pid = 5436
    Tue Jun 01 11:54:42 2010
    Instance shutdown complete
    Thanks,
    Ajikumar G
    Expertise in Oracle Apps...

  • How can we know which index is triggered

    hi all ,
    how can we know which index is triggered in perticular select statement ? is that just based on the fields which used in the select statement or can we know from ST05 ?
    thanks,
    ram

    Hi Ram,
    You can go to transaction ST04(if you are authorised)...
    Now select 'Detail analysis menu' button.
    Now select SQL Request button under 'Resource consumption by' section.
    Now in the ' SQL statement pattern by ' field , give the part of the select statement you want to check.
    Now press execute.
    Now select the line item displayed and goto menu option <b>Goto->Explain SQL</b>.
    It will give you the execution plan for the particular SQL statement.
    From here you can get the index values from INDEX RANGE SCAN statement in this output.
    Hope this has been of some help to you...
    Regards,
    SP.

  • Adobe Cloud has 2 different Muse programs.... how do I know which one is the newer better version?

    So I am new to Muse, and my Adobe Cloud has 2 different programs from Muse... how do I know which one is the newer better version?
    One Must program (Muse CC 2014.2)  has a black background when working on it... it looks like other Adobe programs such as Photoshop.
    The other one is light color (Muse CC) very similar to the black color Muse on functions.....
    One of the difference I notice is that the light color Muse has a few widgets in the library, while the black background Muse seems to have an empty library
    So... why are there 2 different Muse programs in my Adobe Cloud?

    Hi
    The latest version of Muse is 2014.2, so you need to uninstall another version of Muse manually.
    regarding the items in Library, you can add items in your library manually, as shown in this article
    Adobe Muse Help | Organizing and reusing design elements using Library panel
    Please let me know if you have any other query.

  • How can I know which clients are connected to my network through express and which are connected through extreme?

    I have an airport express extending, through wireless, a network provided by an airport extreme. How can I know which clients are connected to my network through express and which are connected through extreme?
    Here you can see both routers:
    I would expect to some clients connected to the express, other than the extreme. And that's all I see: only the airport extreme appears as client of the airport express.
    Below, one can see the summary of the config for both routers.
    Would somebody explain it?
    Thanks,
    Marcelo
    Message was edited by: Marcelão

    please disregard this answer.
    Message was edited by: Marcelão

  • How can i know which version of Smartview is installed on my system ?

    Hi All,
    How can i know which version of Smartview is installed on my system ?

    Do you know what version of Essbase you are running? that could help. You can find that in EAS. Right click on the server name and select edit ptoperties, then look on the environment tab. As a final measure, find the smartview.exe on yout machine right click and select properties. in one of the tabs there might be a version number

  • How can I know which screen-group is?

    Hi experts!!
    I don't know how can I know which screen-group is associaciate to the values...for example, how can I associate  this block to a screen-group for after do this?  IF SCREEN-GROUP1 EQ 'DAT'.
    SELECTION-SCREEN BEGIN OF BLOCK B9 WITH FRAME TITLE TEXT-017.
    SELECTION-SCREEN SKIP.
    SELECT-OPTIONS: FECHA FOR P0001-BEGDA MODIF ID DAT.
    SELECTION-SCREEN END OF BLOCK B9.
    Thanks and regards,
    Rebeca

    Hi,
    Check out this code.
    REPORT  Z94406_TEST_123                         .
    TABLES: pa0001,t549a.
    DATA: n(6) TYPE c.
    SELECTION-SCREEN BEGIN OF BLOCK za2 WITH FRAME.
    PARAMETERS:p1  RADIOBUTTON GROUP grp1 user-command a DEFAULT 'X'.
    SELECT-OPTIONS: s_prd1 FOR n NO-EXTENSION modif id G1.
    PARAMETERS:p2  RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_period FOR pa0001-begda NO-EXTENSION modif id G2.
    SELECTION-SCREEN END OF BLOCK za2.
    AT SELECTION-SCREEN OUTPUT.
    if p1 = 'X'.
    LOOP AT SCREEN.
        IF screen-group1 = 'G2' or screen-group1 = 'G2'.
                screen-input = '0'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
    ELSE.
      IF screen-group1 = 'G2' or screen-group1 = 'G2'.
          screen-input = '1'.
          MODIFY SCREEN.
       ENDIF.
      ENDLOOP.
       ENDIF.
    Regards,
    Syed

  • How can we delete a line from the table control .

    hi all
    how can we delete a line from the table control .
    situation is.
    created table control in se51 which will display the data of a table.
    how could i select a line from the table control ?
    how could i delete the selected lines form the table.
    thanks in advance

    Change the Table Control attributes such that user can only select a single record(row).
    <u>Tip to delete a selected record</u>
    1) write a module 'Mark' in the PAI as below
    PROCESS AFTER INPUT.
    MODULE cancel AT EXIT-COMMAND.
    LOOP WITH CONTROL table_view.
    MODULE read_table_control.
    FIELD flag MODULE mark ON INPUT.
    ENDLOOP.
    MODULE user_command_0100.
    2) Module Mark is below.
    MODULE mark INPUT.
    CHECK flag = 'X'.
    x = table_view-top_line + sy-stepl - 1.
    Delete itab INDEX x.
    ENDMODULE. " mark INPUT
    Table_view is the TableControl Name.
    'flag' is of type char(1) available in the Internal table which was assigned to the select option in the table control.
    <u>award if uesful</u>
    Regards,
    Sudheer

  • How can I tell which generation is the MBP's Core i CPU

    In the showroom: How can I tell which generation is the MBP's Core i CPU?

    Abdullah Tammour wrote:
    In the showroom: How can I tell which generation is the MBP's Core i CPU?
    Ask the sales staff. 

  • How can I know which model of K9A2VM I have?

    I have a K9A2VM motherboard with an Athlon 64 x2 3600+ AM2 CPU. I would now like to upgrade to an AM3 Phenom II CPU with lots and lots of cores.
    However, I have a problem. I don't know if I have K9A2VM-FD or K9A2VM-FIH and I don't know how to find out. I've opened my box and looked at the card, but it only says K9A2VM. By reading the specs and looking at pictures, I know it has to be one of them, or at least that it is not K9A2VM-F V2 since it only has two RAM slots and I have four of them installed. There are other obvious differences too, which I can easily spot by looking at the picture.
    Now, looking at the CPU support page for -FD and -FIH, they seem to have differences in what CPUs they support:
    -FD at least supports an X6: http://www.msi.com/product/mb/K9A2VM-FD.html#/?div=CPUSupport
    Phenom II X6    Thuban    HDT90ZFBK6DGR    1090T    200    3.20    3M    6M    E0    125    7501v1B.zip
    But the -FIH CPU support page is different: http://www.msi.com/product/mb/K9A2VM-FIH.html#/?div=CPUSupport
    If I can use that processor, I'm really happy. But -FIH doesn't seem to support Phenom II at all. So provided that the information in the CPU support page is correct, it's fairly important to me to know which model I have. But in case nobody knows how I can distinguish between them; if I buy a Phenom II X6 CPU and it turns out that my motherboard doesn't support it; what is the worst thing that can happen? Will I break the CPU or motherboard, or will it simply not work, but the hardware will still be fine?
    Thanks.

    So this is a MS-7501 Version 1.0 card, in addition to being a K9A2VM. The entire web refers to it as "K9A2VM-FD / FHI". One will work, and the other will go up in smoke. And there is no easy way to know which is which. So how can I know? The reason I bought this card was so I could upgrade the CPU at a later time. Now it seems that's not possible, because the available information is so very poor. I've never had to gamble when purchasing hardware from other vendors. Is this common for MSI?

Maybe you are looking for

  • Netscape and SSO to partner application

    Help! I have a partner Java app using SSO with a custom login form. All is well in IE 6 but I get problems with Netscape 7. It authenticates to the Portal OK, but not to the partner app. The browser displays the following message: Oracle SSO Failure

  • Logging Table changes and transactions

    I am using oracle 11.2 DB and need to track some changes made to specific tables (need to capture old/new values of columns). I have experimented with creating a MV log on a table which seems to get me most of what I want: CREATE materialized view lo

  • Print Tasks and header information only in QN

    Hi All, Is there a way to print Notification Tasks only?  For example the business sometime wants to print only the items in the notification and sometimes only the Tasks as the customers dont need to see all items or all tasks in the notification. S

  • Cannot read PDF files downloaded via acsm

    The app does not allow copying and reading the PDF downloaded via acsm delivery mechanism as it reports to be protected.  Is this known issue or needs to be treated like a feature request. On PC, you read this document via Adobe Digital Editions. Tha

  • SCAN IP

    Hello I have install a 2 nodes RAC 11gR2 with ASM on AIX 6.1 I am not using gns so i install using hosts files (problem with netwok admin) IP configuration : Node     IP     defined name Aix_rac1     192.168.100.180     aix_rac1 Aix_rac1     172.16.2