Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001380 [Resin] minor always 09-27-06 16:39 10-26-06 05:30
Reporter ferg View Status public  
Assigned To westrupp
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.0 Product Version 3.0.21
  Product Build
Summary 0001380: NPE in CMP query
Description We are getting some really odd behavior in production with Resin's CMP.

Intermittently, resin begins throwing NPE's in its Amber code( why
Resin is using Amber for 2.x beans is another question, but I'll save
that for another time ). For example:

[09:01:47.850] null
[09:01:47.850] java.lang.NullPointerException
[09:01:47.850] at com.caucho.amber.manager.AmberConnection.parseQuery
(AmberConnection.java:1286)
[09:01:47.850] at
com.caucho.amber.manager.AmberConnection.prepareQuery
(AmberConnection.java:1268)
[09:01:47.850] at
com.caucho.amber.manager.AmberConnection.prepareQuery
(AmberConnection.java:1235)
[09:01:47.850] at
_ejb.InternalUserPermissionHome.InternalUserPermissionBean__EJB
$LocalHome.findByUser(InternalUserPermissionBean__EJB.java:390)
[09:01:47.850] at delegates.security.PermissionsDelegate.canYou
(PermissionsDelegate.java:21)

it appears to happen exclusively with finders. We have verified that
we are NOT passing nulls into any of the finders when this occurs.

Looking at the code, it looks like an internal AmberPersistenceUnit
object is for some reason null.

Any help on this would be appreciated, thanks.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001554)
westrupp
10-26-06 05:30

Fixed in 3.1. qa/jpa/0s43 (Rodrigo Westrupp)
 

- Issue History
Date Modified Username Field Change
09-27-06 16:39 ferg New Issue
10-26-06 04:26 westrupp Status new => assigned
10-26-06 04:26 westrupp Assigned To  => westrupp
10-26-06 05:30 westrupp Status assigned => closed
10-26-06 05:30 westrupp Note Added: 0001554
10-26-06 05:30 westrupp Resolution open => fixed
10-26-06 05:30 westrupp Fixed in Version  => 3.1.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker