<?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: error when run java sdk -next() may not be called when XMLStreamReader is at END_DOCUMENT in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58874#M805</link>
    <description>&lt;P&gt;What version of the Java SDK are you using?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2012 19:11:30 GMT</pubDate>
    <dc:creator>davidfstr</dc:creator>
    <dc:date>2012-12-11T19:11:30Z</dc:date>
    <item>
      <title>error when run java sdk -next() may not be called when XMLStreamReader is at END_DOCUMENT</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58873#M804</link>
      <description>&lt;P&gt;what can create this error?&lt;BR /&gt;
java.lang.RuntimeException: java.lang.RuntimeException: next() may not be called when XMLStreamReader is at END_DOCUMENT&lt;BR /&gt;
    at com.splunk.Entity.refresh(Entity.java:373)&lt;BR /&gt;
    at com.splunk.Entity.refresh(Entity.java:1)&lt;BR /&gt;
    at com.splunk.Resource.validate(Resource.java:183)&lt;BR /&gt;
    at com.splunk.Entity.validate(Entity.java:449)&lt;BR /&gt;
    at com.splunk.Entity.getContent(Entity.java:159)&lt;BR /&gt;
    at com.splunk.Entity.getString(Entity.java:277)&lt;BR /&gt;
    at com.splunk.ServiceInfo.getVersion(ServiceInfo.java:151)&lt;BR /&gt;
    at com.splunk.Service.login(Service.java:956)&lt;BR /&gt;
    at com.splunk.Service.connect(Service.java:150)&lt;BR /&gt;
    at com.splunk.sdk.search.Program.run(Program.java:120)&lt;BR /&gt;
    at com.splunk.sdk.search.Program.main(Program.java:57)&lt;BR /&gt;
Caused by: java.lang.RuntimeException: next() may not be called when XMLStreamReader is at END_DOCUMENT&lt;BR /&gt;
    at com.splunk.AtomObject.scan(AtomObject.java:198)&lt;BR /&gt;
    at com.splunk.AtomObject.load(AtomObject.java:127)&lt;BR /&gt;
    at com.splunk.AtomFeed.parse(AtomFeed.java:80)&lt;BR /&gt;
    at com.splunk.AtomFeed.parseStream(AtomFeed.java:59)&lt;BR /&gt;
    at com.splunk.Entity.refresh(Entity.java:371)&lt;BR /&gt;
    ... 10 more&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58873#M804</guid>
      <dc:creator>kobieini</dc:creator>
      <dc:date>2020-09-28T12:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: error when run java sdk -next() may not be called when XMLStreamReader is at END_DOCUMENT</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58874#M805</link>
      <description>&lt;P&gt;What version of the Java SDK are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 19:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58874#M805</guid>
      <dc:creator>davidfstr</dc:creator>
      <dc:date>2012-12-11T19:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: error when run java sdk -next() may not be called when XMLStreamReader is at END_DOCUMENT</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58875#M806</link>
      <description>&lt;P&gt;Can you also tell us what you were doing when this error occurred? Can you post any of your code that tickles this issue?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 18:49:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/error-when-run-java-sdk-next-may-not-be-called-when/m-p/58875#M806</guid>
      <dc:creator>wcolgate_splunk</dc:creator>
      <dc:date>2012-12-19T18:49:44Z</dc:date>
    </item>
  </channel>
</rss>

