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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Windchill startup issue

paj1
7-Bedrock

Windchill startup issue

I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.1.8

Users unable to perform any operation in windchill. Search, create objects etc. Error in MS is tandardRequestDispatcher.dispatchRequest :: Runtime failure(s)
java.lang.NullPointerException
at wt.access.AccessSelector.getQuerySpec(AccessSelector.java:346)
.
Also if we stop a MS process, it is unable to come up with error
NullPointerException
ACCEPTED SOLUTION

Accepted Solutions

Actions.xml files are fine. A clean restart of the application worked and application is now up and running.

However we still dont know the RCA.
Any idea what would have caused this temporary issue?

View solution in original post

6 REPLIES 6
HelesicPetr
22-Sapphire I
(To:paj1)

Hi @paj1

 

can you provide full error from log? with the rows around?  

 

If you search for the error on the PTC knowlage base you could have found following article with your error

 

CS381889 - Post upgrade unable to start the Windchill PDMLink 12.1

 

PetrH

Hi @HelesicPetr ,

 

Error is MS logs is.

java.lang.NullPointerException
at wt.access.AccessSelector.getQuerySpec(AccessSelector.java:346)
at wt.access.AccessSelector.getQuerySpec(AccessSelector.java:312)
at wt.access.StandardAccessControlManager.getPolicyAcl(StandardAccessControlManager.java:2342)
at wt.access.StandardAccessControlManager.getPolicyAcl(StandardAccessControlManager.java:4270)
at wt.access.StandardAccessControlManager._hasAccess(StandardAccessControlManager.java:10719)
at wt.access.StandardAccessControlManager.checkAccess(StandardAccessControlManager.java:7980)
at wt.access.StandardAccessControlManager.checkAccess(StandardAccessControlManager.java:416)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


Also MS startup fails with error: 
[NmActionService.initXml] com.ptc.netmarkets.util.misc.StandardNmActionService.xmlInit - Started InitializeXML With stax Parsing
FATAL [main] wt.method.server - MethodServerMain abort
wt.util.WTRuntimeException: java.lang.NullPointerException; nested exception is:
java.lang.NullPointerException
at wt.access.AccessSelector.getQuerySpec(AccessSelector.java:346)
at wt.access.AccessSelector.getQuerySpec(AccessSelector.java:312)
at wt.access.StandardAccessControlManager.getPolicyAcl(StandardAccessControlManager.java:2342)
at wt.access.StandardAccessControlManager.getPolicyAcl(StandardAccessControlManager.java:4270)
at wt.access.StandardAccessControlManager._hasAccess(StandardAccessControlManager.java:10719)
at wt.access.StandardAccessControlManager.hasAccess(StandardAccessControlManager.java:536)
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

HelesicPetr
22-Sapphire I
(To:paj1)

Hi @paj1 

Check if you have any customization actions in customAction.xml or customActionModel.xml

 

It seems that the the "com.ptc.netmarkets.util.misc.StandardNmActionService.xml" can not read some xml definition for Actions. There could be some xml parsing trouble, 

 

Try to check the xmls if they are correct. 

 

PetrH

Actions.xml files are fine. A clean restart of the application worked and application is now up and running.

However we still dont know the RCA.
Any idea what would have caused this temporary issue?

HelesicPetr
22-Sapphire I
(To:paj1)

@paj1 

Sometimes it happens. There can be some trouble with memory or temporary issue 

If the restart solve the issue, there is no way how to get that info if it does not happen again. 

PetrH

Thanks.

Announcements


Top Tags