Could not send message when retrieveing metadata or building OST

Issue #93 resolved
Matej Pinter created an issue

Hey, it is me again, just cam back from vacation and started working on some project with coworker and when I'm trying to get it working in IDEA I always get message "Could not send message". If I select to download whole project, I get this error at retrieving metatada stage and if I select only classes, components, pages and triggers (as usual) I get error at building OST.

Here are some exceptions from log (please note I have deleted some stuff out that might contain sensible data).

java.lang.Throwable at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(FrequentEventDetector.java:61) at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.a(RefreshQueueImpl.java:97) at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:66) at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:104) at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:58) at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:44) at com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.java:85) at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:682) at com.illuminatedcloud.intellij.builder.ForceComBuilder$38.run(SourceFile:3770) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:115) at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(FrequentEventDetector.java:69) at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.a(RefreshQueueImpl.java:97) at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.execute(RefreshQueueImpl.java:66) at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.launch(RefreshSessionImpl.java:104) at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:58) at com.intellij.openapi.vfs.newvfs.RefreshQueue.refresh(RefreshQueue.java:44) at com.intellij.openapi.vfs.newvfs.NewVirtualFile.refresh(NewVirtualFile.java:85) at com.intellij.openapi.vfs.VirtualFile.refresh(VirtualFile.java:682) at com.illuminatedcloud.intellij.builder.ForceComBuilder$38.run(SourceFile:3770) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

java.lang.Throwable at com.intellij.openapi.diagnostic.FrequentEventDetector.eventHappened(FrequentEventDetector.java:61) at com.intellij.ide.IdeEventQueue.postEvent(IdeEventQueue.java:1029) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1311) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2373) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:429) at com.intellij.openapi.project.DumbServiceImpl.access$1000(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$7.run(DumbServiceImpl.java:381) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

javax.xml.ws.WebServiceException: Could not send Message. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:149) at com.sun.proxy.$Proxy124.describeSObjects(Unknown Source) at com.illuminatedcloud.symtab.OfflineSymbolTable$15$1.compute(SourceFile:1642) at com.illuminatedcloud.symtab.OfflineSymbolTable$15$1.compute(SourceFile:1638) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivityStep(SourceFile:624) at com.illuminatedcloud.symtab.OfflineSymbolTable$15.compute(SourceFile:1637) at com.illuminatedcloud.symtab.OfflineSymbolTable$15.compute(SourceFile:1630) at com.illuminatedcloud.symtab.OfflineSymbolTable$4.compute(SourceFile:597) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivity(SourceFile:565) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivity(SourceFile:592) at com.illuminatedcloud.symtab.OfflineSymbolTable.loadDescribeSObjectResults(SourceFile:1629) at com.illuminatedcloud.symtab.OfflineSymbolTable.loadSObjectClasses(SourceFile:1185) at com.illuminatedcloud.symtab.OfflineSymbolTable.generateOfflineSymbolTable(SourceFile:705) at com.illuminatedcloud.intellij.settings.project.OfflineSymbolTableGenerator$3.run(SourceFile:197) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56) Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '411: Length Required' when communicating with SOMEURL at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1575) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1527) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1330) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:638) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:516) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:425) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:326) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:279) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:138) ... 28 more ava.lang.Throwable: java.lang.Throwable: Rebuilding CaseInsensitiveFilenameIndex at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1214) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(SourceFile:350) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:269) at com.intellij.openapi.project.DumbServiceImpl.access$800(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$9.run(DumbServiceImpl.java:439) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Throwable: Rebuilding CaseInsensitiveFilenameIndex ... 21 more java.lang.Throwable: java.lang.Throwable: Rebuilding ApexNamespaceIndex at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1214) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(SourceFile:350) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:269) at com.intellij.openapi.project.DumbServiceImpl.access$800(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$9.run(DumbServiceImpl.java:439) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Throwable: Rebuilding ApexNamespaceIndex ... 21 more java.lang.Throwable: java.lang.Throwable: Rebuilding ApexSObjectTypeShortNameIndex at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1214) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(SourceFile:350) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:269) at com.intellij.openapi.project.DumbServiceImpl.access$800(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$9.run(DumbServiceImpl.java:439) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Throwable: Rebuilding ApexSObjectTypeShortNameIndex ... 21 more java.lang.Throwable: java.lang.Throwable: Rebuilding Stubs at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1214) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(SourceFile:350) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:269) at com.intellij.openapi.project.DumbServiceImpl.access$800(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$9.run(DumbServiceImpl.java:439) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Throwable: Rebuilding Stubs ... 21 more java.lang.Throwable: java.lang.Throwable: Rebuilding ApexDerivedDeclarationIndex at com.intellij.util.indexing.FileBasedIndexImpl.scheduleRebuild(FileBasedIndexImpl.java:1214) at com.illuminatedcloud.intellij.index.IlluminatedCloudIndexUtil$2.run(SourceFile:350) at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:269) at com.intellij.openapi.project.DumbServiceImpl.access$800(DumbServiceImpl.java:52) at com.intellij.openapi.project.DumbServiceImpl$9.run(DumbServiceImpl.java:439) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:734) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:569) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Throwable: Rebuilding ApexDerivedDeclarationIndex ... 21 more

Comments (12)

  1. Scott Wells repo owner

    Hi, Matej. Welcome back! Many of the exceptions listed above are normal from forcing IDEA to rebuild indices, but this one seems to be the interesting one:

    javax.xml.ws.WebServiceException: Could not send Message. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:149) at com.sun.proxy.$Proxy124.describeSObjects(Unknown Source) at com.illuminatedcloud.symtab.OfflineSymbolTable$15$1.compute(SourceFile:1642) at com.illuminatedcloud.symtab.OfflineSymbolTable$15$1.compute(SourceFile:1638) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivityStep(SourceFile:624) at com.illuminatedcloud.symtab.OfflineSymbolTable$15.compute(SourceFile:1637) at com.illuminatedcloud.symtab.OfflineSymbolTable$15.compute(SourceFile:1630) at com.illuminatedcloud.symtab.OfflineSymbolTable$4.compute(SourceFile:597) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivity(SourceFile:565) at com.illuminatedcloud.symtab.OfflineSymbolTable.runActivity(SourceFile:592) at com.illuminatedcloud.symtab.OfflineSymbolTable.loadDescribeSObjectResults(SourceFile:1629) at com.illuminatedcloud.symtab.OfflineSymbolTable.loadSObjectClasses(SourceFile:1185) at com.illuminatedcloud.symtab.OfflineSymbolTable.generateOfflineSymbolTable(SourceFile:705) at com.illuminatedcloud.intellij.settings.project.OfflineSymbolTableGenerator$3.run(SourceFile:197) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) 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) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56) Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '411: Length Required' when communicating with SOMEURL at ...

    Let me take a look at why that might be happening and perhaps add some diagnostic logging around the API call that's resulting in the HTTP 411 in a small patch for you this afternoon. Hopefully more to come shortly!

  2. Scott Wells repo owner

    Matej, could you also provide the error message when trying to retrieve the entire project contents so that I can look at both aspects?

  3. Scott Wells repo owner

    Matej, another question for you. Is this connection using a My Domain login URL? I ask because I've found references to other SOAP API clients having this issue against My Domains but not against the standard URL. Sounds like there's a workaround for the issue, but I want to make sure I'm going down a valid path.

    UPDATE: Or a trial org. Sounds like trial orgs have a similar issue.

  4. Matej Pinter reporter

    Error message I get is: "Could not send Message". That is all. It repeats 2-3 times and then IDEA stop indexing and everything.

    Org is not a trial, but it seems it has some custom domain as it is not standard like "name.test.salesforce.com".

  5. Matej Pinter reporter

    Ok I tried some other things as well and one of them was trying sublimetext3 with mavensmate to create project, but it fails. There problem is something about tooling and I have found this: https://github.com/joeferraro/MavensMate-SublimeText/issues/416 I get same error and my URL looks like this: https://[our company name]-[some number]--sgsandbox.cs18.cloudforce.com I think that can help you narrow down the issue I have here. Currently I'm forced to Eclipse where project work OK.

  6. Scott Wells repo owner

    Appreciate the fine detective work, Matej! Let me see what I can do about this in short order. I'll try to have something coming your way to resolve it soon.

  7. Scott Wells repo owner

    Matej, I have a test build for you to try. I don't want to upload it to the JetBrains repository until we've verified that I have a fix and I've had a little more time to test it well. I'm going to host it in a separate location and, once uploaded, send you a direct message here on BitBucket about how to download and use it.

    To be clear, I haven't been able to reproduce this issue yet. I've tried one of my orgs that's configured for My Domain and even configured it for login only through that URL, but I didn't see the issue. I think I'm going to need access to a sandbox org configured for My Domain. I'll try to hunt one down. The good news is that the change I've made doesn't seem to cause any new bad behavior! I just hope it resolves the existing bad behavior for you.

    I'll send you a DM here shortly.

  8. Scott Wells repo owner

    Matej, shortly I'll be uploading version 1.4.2.0 with the real fix for this. This is now a configurable connection setting called Enable Workaround for HTTP 411 Issue that is disabled by default. After upgrading to 1.4.2.0, you'll need to go into your connection settings for the org(s) that have this issue and check that option. You should also be able to set the value for Organization Type back to Test if you'd like. Please communicate this to others on your team who are also hitting this issue.

  9. Log in to comment