cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

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

pshashipreetham
17-Peridot

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.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.
ACCEPTED SOLUTION

Accepted Solutions

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.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

View solution in original post

8 REPLIES 8

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

Hi @VladimirN ,

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

Thanks,
Shashi.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

I would recommend you submit a support ticket.

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.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

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

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.

Shashi Preetham,
Email: psp316r@outlook.com,
Mobile: +91 8099838001.

Hi Shashi Preetham,

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

slangley
23-Emerald II
(To:slangley)

Hi @psp316r.

 

It would be helpful if you could provide both the ThingWorx and Tomcat logs.

 

Thanks.

 

--Sharon

Announcements


Top Tags