Skip to main content
pshashipreetham
18-Opal
18-Opal
May 30, 2022
Solved

Thingworx Not Start "Error draining persistence providers queues: java.lang.NullPointerException"

  • May 30, 2022
  • 3 replies
  • 2809 views

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.

Best answer by pshashipreetham

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.

3 replies

24-Ruby III
May 31, 2022

Here is another article - "ThingWorx fails to start with "java.lang.NoClassDefFoundError" error in Tomcat logs": https://www.ptc.com/en/support/article/cs368418 

pshashipreetham
18-Opal
18-Opal
May 31, 2022

Hi @VladimirN ,

Thanks for the reply, but the issue and the article you pointed out are two different things.

Thanks,
Shashi.

22-Sapphire I
June 1, 2022

I would recommend you submit a support ticket.

pshashipreetham
18-Opal
18-Opal
June 4, 2022

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.

Community Manager
June 7, 2022

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

pshashipreetham
18-Opal
pshashipreetham18-OpalAuthorAnswer
18-Opal
June 7, 2022

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.

5-Regular Member
October 9, 2024

Hi Shashi Preetham,

Could you please provide the solution to how you solved this issue? We are facing the same issue on our end.