Article - CS327843

Site > Indexing Administration or Bulk Index Tool always show some objects as remaining in Windchill PDMLink

Modified: 04-Jun-2025   


Applies To

  • Windchill PDMLink 11.0 to 13.0

Description

  • How to know the reason for indexing failure?
  • wt.index.BulkIndexTool7. Check the bulk indexing progress OR site > Indexing Administration shows some objects are remaining.
  • Start the bulk indexing process again does not help
  • The Background Method Server log displays error
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

OR
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

 
This is a printer-friendly version of Article 327843 and may be out of date. For the latest version click CS327843