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

[appserver-io/appserver] Timing issues with class declaration synchronisation #875

Closed
wick-ed opened this issue Jul 20, 2015 · 1 comment

Comments

@wick-ed
Copy link
Member

wick-ed commented Jul 20, 2015

With certain timings there is a problem with synchronizing of the class declarations in between thread contexts. Therefor certain classes do not exist in child threads but cannot be loaded due to our architecture.

Error message:

[16-Jul-2015 14:56:18 Europe/Berlin] PHP Fatal error:  AppserverIo\Appserver\Core\DgClassLoader::loadClass(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "AppserverIo\Appserver\Core\StackableStructureMap" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition  in /opt/appserver/src/AppserverIo/Appserver/Core/DgClassLoader.php on line 348
@wick-ed wick-ed added the bug label Jul 20, 2015
@wick-ed wick-ed added this to the Release 1.1.0 "Iron Knight" milestone Jul 20, 2015
@wick-ed
Copy link
Member Author

wick-ed commented Jul 20, 2015

Closed with this PR

@wick-ed wick-ed closed this as completed Jul 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant