On 8/22/06, Dan Rossi <[EMAIL PROTECTED]> wrote:
Hi there it seems somehow with the latest trunk ive been getting a heap of null pointer exceptions
[ERROR] 83100 DefaultQuartzScheduler_Worker-9:( ErrorLogger.error ) Job (DEFAULT.ScheduledJob_2 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:214)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
* Nested Exception (Underlying Cause) ---------------
java.lang.NullPointerException
at org.red5.server.stream.StreamFlowController.adaptBandwidthForFlow(StreamFlowController.java:39)
at org.red5.server.stream.PlaylistSubscriberStream$PlayEngine$2.execute(PlaylistSubscriberStream.java:766)
at org.red5.server.scheduling.QuartzSchedulingServiceJob.execute(QuartzSchedulingServiceJob.java:42)
at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Here is my demo app
public class VODApplication extends ApplicationAdapter
{
private IScope appScope;
private static final Log log = LogFactory.getLog(VODApplication.class);
@Override
public boolean appStart(IScope app) {
appScope = app;
return true;
}
@Override
public boolean appConnect(IConnection conn, Object[] params) {
/*
SimpleBandwidthConfigure sbc = new SimpleBandwidthConfigure();
sbc.setMaxBurst(8*1024*1024);
sbc.setBurst(8*1024*1024);
sbc.setOverallBandwidth(2*1024*1024);
streamConn.setBandwidthConfigure(sbc);
*/
//}
appScope = conn.getScope();
log.info("Context Path: " + appScope.getContextPath());
log.info("Name: " + appScope.getName());
return super.appConnect(conn, params);
}
@Override
public boolean appJoin(IClient client, IScope scope) {
log.info("Client joined app " + client.getId() + " at time " + client.getCreationTime());
// If you need the connecion object you can access it via.
//IConnection conn = Red5.getConnectionLocal();
return true;
}
}
What could be the issue ?
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
Best Regards
Steven Gong
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
