You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2016/12/28 10:10:04 UTC

[Bug 60524] New: NPE in SlowQueryReport in tomcat-jdbc-7.0.68

https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

            Bug ID: 60524
           Summary: NPE in SlowQueryReport in tomcat-jdbc-7.0.68
           Product: Tomcat Modules
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: jdbc-pool
          Assignee: dev@tomcat.apache.org
          Reporter: carlvane@foxmail.com
  Target Milestone: ---

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

--- Comment #1 from wyao <ca...@foxmail.com> ---
Created attachment 34561
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34561&action=edit
NPE

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

WangZhengcong <co...@163.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from WangZhengcong <co...@163.com> ---
(In reply to Felix Schumacher from comment #2)
> Can you give a bit more details on your setup, like jdk/jre, cluster setup,
> is this reproducable, ...?
> 
> It is a bit of a mystery to me, that the npe is happening there, as we are
> copying the data from a ConcurrentHashMap, which explicitly does not allow
> null values. My first idea was to filter null values from the copied list,
> but it feels wrong without knowing the real issue.

Please see my reply, the java version shown below

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Can you give a bit more details on your setup, like jdk/jre, cluster setup, is
this reproducable, ...?

It is a bit of a mystery to me, that the npe is happening there, as we are
copying the data from a ConcurrentHashMap, which explicitly does not allow null
values. My first idea was to filter null values from the copied list, but it
feels wrong without knowing the real issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from Felix Schumacher <fe...@internetallee.de> ---
Could you try and run the attached Java program on your machine and report if
it crashes? I suspect, that the CHM implementation of your JRE is buggy.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

--- Comment #3 from WangZhengcong <co...@163.com> ---
Created attachment 34584
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34584&action=edit
java version

hope to find the NPE

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 60524] NPE in SlowQueryReport in tomcat-jdbc-7.0.68

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60524

--- Comment #5 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 34656
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=34656&action=edit
Test program for ConcurrentHashMap

Program that tests ConcurrentHashMap, as I suspect, that the uses JRE has a
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org