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

wt.util.WTException: Constructor "{0}" not public.

Newbie

wt.util.WTException: Constructor "{0}" not public.

Any Idea on below error, It is coming after we upgrade to 10.2 M010 from 10.0 M040

at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

2014-07-14 13:57:26,576 ERROR [ajp-bio-8011-exec-6] wt.adapter.exception - WTAdapterImpl

com.ptc.core.command.common.CommandException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:

Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.

Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:

Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.

at wt.fc.PagingSessionHelper.getTotalCount(PagingSessionHelper.java:319)

at wt.pom.PagingHelper.executeFetch(PagingHelper.java:885)

at wt.pom.PagingHelper.query(PagingHelper.java:405)

at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1166)

at wt.fc.StandardPersistenceManager._query(StandardPersistenceManager.java:1981)

at wt.fc.StandardPersistenceManager.query(StandardPersistenceManager.java:1948)

at com.ptc.core.query.server.impl.BasicQueryService.execute(BasicQueryService.java:2025)

at com.ptc.core.query.server.impl.BasicQueryService.execute(BasicQueryService.java:1967)

at com.ptc.core.query.server.impl.BasicQueryService.query(BasicQueryService.java:434)

at com.ptc.core.query.command.server.QueryCommandDelegate.doExecution(QueryCommandDelegate.java:159)

at com.ptc.core.command.common.delegate.AbstractCommandDelegate.execute(AbstractCommandDelegate.java:216)

at com.ptc.core.command.common.CommandDelegateForwarder._remoteExecute(CommandDelegateForwarder.java:292)

at com.ptc.core.command.common.CommandDelegateForwarder.remoteExecute(CommandDelegateForwarder.java:240)

at com.ptc.core.command.common.CommandDelegateForwarder.execute(CommandDelegateForwarder.java:202)

at com.ptc.core.command.common.bean.AbstractServerCommand.execute(AbstractServerCommand.java:202)

at com.ptc.core.adapter.server.impl.AbstractWebject.getResultContainer(AbstractWebject.java:1791)

at com.ptc.core.adapter.server.impl.AbstractWebject.getTypeInstances(AbstractWebject.java:1472)

at com.ptc.core.adapter.server.impl.QueryObjectsWebjectDelegate.invoke(QueryObjectsWebjectDelegate.java:167)

at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)

at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:772)

at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:479)

at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:198)

at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:262)

at com.infoengine.compiledTasks.file.D$3a$5cptc$5cWindchill_10$2e2$5cWindchill$5ctasks.com.abb.infoengine.getlatestdocumentbynumber$2exml.invoke(getlatestdocumentbynumber$2exml.java:113)

at com.infoengine.SAK.Task.invoke(Task.java:1806)

at com.infoengine.SAK.Task.invokeAndCheckExternalAccess(Task.java:1703)

at wt.method.WTAdapterImpl.processTask(WTAdapterImpl.java:711)

at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:481)

at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:198)

at com.infoengine.IeServlet$RequestDispatcher.run(IeServlet.java:464)

at com.infoengine.IeServlet.doGet(IeServlet.java:247)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at de.client.wc.client.util.MethodServerFeedback.doFilter(MethodServerFeedback.java:166)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at com.ptc.jws.servlet.filter.WsdlServletFilter.doFilter(WsdlServletFilter.java:61)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:98)

at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:242)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:327)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1639)

at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:56)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)

at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:77)

2014-07-14 13:57:26,576 ERROR [ajp-bio-8011-exec-6] com.infoengine.util.IeContextMonitor.contexts - 2014-07-14 11:57:26.545 +0000, 2tvqzj;hxlq5rk6;8820;42ebzl;5353, 115, ajp-bio-8011-exec-6, 2tvqzj;hxlq5rk6;8820;42ebzl;5351, US_SHOPFLOOR_VIEWINGTOOL, 10.92.65.27, /com/a/info/getLatest.xml, 0.028489735, com.infoengine.util.IEException

2014-07-14 13:57:27,169 ERROR [ajp-bio-8011-exec-1] wt.adapter.exception - WTAdapterImpl

com.ptc.core.command.common.CommandException: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:

Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.

Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:

Nested exception is: (wt.fc.fcResource/28) wt.util.WTException: Constructor "{0}" not public.

at wt.fc.PagingSessionHelper.getTotalCount(PagingSessionHelper.java:319)

at wt.pom.PagingHelper.executeFetch(PagingHelper.java:885)

Tags (4)
3 REPLIES 3

Re: wt.util.WTException: Constructor "{0}" not public.

Hi Manoj,

Could you provide some more details about when this Error occurs?

Is there any customizations that you are trying to carry over?

This would be a good issue to open a call with Technical Support, if you can.

Thanks,

Jarrett

Re: wt.util.WTException: Constructor "{0}" not public.

Try to clear task directory. You should delete directory like: [WNC root dir]/Windchill/tasks/codebase/com

Re: wt.util.WTException: Constructor "{0}" not public.

To Clear your I*E Tasks here are the steps:

1. Go to <Windchill>\Tomcat\Work

2. Take a backup of catalina folder and delete it

3. Navigate to <Windchill>\tasks\codebase\com\infoengine\compiledTasks

4. Take a backup of compiledTasks folder and delete it

5. Restart Tomcat Server

6. Restart Windchill Method Server

Thanks,

Jarrett