07-31-2018 06:49 PM
We're struggle with freezing problems of 4-tier client at our customer site. The client freezes with (Swing UI / SWT UI Thread is not responding on 4-tier RAC). There is a open IR for that issue, although Siemens like to close the IR, because it is no software problem. We still don't know why that's happen. Also, we're not able to reproduce the issue directly. The client freeze during work, but we don't know when.
Hence, GTAC advice us to enable server and client side debug logging to upload the logs for further investigation. When activate RAC logging with aligned TcLogger.properties, most of our custom rendering summary stylesheets of item revisions didn't get loaded anymore. I found java.lang.NullPointerException in RAC debug log, but nothing in server debug log or server journal debug log.
RAC debug log to big to upload, but some fragments may explains the problem.
I need help from system experts to figure out the stylesheet problem.
DEBUG 2018-07-31 21:58:10,003 - name=C4_RecordRevisionSvAI displayName=C4_RecordRevisionSvAI uid=TYPE::C4_RecordRevisionSvAI::C4_RecordRevisionSvAI::C4_CustItemRevisionSvAI typeUid=TYPE::ImanType::ImanType::POM_object DEBUG 2018-07-31 21:58:10,010 - TCProperty::getLogicalValue(), value is null, but returning false DEBUG 2018-07-31 21:58:10,014 - TCProperty::getLogicalValue(), value is null, but returning false DEBUG 2018-07-31 21:58:10,019 - Transaction Initiated: hostname.14371 - 2018-07-31 09:58:10 - Internal-Core-2017-05-PresentationManagement:getStylesheetPerPage DEBUG 2018-07-31 21:58:10,104 - TCProperty::getLogicalValue(), value is null, but returning false ERROR 2018-07-31 21:58:10,218 - java.lang.NullPointerException at com.teamcenter.rac.kernel.TCTextService.getTextValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.xmlstylesheet.Page.initialize(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.XMLStylesheetHelper.getPageList(Unknown Source) at com.teamcenter.rac.viewer.provider.StylesheetCombinedContentProvider.getUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.loadUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.access$1(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer$IC_UIRenderOperation.executeOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source) at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source) at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) ERROR 2018-07-31 21:58:10,218 - java.lang.NullPointerException at com.teamcenter.rac.kernel.TCTextService.getTextValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.xmlstylesheet.Page.initialize(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.XMLStylesheetHelper.getPageList(Unknown Source) at com.teamcenter.rac.viewer.provider.StylesheetCombinedContentProvider.getUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.loadUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.access$1(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer$IC_UIRenderOperation.executeOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source) at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source) at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) DEBUG 2018-07-31 21:58:10,219 - TCProperty::getLogicalValue(), value is null, but returning false DEBUG 2018-07-31 21:58:10,355 - TCProperty::getLogicalValue(), value is null, but returning false DEBUG 2018-07-31 21:58:09,998 - hostname.08265: CachedClientMetaModel.loadTypesFromCache ( C4_RecordRevisionSvAI ) DEBUG 2018-07-31 21:58:10,003 - hostname.08265: CachedClientMetaModel.ObjectFactory.constructPropertyDescription( C4_RecordRevisionSvAI: , currentDeepCopyData, newTargetObject, srcObjectTag, fnd0ContextProvider, fnd0CheckoutOnSaveAs, object_name, object_desc, fnd0AllowCopyAsRevision, performDeepCopy, fnd0DisallowCopyBVR, item_revision_id, sequence_limit, sequence_id, item_master_tag ) DEBUG 2018-07-31 21:58:10,003 - hostname.08265: CachedClientMetaModel.ObjectFactory.constructType( C4_RecordRevisionSvAI ) INFO 2018-07-31 21:58:10,003 - hostname.08265: CachedClientMetaModel.loadTypes (Time: 6ms, Types Retrieved: C4_RecordRevisionSvAI) DEBUG 2018-07-31 21:58:10,019 - hostname.65155.01.username.00087: Internal-Core-2017-05-PresentationManagement.getStylesheetPerPage <?xml version="1.0" encoding="UTF-8"?> <ns3:GetStylesheetPerPageInput xmlns:ns2="http://teamcenter.com/Schemas/Soa/2006-03/Base" xmlns:ns3="http://teamcenter.com/Schemas/Internal/Core/2017-05/PresentationManagement" xmlns="http://teamcenter.com/Schemas/Internal/Core/2013-05/PresentationManagement"><ns3:pref returnThumbnailTickets="true" stylesheetFormat="XRTOnly" processEntireXRT="false"/><ns3:inputData clientId="" boName="" stylesheetType="Summary" targetPage="tc_xrt_Overview"><ns3:boReference uid="xgBAAEmv4rzq6A"/></ns3:inputData></ns3:GetStylesheetPerPageInput>
DEBUG 2018-07-31 21:57:57,605 - hostname.53246.01.username.00053: ModelManagerImpl.ObjectFactory.addProperty ( GTGAAI7k4rzq6A - c4_AENDERUNGSBEZEICHNUNG, c4_AENDERUNGSNUMMER, c4_ARTIKELGROESSE, c4_ERSTELLT_DATUM, c4_ERSTELLT_NAME, c4_ERSTELLT_REVISION_NAME, c4_FREIGEGEBEN_DATUM, c4_FREIGEGEBEN_NAME, c4_SUCHBEGRIFF_2, c4_GEPRUEFT_NAME_1, c4_MARKENNAME, c4_REF, c4_SUCHBEGRIFF_1, c4_NETTOGEWICHT, c4_TEILEART, c4_UDI, c4_WERKSTOFF, c4_GEPRUEFT_DATUM_1, c4_SELEKTION, object_name, item_revision_id, object_desc, checked_out_user, date_released, effectivity_text, item_id, last_mod_user, fnd0DSState, checked_out, Fnd0DigitalSignatureRel, creation_date, fnd0CurrentChangeContext, has_variant_module, last_mod_date, fnd0IsCheckoutable, object_string, is_vi, lsd, items_tag, object_type, owning_group, owning_user, owning_site, release_status_list, process_stage_list ) DEBUG 2018-07-31 21:57:57,607 - hostname.53246.01.username.00053: ModelManagerImpl.ObjectFactory.addProperty ( gnPAAAqT4rzq6A - person, home_folder, default_group, object_string, user_name, user_id, userinbox, newstuff_folder, user_projects ) DEBUG 2018-07-31 21:57:57,607 - hostname.53246.01.username.00053: ModelManagerImpl.ObjectFactory.constructServiceData( ) ERROR 2018-07-31 21:57:57,615 - java.lang.NullPointerException at com.teamcenter.rac.kernel.TCTextService.getTextValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.xmlstylesheet.Page.initialize(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.XMLStylesheetHelper.getPageList(Unknown Source) at com.teamcenter.rac.viewer.provider.StylesheetCombinedContentProvider.getUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.loadUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.access$1(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer$IC_UIRenderOperation.executeOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source) at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source) at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) DEBUG 2018-07-31 21:57:57,616 - TCProperty::getLogicalValue(), value is null, but returning false ERROR 2018-07-31 21:57:57,616 - java.lang.NullPointerException at com.teamcenter.rac.kernel.TCTextService.getTextValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.common.TCUtilities.getXRTValue(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.xmlstylesheet.Page.initialize(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.XMLStylesheetHelper.getPageList(Unknown Source) at com.teamcenter.rac.viewer.provider.StylesheetCombinedContentProvider.getUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.loadUISchema(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer.access$1(Unknown Source) at com.teamcenter.rac.viewer.stylesheet.viewer.StylesheetRenderingViewer$IC_UIRenderOperation.executeOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.runEx(Unknown Source) at com.teamcenter.rac.kernel.services.impl.TCOperationService.performOperation(Unknown Source) at com.teamcenter.rac.aif.kernel.AbstractAIFSession.performOperation(Unknown Source) at com.teamcenter.rac.aif.AbstractAIFOperation.run(Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) DEBUG 2018-07-31 21:57:57,716 - hostname.39059.01.username.00054: Internal-Core-2011-06-ICT.invokeICTMethod( ICCT, getProperties ) <?xml version="1.0" encoding="UTF-8"?> <InvokeICTMethodInput className="ICCT" methodName="getProperties" xmlns:ns2="http://teamcenter.com/Schemas/Soa/2006-03/Base" xmlns="http://teamcenter.com/Schemas/Internal/Core/2011-06/ICT"><args val="C4_CustItemRevision"/><args val="TYPE::C4_CADItemRevision::C4_CADItemRevision::C4_CustItemRevision"/><args val="GTGAAI7k4rzq6A"/><args val=""><array><entries val="process_stage"/><entries val="publication_sites"/><entries val="ics_classified"/></array></args></InvokeICTMethodInput> DEBUG 2018-07-31 21:57:57,717 - Transaction Initiated: hostname.14371 - 2018-07-31 09:57:57 - Internal-Core-2011-06-ICT:invokeICTMethod( ICCT.getProperties ) DEBUG 2018-07-31 21:57:57,717 - TCProperty::getLogicalValue(), value is null, but returning false DEBUG 2018-07-31 21:57:57,729 - hostname.39059.01.username.00054
07-31-2018 07:21 PM
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
08-01-2018 11:56 AM
Unfortunately deleting and regenerating both cache did not the trick.
Also tried to deactivate the Siemens TCPB Plug-In in tc_profilevars. Furthermore tried to comment the com.teamcenter.rac.viewer.stylesheet.StylesheetRenderingService in TcLogger.properties. Both with no effect.
I'm going further to reduce the logging parameters until the stylsheets gets loading, although it is may not sensible.
What else could prevent the stylesheet from loading in debug mode?
Two further questions:
1. Should I pay attention on the folowing rows in debug log, or is it just debug information and no error?
DEBUG 2018-07-31 15:57:57,163 - TCProperty::getLogicalValue(), value is null, but returning false
2. What does this error line mean? I couldn't find anything in solution center
ERROR 2018-07-31 15:57:07,989 - org.eclipse.core.runtime - org.eclipse.ui - 4 - Unable to create menu item "com.teamcenter.rac.pse.pca.OpenSVRDialog", command "com.teamcenter.rac.pse.pca.OpenSVRDialog" not defined
08-01-2018 12:41 PM
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
08-01-2018 05:36 PM - edited 08-01-2018 06:29 PM
Good point Randy! I forgot to check the transient volume folder - it isn't empty... looks like something goes wrong.
I checked the settings. The Transient_Volume_Installation_Location is set to %COMPUTERNAME% in TC_DATA\tc_profilevars.bat seems to be correct. Also checked the FMS master config. Transient volume_id and root path looks good as well. Attached the Prefs of *transient* and the backup.xml.
What could be the reason that the transient files are not cleared?
Once the setting are OK, would you just clear the transient volume and try again?
08-01-2018 06:02 PM
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4
08-01-2018 07:00 PM
Thx Randy! I've cleared the transient volume and removed the unix Transient_Volume_RootDir path from the Pref. But all this doesn't solved my issue.
Tomorrow I'm going to review the logs again...