Article - CS357530

Invoking "wt.change2.ChangeHelper2.service.saveFormalizedBy(theECR, thePR)" error if  creating thePR with moduled Problem Report object "@GenAsPersistable(superClass=WTChangeIssue.class,xxxx)" in Windchill PDMLink

Modified: 25-Nov-2021   


Applies To

  • Windchill PDMLink 11.0

Description

  • Invoking wt.change2.ChangeHelper2.service.saveFormalizedBy(theECR, thePR) error if  creating thePR with moduled Problem Report object @GenAsPersistable(superClass=WTChangeIssue.class,xxxx)
  • Method Server logs:
ERROR [RMI TCP Connection(4)-10.113.128.137] wt.method.MethodContextMonitor.contexts.rmi wcadmin - 2021-11-19 12:09:27.446 +0800, -2ayrgtc9q;kw5v3w6w;21614;7ycw6z;3, -, -, -, wcadmin, 10.113.128.137, ext.rdc.ipd.change.util.TestECRLink, setLink, , 0, 0, 2.82354E-4, 0, 0.0, 0.032531083, 0.036628386
wt.services.applicationcontext.UnableToCreateServiceException: Unable to create service named "wt.change2.ConcreteAssociationDelegate" with requestor "wt.change2.WTChangeRequest2:<ida2a2>" and selector "xxxx.change.model.xxxx". Nested exception is:
	java.lang.InstantiationException
	at wt.services.applicationcontext.UnableToCreateServiceException.<init>(UnableToCreateServiceException.java:99)
	at wt.services.applicationcontext.ACServicesAdapter.getService(ACServicesAdapter.java:200)
	at wt.change2.Change2DelegateFactory.getConcreteAssociationDelegate(Change2DelegateFactory.java:304)
	at wt.change2.StandardChangeService2.saveChangeItemLink(StandardChangeService2.java:6961)
	at wt.change2.StandardChangeService2.saveFormalizedBy(StandardChangeService2.java:2175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
	at com.sun.proxy.$Proxy200.saveFormalizedBy(Unknown Source)
	at xxxx.change.util.xxxx.setLink(xxxx.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165)
	at wt.method.MethodResult.writeExternal(MethodResult.java:226)
	at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1456)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1430)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
	at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:290)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:367)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
 
This is a printer-friendly version of Article 357530 and may be out of date. For the latest version click CS357530