Article - CS173772
Many error messages "java.lang.IllegalStateException: getOutputStream() has already been called for this response" in MethodServer logs in Windchill PDMLink
Modified: 12-Sep-2017
Applies To
- Windchill PDMLink 10.0 M040 to 11.1 M020-CPS06
Description
- User clicks on the Details page of an object and then clicks on Changes>Affected by Change Notices to enter its Change Notice and then click on Process tab.
- Updating Object with attachment failed with error wt.fc.collections.CollectionContainsStaleException
- Many error messages thrown in MethodServer logs like:
- java.lang.IllegalStateException: getOutputStream() has already been called for this response
- ERROR [ajp-bio-8011-exec-120] org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Windchill].[MVCDispatcher] - Servlet.service() for servlet [MVCDispatcher] in context with path [/Windchill] threw exception
wt.util.WTRuntimeException: wt.fc.collections.CollectionContainsStaleException:
The object was stale: "Recent Update - SP010023I00, S H-CONN ACES 50505-0104N-002 10P H1.5, A.3 (Design)"; nested exception is:
wt.fc.collections.CollectionContainsStaleException:
The object was stale: "Recent Update - SP010023I00, S H-CONN ACES 50505-0104N-002 10P H1.5, A.3 (Design)"
at wt.fc.collections.RefreshHelper$Refresh.refresh(RefreshHelper.java:495)
at wt.fc.collections.RefreshHelper$LockRefresh.refresh(RefreshHelper.java:1008)
at wt.fc.collections.RefreshHelper.refresh(RefreshHelper.java:112)
at wt.fc.collections.StandardCollectionsManager.refresh(StandardCollectionsManager.java:80)
at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at com.sun.proxy.$Proxy18.refresh(Unknown Source)
at wt.fc.StandardPersistenceManager.validateCollection(StandardPersistenceManager.java:3118)
at wt.fc.StandardPersistenceManager.update(StandardPersistenceManager.java:1699)
at wt.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:774)
at wt.fc.StandardPersistenceManager.modify(StandardPersistenceManager.java:1025)
at wt.fc.StandardPersistenceManager.save(StandardPersistenceManager.java:950)
at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
at com.sun.proxy.$Proxy10.save(Unknown Source)
at wt.recent.StandardRecentlyVisitedService.addMCToDBList(StandardRecentlyVisitedService.java:1662)
at wt.recent.StandardRecentlyVisitedService.addToRecentDBLists(StandardRecentlyVisitedService.java:1527)
This is a printer-friendly version of Article 173772 and may be out of date. For the latest version click CS173772