You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At PodioWriteProcessor::Init(), m_app and GetApplication() returns nullptr crashing stuff around. Like DoInitialize is doomed and etc.
// TODO: DeprecateexplicitJEventProcessor(JApplication* app) { // <= this still works
The text was updated successfully, but these errors were encountered:
DraTeots
changed the title
jana::omni::JComponent m_app is null and GetApplication() returns nullptr
jana::omni::JComponent m_app and GetApplication() are nullptr
Aug 20, 2024
Can't reproduce. The JApplication pointer gets set in JComponentManager::preinitialize_components(). Can you send me a link to your code so I can figure out what's going on?
As I understood it. The main idea to get nullptr is to have a single monolith executable application without any plugins where you have JApplication initialized in main (as above) and run it without any flags. I will try to provide a clean reproducer. I am using 2.3.1 tag
If you execute simple JANA application like:
At
PodioWriteProcessor::Init()
,m_app
andGetApplication()
returns nullptr crashing stuff around. LikeDoInitialize
is doomed and etc.The text was updated successfully, but these errors were encountered: