[jboss-jira] [JBoss JIRA] Updated: (JBPM-315) SchedulerMain can not work

Daniel Bloomfield Ramagem (JIRA) jira-events at jboss.com
Thu Aug 31 15:11:19 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBPM-315?page=all ]

Daniel Bloomfield Ramagem updated JBPM-315:
-------------------------------------------

    Attachment: SchedulerMain.java

The scheduler should be started first before adding the LogListener (see my comment).

> SchedulerMain can not work
> --------------------------
>
>                 Key: JBPM-315
>                 URL: http://jira.jboss.com/jira/browse/JBPM-315
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>            Reporter: Bernd Ruecker
>         Assigned To: Tom Baeyens
>            Priority: Minor
>         Attachments: SchedulerMain.java
>
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> SchedulerMain.main throws NullPointerException at line 29
> I think the order of the two lines are wrong:
>     // register the console listener
>     scheduler.getSchedulerThread().addListener(new LogListener());
>     
>     // start the scheduler
>     scheduler.start();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list