m85000 / oculus

Automatically exported from code.google.com/p/oculus
0 stars 0 forks source link

shutdown/restart sometimes throws null pointer error to console #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call shutdown or restart command
2.
3.

What is the expected output? What do you see instead?
player appdisconnect calls 'publish stop', which throws an error trying to read 
'vset' from settings -- probably since 1/2way thru shutdown, file access is lost

error log:
Starting Oculus
Close this window to stop server or click QUIT in browser window
java.lang.NullPointerException
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at oculus.Settings.readSetting(Settings.java:96)
        at oculus.Application.publish(Application.java:661)
        at oculus.Application.appDisconnect(Application.java:125)
        at org.red5.server.adapter.MultiThreadedApplicationAdapter.disconnect(Mu
ltiThreadedApplicationAdapter.java:452)
        at org.red5.server.Scope.disconnect(Scope.java:432)
        at org.red5.server.BaseConnection.close(BaseConnection.java:353)
        at org.red5.server.net.rtmp.RTMPConnection.close(RTMPConnection.java:603
)
...

Original issue reported on code.google.com by skyz...@gmail.com on 30 Aug 2011 at 7:46

GoogleCodeExporter commented 8 years ago
this may only happen when restart called when video is streaming

Original comment by skyz...@gmail.com on 30 Aug 2011 at 8:08