Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002475 [Resin] minor always 03-02-08 20:41 03-04-08 09:52
Reporter netsql3 View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.6 Product Version 3.1.5
  Product Build
Summary 0002475: Respirce Cron NPE
Description Using http://www.caucho.com/resin-3.0/resource/cron.xtp [^]
I set up a hello world job (not bean).

I get a NPE in CronResource, it seems that "set work" was not called in resin code.

I'd give you example, but it mirrors the hello world you have on the docs there.

Nice feature to build in cron.
Let me know when this might get fixed or if I can help.
Steps To Reproduce
Additional Information Resin Professional 3.1.s080111 (built Fri, 11 Jan 2008 12:48:22 PST)

[20:38:30.612] {main} Resin started in 1201ms
[20:39:00.096] {resin-18} java.lang.NullPointerException
[20:39:00.096] {resin-18} at com.caucho.resources.CronResource.handleAlarm(CronResource.java:145)
[20:39:00.096] {resin-18} at com.caucho.util.Alarm.handleAlarm(Alarm.java:375)
[20:39:00.096] {resin-18} at com.caucho.util.Alarm.run(Alarm.java:345)
[20:39:00.096] {resin-18} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[20:39:00.096] {resin-18} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[20:39:00.096] {resin-18} at java.lang.Thread.run(Thread.java:619)
Attached Files

- Relationships

- Notes
(0002812)
ferg
03-04-08 09:52

server/2m0[0-8]

Replaced with <scheduled-task>

See http://caucho.com/resin/doc/env-tags.xtp#scheduled-task [^] or http://caucho.com/resin/doc/resources.xtp#scheduled-task [^]
 

- Issue History
Date Modified Username Field Change
03-02-08 20:41 netsql3 New Issue
03-04-08 09:52 ferg Note Added: 0002812
03-04-08 09:52 ferg Assigned To  => ferg
03-04-08 09:52 ferg Status new => closed
03-04-08 09:52 ferg Resolution open => fixed
03-04-08 09:52 ferg Fixed in Version  => 3.1.6


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