Stuck on Populating Contents screen

407 views
Skip to first unread message

myinc...@gmail.com

unread,
Aug 18, 2017, 10:13:50 AM8/18/17
to Illuminated Cloud Q&A
After setting up a connection, I clicked on test. It gave me an OK message. After that, its displaying a Populating Contents screen saying Listing metadata objects. Its stuck on this screen. Can you tell me what can be the issue, or where can I check the logs?



Scott

unread,
Aug 18, 2017, 10:24:04 AM8/18/17
to Illuminated Cloud Q&A
You can grab the logs from C:\Users\<username>\.IntelliJIdea<version>\system\log\idea.log.  The .IntelliJIdea<version> portion will be slightly different if you're using Community Edition, but it should be obvious what it is.  Go ahead and send that to me at sup...@illuminatedcloud.com and I'll take a look.  Every API interaction has a 5 minute timeout, so it should eventually time out.  I'm curious as to whether this is a client issue or just an unresponsive server.  It should just be calling MetadataApi.listMetadata() at that point...

Regards,
Scott

myinc...@gmail.com

unread,
Aug 18, 2017, 10:28:46 AM8/18/17
to Illuminated Cloud Q&A
I will check the logs and send you.

One more question. The username which I am using, does it require some specific permission to check out code from SFDC instance to my local system? Maybe I don't have the reqd permission enabled, though I have the System Admin profile.


Scott

unread,
Aug 18, 2017, 10:32:51 AM8/18/17
to Illuminated Cloud Q&A
Sys Admin is fine.  Ultimately you need API Enabled and Author Apex, and those two end up dragging a bunch of other stuff in with it.  I think Modify All Data is also needed but I also think these perms end up activating each other anyway.  The Sys Admin profile should have all of them on by default.

This is looking like a timeout, though.  If you didn't have adequate perms I would expect an instantaneous response saying as much.

Shoot your logs over when you have them and I'll take a look.

Regards,
Scott
Message has been deleted

Scott

unread,
Aug 18, 2017, 11:03:05 AM8/18/17
to Illuminated Cloud Q&A
Interesting.  That's a new one to me.  Let me see if there's anything I can do to adjust the client on my side to handle a larger API response.  I should have more info soon, and if I can do something about it, I'll post a test build for you to try to confirm the fix as well.

Regards,
Scott

myinc...@gmail.com

unread,
Aug 18, 2017, 11:07:54 AM8/18/17
to Illuminated Cloud Q&A
I am reading this post, and it says that the Salesforce metadata API restricts calls to 10000 items.

Scott

unread,
Aug 18, 2017, 11:10:54 AM8/18/17
to Illuminated Cloud Q&A
Looks like it's a simple property that needs to be set.  You can actually do it yourself without requiring an updated build.  Use Help>Edit Custom Properties to create a custom properties file for IntelliJ IDEA.  Then add the following property:

-Dorg.apache.cxf.stax.maxChildElements=250000

Restart IntelliJ IDEA and see if that doesn't resolve the issue for you.  Please let me know either way.

Thanks!
Scott

myinc...@gmail.com

unread,
Aug 18, 2017, 11:36:06 AM8/18/17
to Illuminated Cloud Q&A
Getting the same error. Logs below:

- with linked exception:
[javax.xml.stream.XMLStreamException: Maximum Number of Child Elements limit (50000) Exceeded]
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:470)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:402)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:379)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:855)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:102)
at org.apache.cxf.jaxb.JAXBEncoderDecoder$2.run(JAXBEncoderDecoder.java:894)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:892)
... 41 more
Caused by: javax.xml.stream.XMLStreamException: Maximum Number of Child Elements limit (50000) Exceeded
at com.ctc.wstx.sr.InputElementStack.push(InputElementStack.java:340)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2951)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2839)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1073)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:400)
... 47 more
2017-08-18 21:03:51,940 [ 791276]   WARN - ij.builder.ForceComBuilderUtil - Failed to list metadata. Trying again one at a time. 
javax.xml.ws.soap.SOAPFaultException: Unmarshalling Error: Maximum Number of Child Elements limit (50000) Exceeded 
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:161)
at com.sun.proxy.$Proxy172.listMetadata(Unknown Source)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:341)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:335)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:210)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:308)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil.getFileProperties(SourceFile:334)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.createAllMetadataPackage(SourceFile:519)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.access$500(SourceFile:80)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor$5.run(SourceFile:298)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:603)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:343)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:

Scott

unread,
Aug 18, 2017, 11:42:44 AM8/18/17
to Illuminated Cloud Q&A
You know what? I may have asked you to put it in the wrong place.  Do you mind adding that property under Help>Edit Custom VM Options?  And go ahead and remove it from the other location.  Restart the IDE and I bet that does it.  Please let me know either way.

Regards,
Scott

myinc...@gmail.com

unread,
Aug 18, 2017, 11:47:15 AM8/18/17
to Illuminated Cloud Q&A
As I said its stuck on that screen. So I close the program from task manager, and here are the logs:


Caused by: javax.xml.stream.XMLStreamException: Maximum Number of Child Elements limit (50000) Exceeded
at com.ctc.wstx.sr.InputElementStack.push(InputElementStack.java:340)
at com.ctc.wstx.sr.BasicStreamReader.handleStartElem(BasicStreamReader.java:2951)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2839)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1073)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:400)
... 47 more
2017-08-18 21:14:16,814 [1416150]   WARN - xf.phase.PhaseInterceptorChain - Interceptor for {http://soap.sforce.com/2006/04/metadata}MetadataService#{http://soap.sforce.com/2006/04/metadata}listMetadata has thrown exception, unwinding now 
[com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Premature EOF
at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45)
at com.ctc.wstx.sr.StreamScanner.throwLazyError(StreamScanner.java:728)
at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3678)
at com.ctc.wstx.sr.BasicStreamReader.getTextCharacters(BasicStreamReader.java:881)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleCharacters(StAXStreamConnector.java:313)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:400)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:379)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:855)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:102)
at org.apache.cxf.jaxb.JAXBEncoderDecoder$2.run(JAXBEncoderDecoder.java:894)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:892)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:712)
at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:179)
at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:109)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1670)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
at com.sun.proxy.$Proxy172.listMetadata(Unknown Source)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:351)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:335)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:210)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:308)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil.getFileProperties(SourceFile:334)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.createAllMetadataPackage(SourceFile:519)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.access$500(SourceFile:80)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor$5.run(SourceFile:298)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:603)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:343)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.ctc.wstx.exc.WstxIOException: Premature EOF
at com.ctc.wstx.sr.StreamScanner.constructFromIOE(StreamScanner.java:633)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1007)
at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4647)
at com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3722)
at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3676)
... 51 more
Caused by: java.io.IOException: Premature EOF
at sun.net.www.http.ChunkedInputStream.fastRead(ChunkedInputStream.java:257)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:689)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375)
at com.ctc.wstx.io.BaseReader.readBytes(BaseReader.java:155)
at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:368)
at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:111)
at com.ctc.wstx.io.MergedReader.read(MergedReader.java:105)
at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:86)
at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:56)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1001)
... 54 more
2017-08-18 21:14:16,815 [1416151]  ERROR - ij.builder.ForceComBuilderUtil - Failed to list metadata for Role 
javax.xml.ws.soap.SOAPFaultException: [com.ctc.wstx.exc.WstxLazyException] Premature EOF
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:161)
at com.sun.proxy.$Proxy172.listMetadata(Unknown Source)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:351)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil$2.compute(SourceFile:335)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:210)
at com.illuminatedcloud.client.ForceComApiClient.runWithClient(SourceFile:308)
at com.illuminatedcloud.intellij.builder.ForceComBuilderUtil.getFileProperties(SourceFile:334)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.createAllMetadataPackage(SourceFile:519)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor.access$500(SourceFile:80)
at com.illuminatedcloud.intellij.settings.module.ModuleSubscriptionEditor$5.run(SourceFile:298)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:718)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:402)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:548)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:493)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:94)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:603)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:343)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Premature EOF
at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45)
at com.ctc.wstx.sr.StreamScanner.throwLazyError(StreamScanner.java:728)
at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3678)
at com.ctc.wstx.sr.BasicStreamReader.getTextCharacters(BasicStreamReader.java:881)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleCharacters(StAXStreamConnector.java:313)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:400)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:379)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.doUnmarshal(JAXBEncoderDecoder.java:855)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.access$100(JAXBEncoderDecoder.java:102)
at org.apache.cxf.jaxb.JAXBEncoderDecoder$2.run(JAXBEncoderDecoder.java:894)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:892)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:712)
at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:179)
at org.apache.cxf.wsdl.interceptors.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:109)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1670)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
... 23 more
Caused by: com.ctc.wstx.exc.WstxIOException: Premature EOF
at com.ctc.wstx.sr.StreamScanner.constructFromIOE(StreamScanner.java:633)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1007)
at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4647)
at com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3722)
at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3676)
... 51 more
Caused by: java.io.IOException: Premature EOF
at sun.net.www.http.ChunkedInputStream.fastRead(ChunkedInputStream.java:257)
at sun.net.www.http.ChunkedInputStream.read(ChunkedInputStream.java:689)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375)
at com.ctc.wstx.io.BaseReader.readBytes(BaseReader.java:155)
at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:368)
at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:111)
at com.ctc.wstx.io.MergedReader.read(MergedReader.java:105)
at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:86)
at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:56)
at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:1001)
... 54 more

Scott

unread,
Aug 18, 2017, 11:52:32 AM8/18/17
to Illuminated Cloud Q&A
Okay.  I think I'll need to see the SOAP interactions with the server.  You can turn on SUPER verbose client logging by adding the following to Help>Debug Log Settings:

#com.illuminatedcloud.client.ForceComApiClient!trace

You'll need to restart the IDE for that to take effect.  Then try the operation again.  Once it hangs gather all logs under Help>Show Log in Explorer/Finder/Files, zip them up, and send them to me at sup...@illuminatedcloud.com so I can see the response coming back from the server that's choking it.

Sorry for the issue.  Hopefully we'll figure it out soon.

Regards,
Scott

myinc...@gmail.com

unread,
Aug 18, 2017, 12:27:11 PM8/18/17
to Illuminated Cloud Q&A
I have sent you the log file.

Thanks for your help.

adamj...@gmail.com

unread,
Mar 5, 2018, 10:06:01 AM3/5/18
to Illuminated Cloud Q&A
Hi, sorry to resurrect an older thread but I'm having this exact same issue. Was there any outcome? Should I send along logs as well?

Thank you!

Scott

unread,
Mar 5, 2018, 10:30:14 AM3/5/18
to Illuminated Cloud Q&A
Hi, Adam. If you don't mind, would you reproduce the issue and send over your idea.log (Help>Show Log in Explorer/Finder/Files) so that I can see what might be going on? Feel free to email it to sup...@illuminatedcloud.com.

Regards,
Scott

adamj...@gmail.com

unread,
Mar 5, 2018, 11:23:52 AM3/5/18
to Illuminated Cloud Q&A
Hey Scott, thanks for being so responsive :)

So it actually ended up going through after a bit.. the first metadata pulldown after creating a new project took a few mins (no big deal), but then shortly thereafter, when opening the deploy metadata window, it really chugged:

2018-03-05 11:11:41,576 [3697560]   INFO - ij.builder.ForceComBuilderUtil - Enumerated metadata for connection extreme_artdev in 11m 34s 923ms.

Granted, the org has a lot of stuff in it in general, and our package.xml file specifies includes a lot of it, which obviously isn't IC's fault. But I have noticed that other sandboxes in this same org ecosystem don't usually take anywhere near that long, using the same package subscription etc. Are there any tips for making things more efficient? At the end of the day if it just takes longer due to the volume of stuff we're working with, that totally makes sense -- just curious. Thanks again!

Scott

unread,
Mar 5, 2018, 11:31:06 AM3/5/18
to Illuminated Cloud Q&A
Adam, what version of IC are you running? A few releases back I made that particular operation run in parallel for a pretty dramatic speed increase. I'd be curious to see if you're on a version that has that optimization. If not, please get updated to the latest-and-greatest and let me know whether you see the same issue.

Regards,
Scott

adamj...@gmail.com

unread,
Mar 5, 2018, 12:49:14 PM3/5/18
to Illuminated Cloud Q&A
Ahh, that's what I get for being behind on updates! I was indeed a couple releases back, just updated to the latest version. My first go at the deploy screen -> refresh took ~5 mins, so much better. I peeked at the log anyway though and it looks like I'm seeing some of the same "Premature EOF" errors similar to what the OP pasted? I tried adding the verbose logging option mentioned earlier in the thread, ran it again and sent the zipped logfile to the support address. At the end of the day it's working (and much faster now), which is great, but figured I'd pass it along in case there's anything useful there :)

Scott

unread,
Mar 5, 2018, 12:57:30 PM3/5/18
to Illuminated Cloud Q&A
Okay. Glad to hear it's improved, but 5 mins is definitely too long to be waiting for the list of metadata from the server. I'll review the logs you sent over in a bit and let you know what I find. Thanks for sending them!

Regards,
Scott
Reply all
Reply to author
Forward
0 new messages