技术文章 - CS327843

站点 > 索引管理或批量索引工具始终显示一些对象在 Windchill PDMLink 中剩余

已修改: 22-Apr-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill PDMLink 11.0 to 13.0

说明

  • 如何知道索引失败的原因?
  • wt.index.BulkIndexTool > 7. 检查批量索引进度站点> 索引管理显示一些对象剩余
  • 再次启动批量索引过程无济于事
  • 后台方法服务器日志显示错误
Nested exception is: (wt.pom.pomResource/0) wt.pom.PersistenceException: A persistence error occurred. System message follows:
Nested exception is: wt.pom.DatastoreException: A SQL error has occurred. Database system message follows:
Nested exception is: java.lang.StringIndexOutOfBoundsException: begin 0, end 7, length 6
        at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
        at java.base/java.lang.String.substring(String.java:1874)
        at com.ptc.core.richtext.HTMLText.convertAllColorValuesToRGB(HTMLText.java:428)
        at com.ptc.core.richtext.HTMLText.setFormattedText(HTMLText.java:357)
        at com.ptc.core.richtext.HTMLText.setFormattedText(HTMLText.java:328)
        at com.ptc.core.richtext.HTMLText.initialize(HTMLText.java:150)
        at com.ptc.core.richtext.HTMLText.newHTMLText(HTMLText.java:134)
        at com.ptc.core.lwc.common.datatypes.RichTextDataTypeHandler.getValue(RichTextDataTypeHandler.java:70)
        at com.ptc.core.lwc.common.view.AttributeDefinitionReadView.compose(AttributeDefinitionReadView.java:1680)
        at com.ptc.core.query.server.impl.NonStandardDatatypeItemBuilder.build(NonStandardDatatypeItemBuilder.java:140)
        at wt.pds.AttributeACProcessor.processResults(AttributeACProcessor.java:212)
        at wt.pds.AttributeACProcessor.processResults(AttributeACProcessor.java:83)
        at wt.pds.SequentialResultBuilder.build(SequentialResultBuilder.java:453)
        at wt.pds.BasicResultCursor.next(BasicResultCursor.java:93)
        at wt.pds.SQLDatabasePds.query(SQLDatabasePds.java:880)
        at wt.pom.PersistentObjectManager.query(PersistentObjectManager.java:1077)
        at

或者
ERROR [BulkIndexQueue2.PollingThread] wt.index.IndexingServiceImpl Administrator - processIndexRequest : IndexingException 
java.lang.NullPointerException
    at wt.index.builder.SumaIndexObjectBuilder.getContextAndStatusString(SumaIndexObjectBuilder.java:78)
    at wt.index.builder.SumaIndexObjectBuilder.lambda$getIndexingObject$0(SumaIndexObjectBuilder.java:55)
    at wt.index.builder.SumaIndexObjectBuilder.dt_access$249(SumaIndexObjectBuilder.java)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1699)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:545)
    at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
    at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:438)
    at wt.index.builder.SumaIndexObjectBuilder.getIndexingObject(SumaIndexObjectBuilder.java:56)
    at wt.index.builder.SumaIndexObjectBuilder.getIndexingObject(SumaIndexObjectBuilder.java:27)
    at wt.index.AbstractIndexServiceDelegate.index(AbstractIndexServiceDelegate.java:450)
    at wt.index.IndexingServiceImpl.processIndexRequest(IndexingServiceImpl.java:280)
    at wt.index.StandardIndexPolicyManager.processIndexRequest(StandardIndexPolicyManager.java:387)
    at sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)
    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.$Proxy154.processIndexRequest(Unknown Source)
    at wt.index.IndexingServiceImpl.updateIndexer(IndexingServiceImpl.java:200)
    at wt.index.StandardIndexPolicyManager.updateIndexer(StandardIndexPolicyManager.java:137)
    at sun.reflect.GeneratedMethodAccessor485.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at wt.queue.QueueEntry.execute(QueueEntry.java:231)
    at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java:312)
    at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java:898)
    at wt.queue.PollingQueueThread.run(PollingQueueThread.java:99)
ERROR [BulkIndexQueue1.PollingThread] wt.method.MethodContextMonitor.contexts.other Administrator - wt.fc.collections.CollectionContainsDeletedException:
The object with the following key was deleted or inaccessible : "wt.part.WTPart:123456789"
	at wt.fc.collections.RefreshHelper$Refresh.processDeletes(RefreshHelper.java:1206)
	at wt.fc.collections.RefreshHelper$Refresh.refresh(RefreshHelper.java:730)
	at wt.fc.collections.RefreshHelper.refresh(RefreshHelper.java:143)
	at wt.fc.collections.StandardCollectionsManager.refresh(StandardCollectionsManager.java:80)
	at jdk.internal.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet

这是文章 327843 的 PDF 版本,可能已过期。最新版本 CS327843