Thingworx Not Start "Error draining persistence providers queues: java.lang.NullPointerException"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thingworx Not Start "Error draining persistence providers queues: java.lang.NullPointerException"
When ever tomcat restart the TWX, it gives following error in Application Log:
Error draining persistence providers queues: java.lang.NullPointerException
After that TWX Shutdowns..
Followed this Article . But issue still exist.
@slangley @PaiChung
Thanks,
Shashi.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
Solved! Go to Solution.
- Labels:
-
Install-Upgrade
-
Troubleshooting
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @slangley ,
This Error shows up in the Application Log, and TWX doesn't start.
Error draining persistence providers queues: java.lang.NullPointerException
When checking the Tomcat logs (catlina.log) for the same issue, found the same errors in the tomcat log as per the below article:
https://www.ptc.com/en/support/article/CS315741
As per the Article, tomcat is not about to launch the TWX because of the Recursive User Groups, which should be removed through DB manually since TWX is not starting.
Hope this clears the confusion.
Thanks,
Shashi.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Here is another article - "ThingWorx fails to start with "java.lang.NoClassDefFoundError" error in Tomcat logs": https://www.ptc.com/en/support/article/cs368418
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @VladimirN ,
Thanks for the reply, but the issue and the article you pointed out are two different things.
Thanks,
Shashi.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I would recommend you submit a support ticket.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
@PaiChung @VladimirN @slangley ..
This is the exact issue I am facing https://www.ptc.com/en/support/article/CS315741
But how can I remove the User Groups from the Postgres DB, any query ?
Thanks,
Shashi.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @psp316r.
We're a little confused. The initial error you reported doesn't appear to have anything to do with the last issue. Are these the same issue, or are you reporting 2 different issues?
In regard to the user groups, you would use ThingWorx Composer for making changes.
Regards.
--Sharon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @slangley ,
This Error shows up in the Application Log, and TWX doesn't start.
Error draining persistence providers queues: java.lang.NullPointerException
When checking the Tomcat logs (catlina.log) for the same issue, found the same errors in the tomcat log as per the below article:
https://www.ptc.com/en/support/article/CS315741
As per the Article, tomcat is not about to launch the TWX because of the Recursive User Groups, which should be removed through DB manually since TWX is not starting.
Hope this clears the confusion.
Thanks,
Shashi.
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Shashi Preetham,
Could you please provide the solution to how you solved this issue? We are facing the same issue on our end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @psp316r.
It would be helpful if you could provide both the ThingWorx and Tomcat logs.
Thanks.
--Sharon
![](/skins/images/695EE5AD3E567050FEDD72575855ED93/ptc_skin/images/icon_anonymous_message.png)