[ https://forge.continuent.org/jira/browse/SEQUOIA-777?page=all ]
Mathieu Peltier reopened SEQUOIA-777:
-------------------------------------
Assign To: Olivier Fambon (was: Marc Herbert)
Reopened issue as NPE may still occur (maybe in another code path?). Additional
investigation is needed.
> Shutdown can cause (harmless) NPE in VdbWorkerThread
> ----------------------------------------------------
>
> Key: SEQUOIA-777
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-777
> Project: Sequoia
> Type: Bug
> Components: Core
> Versions: Sequoia 2.10
> Reporter: Olivier Fambon
> Assignee: Olivier Fambon
> Fix For: Sequoia 2.10.3, Sequoia 3.0
>
>
> The log will show "Runtime error during command execution (null)
> (java.lang.NullPointerException)".
> The shutdown thread calls in.close() while the wdbwt is blocked in in.read(),
> precisely to make it exit.
> Calling close() on a BufferedInputStream from a thread can cause NPE in
> another that would be blocked on read().
> This is a known issue with jdk < 1.5
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4728096
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4931417
> A clean shutdown procedure would try/catch/ignore the NPE around in.read(),
> in vdbwt.run(), line 410,
> and call in.close() in shutdown() _only_ when the vdbwt is in state
> waitForCommand=true.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia