Rank: Member
Groups: Registered
Joined: 5/10/2019(UTC) Posts: 20 Location: Germany
Thanks: 8 times Was thanked: 3 time(s) in 3 post(s)
|
NCrunch Console Tool gets installed as x86 application including GAC registration. As soon as it is available in GAC NCrunch cannot be loaded in Rider anymore. So both cannot be installed on the same machine at the same time. Quote:Details: System.Exception: An exception was thrown in the remote environment: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (0x8007000B) at nCrunch.Core.Gac.a(a& a, Int32 b) at nCrunch.Core.Gac.() at nCrunch.Core.Gac.(String ) at nCrunch.Core.Gac.IsAssemblyLoadedInGac(String shortOrFullAssemblyName) at nCrunch.Core.BuildManagement.GacReferencedBuildEngine.CheckIsAvailable() at nCrunch.Core.BuildManagement.MSBuildEngineRegistry.AddRegisteredBuildEngine(IRegisteredBuildEngine engine) at nCrunch.Core.BuildManagement.MSBuildEngineRegistry.AddAllBuildEngines() at nCrunch.Client.EngineServiceInitialiser.InitialiseServiceLocator(Nullable`1 ideVersion, FilePath solutionFilePath, Boolean isHostedInSatelliteProcess, Boolean readOnlyConfig, UIState uiState, ISupplementaryEngineInitialiser initialiser, FilePath[] assembliesResidentInIDE) at nCrunch.RiderIntegration.RiderServiceInitialiser.InitialiseServiceLocatorForEngine(FilePath solutionPath, ISupplementaryEngineInitialiser initialiser) at nCrunch.RiderIntegration.RiderRemoteBootstrap.StartEngine(FilePath solutionPath) --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at nCrunch.TaskRunner.Ipc.IpcMessageProcessor.(CallMethodMessage ) at nCrunch.TaskRunner.Ipc.IpcMessageProcessor.ProcessMessageReturningResult(Byte[] data) at nCrunch.TaskRunner.Ipc.RemoteProxyCommunicator.(Byte[] ) at nCrunch.TaskRunner.Ipc.RemoteProxyCommunicator.Invoke(String methodName, Object[] args) at nCrunch.RiderIntegration.RiderRemoteBootstrapProxy.StartEngine(FilePath solutionPath) at nCrunch.RiderIntegration.RiderEngineBootstrap.StartRemoteEngine(FilePath solutionPath, Action`1 logErrorDuringInitialisation, Action processHasTerminated)
java.lang.Throwable: NCrunch encountered an error during the initialisation at com.intellij.openapi.diagnostic.Logger.error(Logger.java:410) at com.remco.software.ncrunch.ErrorService$Companion.notifyUserOfError(ErrorService.kt:36) at com.remco.software.ncrunch.ErrorService.errorEventUpdate(ErrorService.kt:27) at com.remco.software.ncrunch.ErrorService.access$errorEventUpdate(ErrorService.kt:13) at com.remco.software.ncrunch.ErrorService$1.invoke(ErrorService.kt:17) at com.remco.software.ncrunch.ErrorService$1.invoke(ErrorService.kt:17) at com.jetbrains.rd.util.reactive.Signal.fire(Signal.kt:32) at com.jetbrains.rd.framework.impl.RdSignal$onWireReceived$2.invoke(RdSignal.kt:33) at com.jetbrains.rd.framework.impl.RdSignal$onWireReceived$2.invoke(RdSignal.kt:31) at com.jetbrains.rd.framework.MessageBroker$RdWireableDispatchHelper$doDispatch$2.invoke(MessageBroker.kt:122) at com.jetbrains.rd.framework.MessageBroker$RdWireableDispatchHelper$doDispatch$2.invoke(MessageBroker.kt:115) at com.jetbrains.rdclient.protocol.RdDispatcher.flushAll(RdDispatcher.kt:112) at com.jetbrains.rdclient.protocol.RdDispatcher.flushAllRunnable$lambda$0(RdDispatcher.kt:33) at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22) at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:204) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:419) at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138) at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129) at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1152) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:81) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:123) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739) at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:699) at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:593) at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:105) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593) at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361) at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356) at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1022) at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106) at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1022) at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356) at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Please provide a x64 version of the console tool, too, or find a way that Rider does not try to mix 32- and 64-bit NCrunch assemblies. Thanks in advance.
|