java.util.NoSuchException alert is showing Please let me if any solution is there.
Solved! Go to Solution.
Can you post your OIR for WTPart in this area? I think its having an issue processing some of those rules.
Have you checked the Methodserver log for detailed error message? if yes please share the error message.
Also is this error with OOTB or customized Windchill instance?
Thanks for the reply @Devidas(Devi) Yes its with OOTB or customized Windchill instance
Method server -
ERROR : com.ptc.jca.mvc.controllers.ActionController wcadmin - java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.ptc.netmarkets.util.beans.NmCommandBean.execute(NmCommandBean.java:2247)
at com.ptc.jca.mvc.controllers.ActionController.executeWizardAction(ActionController.java:222)
at com.ptc.jca.mvc.controllers.ActionController.processRequest(ActionController.java:125)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.licenseusage.licensing.LicenseFilter.doFilter(LicenseFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.ptc.core.ui.validation.URLValidationFilter.doFilter(URLValidationFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.httpgw.filter.WTContextBeanFilter.doWithWtContextBeanHandler(WTContextBeanFilter.java:104)
at wt.httpgw.filter.WTContextBeanFilter.doFilter(WTContextBeanFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.servlet.CompressionFilter.doFilter(CompressionFilter.java:301)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.servlet.RequestInterrupter.doFilter(RequestInterrupter.java:335)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at wt.servlet.ServletRequestMonitor.doFilter(ServletRequestMonitor.java:1677)
at wt.servlet.ServletRequestMonitorFilter.doFilter(ServletRequestMonitorFilter.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:364)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:526)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: wt.rule.RuleException: java.util.NoSuchElementException
Nested exception is: java.util.NoSuchElementException
at com.ptc.core.rule.server.delegate.init.TypeBasedInitRuleApplier.applyRule(TypeBasedInitRuleApplier.java:348)
at com.ptc.core.rule.server.delegate.init.TypeBasedInitRuleApplier.applyRule(TypeBasedInitRuleApplier.java:212)
at wt.rule.impl.StandardRuleService.applyRule(StandardRuleService.java:382)
at wt.rule.impl.StandardRuleService$1.notifyVetoableMultiObjectEvent(StandardRuleService.java:985)
at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306)
at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:255)
at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:304)
at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:228)
at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:410)
at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:303)
at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2972)
at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2952)
at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1429)
at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:534)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at com.sun.proxy.$Proxy28.store(Unknown Source)
at com.ptc.core.components.forms.CreateObjectFormProcessor.doOperation(CreateObjectFormProcessor.java:98)
at com.ptc.windchill.enterprise.part.forms.CreatePartFormProcessor.doOperation(CreatePartFormProcessor.java:280)
at com.ptc.windchill.enterprise.part.forms.CreatePartAndCADDocFormProcessor.doOperation(CreatePartAndCADDocFormProcessor.java:120)
at com.ptc.core.components.forms.DefaultFormProcessorController.executeDoOperation(DefaultFormProcessorController.java:538)
at com.ptc.core.components.forms.DefaultFormProcessorController.performExecuteDoOperationAndPostProcess(DefaultFormProcessorController.java:342)
at com.ptc.core.components.forms.DefaultFormProcessorController.execute(DefaultFormProcessorController.java:263)
at com.ptc.core.components.forms.FormDispatcher.callControllerExecute(FormDispatcher.java:146)
at com.ptc.core.components.forms.FormDispatcher.callFormProcessorController(FormDispatcher.java:116)
at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:93)
... 62 more
Caused by: java.util.NoSuchElementException
at java.base/java.util.StringTokenizer.nextToken(StringTokenizer.java:349)
at wt.enterprise.EnterpriseHelper.getNumber(EnterpriseHelper.java:196)
at com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator.calculate(NumberGenerator.java:44)
at wt.rule.algorithm.RuleAlgorithmHelper.calculate(RuleAlgorithmHelper.java:116)
at wt.rule.algorithm.RuleAlgorithmHelper.calculate(RuleAlgorithmHelper.java:74)
at com.ptc.core.rule.server.delegate.init.Utils.getValue(Utils.java:1160)
at com.ptc.core.rule.server.delegate.init.Utils.applyTo(Utils.java:693)
at com.ptc.core.rule.server.delegate.init.Utils.applyToWithNoLogging(Utils.java:465)
at com.ptc.core.rule.server.delegate.init.Utils.applyTo(Utils.java:285)
at com.ptc.core.rule.server.delegate.init.Utils.applyTo(Utils.java:497)
at com.ptc.core.rule.server.delegate.init.TypeBasedInitRuleApplier.applyRule(TypeBasedInitRuleApplier.java:332)
... 90 more
Can you post your OIR for WTPart in this area? I think its having an issue processing some of those rules.
Hey thanks @avillanueva you said about OIR.
I was wrong in OIR that's why it was occurred.
im getting the same error, what you did on the OIR to resolve the Issue?
He never posting the OIR but was able to find the error? Do you want to post yours?