You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ha...@apache.org on 2005/07/21 16:15:26 UTC

cvs commit: ws-axis/c/tests/utils/monitor/org/apache/test TCPMonitor.java

hawkeye     2005/07/21 07:15:26

  Modified:    c/tests/utils/monitor/org/apache/test TCPMonitor.java
  Log:
  Catch NullPointerException when closing. I have no idea why it was a NullPointerException but we can now catch it and see what it is.
  
  Revision  Changes    Path
  1.7       +4 -0      ws-axis/c/tests/utils/monitor/org/apache/test/TCPMonitor.java
  
  Index: TCPMonitor.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tests/utils/monitor/org/apache/test/TCPMonitor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TCPMonitor.java	6 Jun 2005 17:07:42 -0000	1.6
  +++ TCPMonitor.java	21 Jul 2005 14:15:26 -0000	1.7
  @@ -127,6 +127,10 @@
           {
               exception=ioException;
           }
  +        catch(NullPointerException nullPointerException)
  +        {
  +            nullPointerException.printStackTrace(System.err);
  +        }
           finally
           {
               singleton=null;