Skip to main content
3-Newcomer
May 15, 2024
Question

Upgrade Manager Failed at Membershiplink entries deletion for License Group

  • May 15, 2024
  • 2 replies
  • 1896 views
Error in method server code:
java.lang.Exception: Exception of type 'java.lang.reflect.InvocationTargetException' was generated on the server with message 'null'
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165)
at wt.method.MethodResult.writeExternal(MethodResult.java:226)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1447)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1421)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369)
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)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:829)
Exception:
com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Membershiplink entries deletion for License Group (#156660745-1580882389801-788625466-1-0-0-127)
Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.org.UpdateMembershiplinkForLicenseGroups.deleteMembershipLink failed. See nested exception for details
Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException

2 replies

avillanueva
23-Emerald I
23-Emerald I
May 15, 2024

https://www.ptc.com/en/support/article/CS409940?source=search

You didn't say what version but here is a few more articles from older versions:

https://www.ptc.com/en/support/article/CS327186?source=search

https://www.ptc.com/en/support/article/CS374938?source=search

Let me know which one seems like the cause.

3-Newcomer
May 15, 2024

I am trying to upgrade to 12.1.2. The error I am getting is different than these articles, I have verified these fixes.

12-Amethyst
September 3, 2024

I also have a similiar issue. did you manage to find a solution . Upgrading from 11.2 to 12.1

 ERROR [UpgradeEventFirer] com.ptc.windchill.upgrade.logging.UpgradeFrameworkLogger - Message: Error in method server code:
java.lang.Exception: Exception of type 'java.lang.reflect.InvocationTargetException' was generated on the server with message 'null'
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at com.ptc.windchill.upgrade.updates.directives.MigratorMethod.invoke(MigratorMethod.java:131)
at com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server.invokeLightWeightServiceApi(LightWeightServiceDirective.java:635)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:566)
at wt.method.MethodResultWriter.writeExternal(MethodResultWriter.java:165)
at wt.method.MethodResult.writeExternal(MethodResult.java:226)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1447)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1421)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:293)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:369)
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)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.lang.Thread.run(Thread.java:829)
 
2024-09-02T20:04:49,253 FATAL [main] com.ptc.windchill.upgrade.updates.UpdateRunner - com.ptc.windchill.upgrade.updates.UpdateExecutionException: Error executing IncrementalUpdate Membershiplink entries deletion for License Group (#156660745-1580882389801-788625466-1-0-0-127)
Nested exception is: (com.ptc.windchill.upgrade.updates.directives.directivesResource/39) com.ptc.windchill.upgrade.updates.DirectiveExecutionException: Method server code wt.org.UpdateMembershiplinkForLicenseGroups.deleteMembershipLink failed.  See nested exception for details
Nested exception is: wt.util.WTException: java.lang.reflect.InvocationTargetException
Nested exception is: java.lang.reflect.InvocationTargetException
Community Manager
May 21, 2024

Hi @SK_10990210,


I wanted to follow up with you on your post to see if you received a solution for this topic.
If so, please mark the appropriate reply as the Accepted Solution or if you managed to resolve this by yourselves, please document the solution in this topic for the benefit of other members who may have the same question. 

Of course, if you have more to share on your issue, please let the Community know so that we can continue to support.
 

Thanks,
Community Moderation Team.