<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query-Links thrown NullPointerException for more than one value to object_ref parameter in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/998061#M9490</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/205208"&gt;@rhart&lt;/a&gt;, Thank you very much for the response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Similar to "DescribeBy" attribute, "DescribeDoc" reference attribute also shown in logical attribute report, that's why I used it to fetch document form part&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AD_10574558_1-1739337665538.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/118090iF32A402AE01B39E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AD_10574558_1-1739337665538.png" alt="AD_10574558_1-1739337665538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure why Windchill is still showing it, as it looks like it is deprecated or not working for direction parameter. If I missed anything or any understanding please let me know.&lt;BR /&gt;Can you please also let me know why&amp;nbsp;&lt;SPAN&gt;wt.part.MasterIteration is not working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 05:26:59 GMT</pubDate>
    <dc:creator>AD_10574558</dc:creator>
    <dc:date>2025-02-12T05:26:59Z</dc:date>
    <item>
      <title>Query-Links thrown NullPointerException for more than one value to object_ref parameter</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/996918#M9459</link>
      <description>&lt;P&gt;Query-Links webject thrown NullPointerException&lt;BR /&gt;This exception thrown when 2 or more id send to object_ref&lt;BR /&gt;Exception thrown for following inputs to Query-Links:&lt;BR /&gt;TYPE|DIRECTION|output_type|auto_navigate|attribute&lt;BR /&gt;wt.part.MasterIteration|master|FULL|false|iteration,number,masterReference&lt;BR /&gt;wt.part.WTPartDescribeLink|describesDoc|FULL|true|describes,name,number,masterReference&lt;BR /&gt;wt.part.WTPartReferenceLink|referencesDoc|FULL|true|referencedBy,name,number,masterReference&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Windchill: 12, 13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Exception:&lt;/DIV&gt;&lt;DIV&gt;Nested exception is: java.lang.NullPointerException&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.ptc.core.adapter.server.impl.AbstractWebject.addTypeInstance(AbstractWebject.java:925)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.ptc.core.adapter.server.impl.AbstractWebject.addTypeInstance(AbstractWebject.java:901)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.ptc.core.adapter.server.impl.QueryLinksWebjectDelegate.invoke(QueryLinksWebjectDelegate.java:497)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at jdk.internal.reflect.GeneratedMethodAccessor1027.invoke(Unknown Source)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:840)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:537)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:199)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:319)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Webject:&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;ie:webject name="Query-Links" type="OBJ"&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="INSTANCE" data="&amp;lt;%=com.infoengine.au.NamingService.getVMName()%&amp;gt;" valueSeparator=";" delim=";" /&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="TYPE" data="wt.part.MasterIteration"/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="object_ref" data="VR:wt.part.WTPart:4655178:591698760-1730379217407-1158614409-186-30-168-192@vinw16wc30186.eqvm.local#VR:wt.part.WTPart:4655819:591698760-1730379217407-1158614409-186-30-168-192@vinw16wc30186.eqvm.local" valueSeparator="#" delim="#"/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="DIRECTION" data="master"/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="output_type" data="FULL"/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="auto_navigate" data="false"/&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="attribute" data="iteration,number,masterReference" delim=","/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;ie:param name="group_out" data="objects"/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;lt;/ie:webject&amp;gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nested exception is: java.lang.NullPointerException&lt;BR /&gt;at wt.adapter.query.QueryLinksWebjectDelegate.navigate(QueryLinksWebjectDelegate.java:549)&lt;BR /&gt;at wt.adapter.query.QueryLinksWebjectDelegate.navigate(QueryLinksWebjectDelegate.java:465)&lt;BR /&gt;at com.ptc.core.adapter.server.impl.QueryLinksWebjectDelegate.invoke(QueryLinksWebjectDelegate.java:265)&lt;BR /&gt;at com.ptc.core.adapter.server.impl.WebjectDelegateFactory.invokeDelegate(WebjectDelegateFactory.java:434)&lt;BR /&gt;at jdk.internal.reflect.GeneratedMethodAccessor307.invoke(Unknown Source)&lt;BR /&gt;at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;BR /&gt;at java.base/java.lang.reflect.Method.invoke(Method.java:566)&lt;BR /&gt;at wt.method.WTAdapterImpl.processWebject(WTAdapterImpl.java:840)&lt;BR /&gt;at wt.method.WTAdapterImpl.processRequest(WTAdapterImpl.java:537)&lt;BR /&gt;at com.infoengine.procunit.adapter.Adapter.send(Adapter.java:199)&lt;BR /&gt;at com.infoengine.SAK.ObjectWebject.invoke(ObjectWebject.java:319)&lt;BR /&gt;&lt;BR /&gt;&amp;lt;ie:webject name="Query-Links" type="OBJ"&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="INSTANCE" data="&amp;lt;%=com.infoengine.au.NamingService.getVMName()%&amp;gt;" valueSeparator=";" delim=";" /&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="TYPE" data="wt.part.WTPartDescribeLink"/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="object_ref" data="VR:wt.part.WTPart:4751222:591698760-1730379217407-1158614409-186-30-168-192@vinw16wc30186.eqvm.local" valueSeparator="#" delim="#"/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="DIRECTION" data="describesDoc"/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="output_type" data="FULL"/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="auto_navigate" data="true"/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="attribute" data="describes,name,number,masterReference" delim=","/&amp;gt;&lt;BR /&gt;&amp;lt;ie:param name="group_out" data="objects"/&amp;gt;&lt;BR /&gt;&amp;lt;/ie:webject&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 10:17:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/996918#M9459</guid>
      <dc:creator>AD_10574558</dc:creator>
      <dc:date>2025-02-05T10:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query-Links thrown NullPointerException for more than one value to object_ref parameter</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/997924#M9485</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/685773"&gt;@AD_10574558&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your question.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.&lt;BR /&gt;&lt;BR /&gt;Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 13:34:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/997924#M9485</guid>
      <dc:creator>Catalina</dc:creator>
      <dc:date>2025-02-11T13:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query-Links thrown NullPointerException for more than one value to object_ref parameter</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/997974#M9487</link>
      <description>&lt;P&gt;The direction should be either &lt;STRONG&gt;describes&lt;/STRONG&gt; or &lt;STRONG&gt;describedBy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g. link from the part to doc&lt;/P&gt;
&lt;P&gt;(the part is described by the doc)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;ie:webject name="Query-Links" type="OBJ"&amp;gt;
	&amp;lt;ie:param name="instance" data="&amp;lt;%= wtadapterVMName %&amp;gt;" valueSeparator=";" delim=";" default="Windchill" /&amp;gt;
	&amp;lt;ie:param name="object_ref" data="VR:wt.part.WTPart:605752690"/&amp;gt;
	&amp;lt;ie:param name="TYPE" data="wt.part.WTPartDescribeLink"/&amp;gt;
	&amp;lt;ie:param name="DIRECTION" data="describedBy"/&amp;gt;
	&amp;lt;ie:param name="output_type" data="FULL"/&amp;gt;
&amp;lt;/ie:webject&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;e.g. link from the doc to the part&lt;/P&gt;
&lt;P&gt;(the doc describes the part)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;ie:webject name="Query-Links" type="OBJ"&amp;gt;
	&amp;lt;ie:param name="instance" data="&amp;lt;%= wtadapterVMName %&amp;gt;" valueSeparator=";" delim=";" default="Windchill" /&amp;gt;
	&amp;lt;ie:param name="object_ref" data="VR:wt.doc.WTDocument:1249683439"/&amp;gt;
	&amp;lt;ie:param name="TYPE" data="wt.part.WTPartDescribeLink"/&amp;gt;
	&amp;lt;ie:param name="DIRECTION" data="describes"/&amp;gt;
	&amp;lt;ie:param name="output_type" data="FULL"/&amp;gt;
&amp;lt;/ie:webject&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 16:13:47 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/997974#M9487</guid>
      <dc:creator>rhart</dc:creator>
      <dc:date>2025-02-11T16:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query-Links thrown NullPointerException for more than one value to object_ref parameter</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/998061#M9490</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/205208"&gt;@rhart&lt;/a&gt;, Thank you very much for the response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Similar to "DescribeBy" attribute, "DescribeDoc" reference attribute also shown in logical attribute report, that's why I used it to fetch document form part&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AD_10574558_1-1739337665538.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/118090iF32A402AE01B39E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AD_10574558_1-1739337665538.png" alt="AD_10574558_1-1739337665538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure why Windchill is still showing it, as it looks like it is deprecated or not working for direction parameter. If I missed anything or any understanding please let me know.&lt;BR /&gt;Can you please also let me know why&amp;nbsp;&lt;SPAN&gt;wt.part.MasterIteration is not working?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 05:26:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Query-Links-thrown-NullPointerException-for-more-than-one-value/m-p/998061#M9490</guid>
      <dc:creator>AD_10574558</dc:creator>
      <dc:date>2025-02-12T05:26:59Z</dc:date>
    </item>
  </channel>
</rss>

