Topic
3 replies Latest Post - ‏2012-11-16T11:09:48Z by SystemAdmin
nukite8d
nukite8d
8 Posts
ACCEPTED ANSWER

Pinned topic java.lang.NullPointerException

‏2012-11-15T11:16:35Z |
Hi guys,
this night, we got an error message inside the OC
saying like "somthing failed, refer to the error log".

In the SystemOut.log I found the following:

11/15/12 3:48:23:164 CET 00000156 mdr E com.ibm.mdr.DrPortletDynamicUIUser@40764076DrStateMgr: DrStateMgr.processSingleException() Exception de
tected...


Exception #1
java.lang.NullPointerException
at com.ibm.psw.wcl.portlet.WclPortletTriggerManager.handleRequest(WclPortletTriggerManager.java:297)
at com.ibm.psw.wcl.portlet.WclPortletFacade.handleRequest(WclPortletFacade.java:533)
at com.ibm.psw.wcl.portlet.WclPortletFacade.handleRequest(WclPortletFacade.java:493)
at com.ibm.mdr.DrPortletUtilities.handleRequest(DrPortletUtilities.java:187)
at com.ibm.mdr.DrStateMgr.eventFromUser(DrStateMgr.java:2728)
at com.ibm.mdr.DrRenderer.eventFromWeb(DrRenderer.java:2536)
at com.ibm.mdr.DrPortletDynamicUITransactionManager.processTransaction(DrPortletDynamicUITransactionManager.java:402)
at com.ibm.webnav.servlet.WnTransactionThread.run(WnTransactionThread.java:119)
What could be the reason?
There is no additional ffdc dump.
Updated on 2012-11-16T11:09:48Z at 2012-11-16T11:09:48Z by SystemAdmin
  • nukite8d
    nukite8d
    8 Posts
    ACCEPTED ANSWER

    Re: java.lang.NullPointerException

    ‏2012-11-15T11:20:05Z  in response to nukite8d
    
    [11/15/12 3:48:23:164 CET] 00000156 mdr           E   com.ibm.mdr.DrPortletDynamicUIUser@40764076DrStateMgr: DrStateMgr.processSingleException() Exception de tected...<br> <br><br>Exception #1<br> java.lang.NullPointerException at com.ibm.psw.wcl.portlet.WclPortletTriggerManager.handleRequest(WclPortletTriggerManager.java:297) at com.ibm.psw.wcl.portlet.WclPortletFacade.handleRequest(WclPortletFacade.java:533) at com.ibm.psw.wcl.portlet.WclPortletFacade.handleRequest(WclPortletFacade.java:493) at com.ibm.mdr.DrPortletUtilities.handleRequest(DrPortletUtilities.java:187) at com.ibm.mdr.DrStateMgr.eventFromUser(DrStateMgr.java:2728) at com.ibm.mdr.DrRenderer.eventFromWeb(DrRenderer.java:2536) at com.ibm.mdr.DrPortletDynamicUITransactionManager.processTransaction(DrPortletDynamicUITransactionManager.java:402) at com.ibm.webnav.servlet.WnTransactionThread.run(WnTransactionThread.java:119)
    
    • SystemAdmin
      SystemAdmin
      46 Posts
      ACCEPTED ANSWER

      Re: java.lang.NullPointerException

      ‏2012-11-16T11:06:25Z  in response to nukite8d
      Hi,

      we have experienced this NullPointerException, which occurs in the widget libraries that we use for displaying the Operations Console, in the past in certain scenarios where parallel processing is involved. E.g. if a user clicks on a resource and while the data is still being retrieved from the backend clicks another resource. Also clicking a resource while the Operations Console is being updated due to an incoming event has occasionally caused this problem in the past.

      However, all scenarios that we know of have been fixed in the widget libraries in earlier releases of those libraries.
      I now checked again with the current release and tested all known scenarios with the following result:

      Scenario1 - Parallel processing due to clicks on hyperlinks:
      Click on a hyperlink in a table cell. The processing takes a few seconds before the screen is refreshed. During this processing click on the link again (or another) link.
      ==> Scenario worked without problems
      Scenario 2 - Parallel processing due to click on a button while data is retrieved:
      Again, as in scenario 1, click on a link to let the server do some processing. Before the page refreshes, click on a button, e.g. Search button
      ==> Scenario worked without problems

      Scenario 3 - Parallel processing due to click on a Notebook tab while data is retrieved:
      Again, as in scenario 1, click on a link to let the server do some processing. Before the page refreshes, click on a Notebook tab, e.g "Policy"
      ==> Scenario worked without problems
      Scenario 4 - Parallel processing due to click on a tree table twistie
      Again, as in scenario 1, click on a link to let the server do some processing. Before the page refreshes, click on a tree table twistie to expand a tree node.
      ==> Scenario worked without problems

      Scenario 5 - Click while Smart Refresh refreshes screen
      Trigger a resource event of the displayed resource. As soon as the Smart Refresh timer says "Refreshing", click on the link for the resource to trigger a parallel refresh.
      ==> Scenario worked without problems

      Scenario 6 - Cancelling a dialog with required fields when fields are marked with errors
      Click on a FLA domain for which you are not yet authenticated. The credentials dialog prompts you for a user id and password.
      Now click OK with entering data in the entry fields - The fields will be marked with an error saying that the fields are required. Now click Cancel.
      ==> Scenario caused NPE

      So, as a summary, from the scenarios that we know where this NPE has occurred in the past, all work with the current release except of one: Scenario 6.

      Was this the scenario in your case?
      If yes and you think this is worth a PMR, please open a PMR for it.

      If you had a different scenario and you can re-create it, then please provide a recreate description for the scenario and open a PMR.

      If you do not have a re-create scenario, it will be nearly impossible to create a fix for it.

      Thanks and Regards,
      Wolfgang
      The problem occurs only in Internet Explorer. Firefox 3 works fine.
      • SystemAdmin
        SystemAdmin
        46 Posts
        ACCEPTED ANSWER

        Re: java.lang.NullPointerException

        ‏2012-11-16T11:09:48Z  in response to SystemAdmin
        Sorry, in scenario 6 I meant to write "without entering data in the entry fields"
        Also ignore the last sentence about browsers. That was a copy&paste error.