Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException at AForge.Video.JPEGStream.WorkerThread() #383

Open
GoogleCodeExporter opened this issue Dec 22, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a JPEGStream pointed to 
http://trackfield.webcam.oregonstate.edu/axis-cgi/jpg/image.cgi.
2. Call Start() 
3. Wait to receive at least 1 frame.
4. Call Stop()
5. Wait ~5 sec.
6. Go to step 2.

What is the expected output? What do you see instead?
It should run forever capturing a frame on demand.  Instead it crashes our 
application after a day or so.  Because it's an unhandled exception on an 
internal thread, there's no easy workaround.

What version of the product are you using?
2.2.5.0

Please provide any additional information below.

Exception Info: System.NullReferenceException
Stack:
   at AForge.Video.JPEGStream.WorkerThread()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()


Original issue reported on code.google.com by neurot...@gmail.com on 16 Jun 2014 at 7:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant