R#6 EAP Database project exception

When opening a VS20080 solution with a database project, I get:


Cannot create project with empty guid, location: 'c:\...elided...\Database.dbp'

--- EXCEPTION #1/2 [AssertionException]
Message = “Cannot create project with empty guid, location: 'c:\...elided...\Database.dbp'”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
  at JetBrains.Util.Assertion.Fail(String message) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Assertion.cs:line 38
     at JetBrains.Util.Assertion.Assert(Boolean condition, String message, Object[] args) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Assertion.cs:line 16
     at JetBrains.ProjectModel.Impl.ProjectImpl..ctor(FileSystemPath location, ProjectKind projectKind, ProjectLanguage defaultLanguage, PlatformID platformId, ProjectFolderImpl containingFolder, Guid guid) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\ProjectModel\src\model2\ProjectImplementation\ProjectImpl.cs:line 39
     at JetBrains.ProjectModel.Impl.SolutionImpl.CreateProject(FileSystemPath location, ProjectLanguage languageType, PlatformID platformID, ProjectKind projectKind, ProjectCreator creator, Guid guid) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\ProjectModel\src\impl\SolutionImpl.cs:line 143
     at JetBrains.ProjectModel.Impl.SolutionImpl.CreateProject(FileSystemPath location, ProjectLanguage languageType, PlatformID platformID, ProjectKind projectKind, Guid guid) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\ProjectModel\src\impl\SolutionImpl.cs:line 136
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer.ProcessHierarchy(IVsHierarchy hierarchy, IProjectFolder parentFolder) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\ProjectModelSynchronizer.cs:line 1369
     at JetBrains.VsIntegration.ProjectModel.ProjectModelSynchronizer..ctor(Lifetime lifetime, ISolution solution, IShellLocks locks, IVsSolution vsSolution, IVsExternalFilesManager vsExternalFilesManager, IVsRunningDocumentTable vsRunningDocumentTable, PlatformManager platformManager, ISolutionManager solutionManager, VsRunningDocumentTableEvents vsRunningDocumentTableEvents, SpecialFilesManager specialFilesManager, BizTalkReferencesHelper bizTalkReferencesHelper, VsProjectReferenceManagerFactory vsProjectReferenceManagerFactory, IVsEnvironmentInformation vsEnvironmentInformation) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\ProjectModelSynchronizer.cs:line 121
     at JetBrains.VsIntegration.ProjectModel.VsSolutionInstance..ctor(IPartsCatalogueSet catalogueSet, IComponentContainer parentContainer, ISolution solution, IShellLocks locks, IVsSolution vsSolution, IVsExternalFilesManager vsExternalFilesManager, IVsRunningDocumentTable vsRunningDocumentTable, PlatformManager platformManager, VSSolutionManager solutionManager, VsRunningDocumentTableEvents vsRunningDocumentTableEvents, BizTalkReferencesHelper bizTalkReferencesHelper, VsProjectReferenceManagerFactory vsProjectReferenceManagerFactory, IVsEnvironmentInformation vsEnvironmentInformation, ProductConfigurations productConfigurations) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\VsSolutionInstance.cs:line 37
     at JetBrains.VsIntegration.ProjectModel.VSSolutionManager.OpenVSSolution(Boolean afterOpenSolution) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 278
     at JetBrains.VsIntegration.ProjectModel.VSSolutionManager.<>c__DisplayClassb.<OnAfterOpenSolution>b__a() in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 232
     at Action(OnAfterOpenSolution).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 251


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Cannot create project with empty guid, location: 'c:\...elided...\Database.dbp'”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 9.0.30729.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 268
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 407
     at JetBrains.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 63
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(String name, Action F) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 100
     at JetBrains.VsIntegration.ProjectModel.VSSolutionManager.OnAfterOpenSolution(Object pUnkReserved, Int32 fNewSolution) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ProjectModel\VSSolutionManager.cs:line 229




-------------- followed by-----------------------


SolutionInstanceBase: A TryFinally bracket has not been disposed of, gotten into the finalizer.

--- EXCEPTION #1/3 [InvalidOperationException]
Message = “A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer ---

--- EXCEPTION #2/3 [FinallyException]
Message = “SolutionInstanceBase: A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.Disposable+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = SolutionInstanceBase
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “SolutionInstanceBase: A TryFinally bracket has not been disposed of, gotten into the finalizer.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 9.0.30729.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “at JetBrains.DataFlow.Disposable.FinalizableDisposable.Finalize() in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\DataFlow\Lifetime\Disposable.cs:line 178”


-----------------------
In addition, I once got the following exception when closing the IDE:


There is no Application Shell running.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “There is no Application Shell running.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.ReSharper.Resources
StackTraceString = “
  at JetBrains.Application.Shell.get_Instance() in c:\BuildAgent\work\89b0fc7b1b46b165\src\Resources\src\Shell\Shell.cs:line 113
     at JetBrains.Application.WriteLockCookie.Create() in c:\BuildAgent\work\89b0fc7b1b46b165\src\Resources\src\Shell\WriteLockCookie.cs:line 50
     at JetBrains.ReSharper.Features.Common.Options.CodeStyleSharingPage.<Dispose>b__8() in c:\BuildAgent\work\89b0fc7b1b46b165\src\Features\Common\src\Options\CodeStyleSharingPage.cs:line 253
     at Action(Options.Dispose).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 251


--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “There is no Application Shell running.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 268
     at JetBrains.Threading.ReentrancyGuard.<ExecutePendingActions>b__6(QueuedAction action) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 482
     at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 954
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 485
     at Action(ReentrancyGuard.ExecutePendingActions).Execute(Action )
     at JetBrains.Threading.JetDispatcher.Closure.Execute(Object dummy) in c:\BuildAgent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 648
     at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
     at System.Delegate.DynamicInvokeImpl(Object[] args)
     at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
     at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
     at System.Threading.ExecutionContext.runTryCode(Object userData)
     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
     at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
     at System.Windows.Forms.Control.WndProc(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

1 comment

Hi,

Thanks for the post. I have reproduced this exception. We will fix it asap.

--
Kirill Falk
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.