Article - CS415984

Error "Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null" was reported in Windchil PDMLink

Modified: 18-Jul-2025   


Applies To

  • Windchill PDMLink 13.0
  • Windchill QMS 12.1

Description

  • Error was thrown when view the detail page of any Groups.
  • Error was reported during Product creation.
 wt.util.WTException: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null
 Nested exception is: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null
     at wt.fc.dynamicenum.DynamicEnumerationHelper.getEnumeratedType(DynamicEnumerationHelper.java:708)
     at wt.fc.dynamicenum.DynamicEnumerationHelper.getEnumeratedType(DynamicEnumerationHelper.java:763)
-     at wt.org.RolesHelper.getRoleForName(RolesHelper.java:221)
     at wt.org.RolesHelper.getRolePrincipal(RolesHelper.java:137)
     at wt.org.RolesHelper.findRolePrincipalsRepresentingGroupInContext(RolesHelper.java:352)
     at wt.org.StandardOrganizationServicesManager.findRolePrincipalsRepresentingGroupInContext(StandardOrganizationServicesManager.java:11573)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.base/java.lang.reflect.Method.invoke(Method.java:568)
     at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
     at jdk.proxy2/jdk.proxy2.$Proxy82.findRolePrincipalsRepresentingGroupInContext(Unknown Source)
     at wt.access.StandardAccessControlManager$MultiEventListener.notifyVetoableMultiObjectEvent(StandardAccessControlManager.java:6171)
     at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306)
     at wt.events.StandardKeyedEventBranch.dispatchVetoableMultiObjectEvent(StandardKeyedEventBranch.java:268)
     at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:306)
     at wt.events.StandardKeyedEventDispatcher.dispatchVetoableMultiObjectEvent(StandardKeyedEventDispatcher.java:244)
     at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:413)
     at wt.services.StandardManagerService.dispatchVetoableMultiObjectEvent(StandardManagerService.java:315)
     at wt.inf.team.StandardContainerTeamService.dispatchVetoableMultiObjectEvent(StandardContainerTeamService.java:4506)
     at wt.inf.team.StandardContainerTeamService.createAndOrGetGroup(StandardContainerTeamService.java:7805)
     at wt.inf.team.StandardContainerTeamService.addMembers(StandardContainerTeamService.java:831)
     at wt.inf.team.StandardContainerTeamService.addMember(StandardContainerTeamService.java:782)
     at wt.inf.team.StandardContainerTeamService.addMember(StandardContainerTeamService.java:771)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  • Following error reported with Quality library context creation
ERROR [ajp-nio-127.0.0.1-8010-exec-5] com.ptc.jca.navigation sverma - wt.util.WTRuntimeException: wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException; nested exception is:
	wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException wt.util.WTRuntimeException: wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException; nested exception is:
	wt.util.WTException: Can't invoke public static com.ptc.core.ui.validation.UIValidationResultSet com.ptc.netmarkets.roleAccess.NmRoleAccessHelper.getDisplayStatusSet(wt.org.WTUser,wt.inf.container.WTContainer,java.util.Collection) throws wt.util.WTException
Nested exception is: java.lang.reflect.InvocationTargetException
	at jdk.internal.reflect.GeneratedMethodAccessor351.invoke(Unknown Source)
	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.windchill.classproxy.ClassProxy.invokeMethod(ClassProxy.java:80)
	at com.ptc.windchill.classproxy.ClassProxy.invokeMethod(ClassProxy.java:71)
	at com.ptc.netmarkets.util.NmUtilClassProxy.getDisplayStatusSet(NmUtilClassProxy.java:137)
  • Failed to load Windchill\loadFiles\LicenseProfiles.xml file when running upgrademanager with error below 
    ERROR [RMI TCP Connection(20)-###.##.###.##] wt.ixb.publicforapps.Importer xxx - Import failed for batch. actionName=PickExistingObject, tag=OrganizationConfig, docs=[null]
    ERROR [RMI TCP Connection(20)-###.##.###.##] wt.method.MethodContextMonitor.contexts.rmi xxxx - com.ptc.windchill.upgrade.updates.directives.LightWeightServiceDirective$Server, invokeLightWeightServiceApi, , 0, 1747, 2.556132477, 2379, 0.842964998, 2.953125, 6.2327243 wt.util.WTException: java.lang.reflect.InvocationTargetException
    Nested exception is: java.lang.reflect.InvocationTargetException
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    	...
    Caused by: wt.util.WTException: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
    Nested exception is: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null
    Nested exception is: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
    Nested exception is: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null
    	at wt.load.StandardLoadService.doLoadFileSet(StandardLoadService.java:871)
    	... 30 more
    Caused by: (wt.ixb.publicforhandlers.ixbResource/8) wt.ixb.publicforhandlers.LogHelper$IxbException: Problem in export/import process.
    Nested exception is: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "<local8>" is null
    	at wt.fc.dynamicenum.DynamicEnumerationHelper.getEnumeratedType(DynamicEnumerationHelper.java:708)
    	at wt.fc.dynamicenum.DynamicEnumerationHelper.getEnumeratedType(DynamicEnumerationHelper.java:763)
    	at wt.inf.container.StandardWTContainerService.getProfileGroups(StandardWTContainerService.java:2069)
    	at wt.inf.container.StandardWTContainerService.findProfileGroup(StandardWTContainerService.java:3544)
    	...
This is a printer-friendly version of Article 415984 and may be out of date. For the latest version click CS415984