Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parsing Exception #4078

Closed
joshkreud opened this issue Jun 13, 2018 · 4 comments
Closed

Parsing Exception #4078

joshkreud opened this issue Jun 13, 2018 · 4 comments
Labels
bug Identifies work items for known bugs stale Issue is no longer relevant, or was fixed and forgotten. If closed but still relevant, open a new.

Comments

@joshkreud
Copy link

joshkreud commented Jun 13, 2018

Hello everyone,

I just installed Build 2.2.0.3368-pre.

When I hit Parse nothing happens. According to the Log, the Parser crashes immediately after clicking the Button.
Log: https://pastebin.com/kXtEHq8r

It says something about: "Bibliothek nicht registriert." which means "Libary not registered".
Did the installer not Register everything? I installed it just for my user.

I'm running Rubberduck in Excel 14.0.7208.5000 (32-Bit)

@Vogel612
Copy link
Member

Stacktrace:

2018-06-13 07:58:18.3993;ERROR-2.2.6737.8365;Rubberduck.Parsing.VBA.ParseCoordinator;Unexpected exception thrown in parsing run. (thread 6).;System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Core.CommandBarControl'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{000C0308-0000-0000-C000-000000000046}' failed due to the following error: Bibliothek nicht registriert. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at Microsoft.Office.Core.CommandBarControl.set_Enabled(Boolean pvarfEnabled)
   at Rubberduck.VBEditor.SafeComWrappers.Office12.CommandBarButton.set_IsEnabled(Boolean value) in C:\projects\rubberduck\Rubberduck.VBEditor.VBA\SafeComWrappers\Office\CommandBarButton.cs:line 193
   at Rubberduck.UI.Command.MenuItems.CommandBars.AppCommandBarBase.EvaluateCanExecute(RubberduckParserState state) in C:\projects\rubberduck\Rubberduck.Core\UI\Command\MenuItems\CommandBars\AppCommandBarBase.cs:line 156
   at Rubberduck.UI.Command.MenuItems.CommandBars.RubberduckCommandBar.OnParserStateChanged(Object sender, EventArgs e) in C:\projects\rubberduck\Rubberduck.Core\UI\Command\MenuItems\CommandBars\RubberduckCommandBar.cs:line 92
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at Rubberduck.Parsing.VBA.RubberduckParserState.OnStateChanged(Object requestor, CancellationToken token, ParserState state) in C:\projects\rubberduck\Rubberduck.Parsing\VBA\RubberduckParserState.cs:line 347
   at Rubberduck.Parsing.VBA.RubberduckParserState.SetStatusAndFireStateChanged(Object requestor, ParserState status, CancellationToken token) in C:\projects\rubberduck\Rubberduck.Parsing\VBA\RubberduckParserState.cs:line 561
   at Rubberduck.Parsing.VBA.ParserStateManagerBase.SetStatusAndFireStateChanged(Object requestor, ParserState status, CancellationToken token) in C:\projects\rubberduck\Rubberduck.Parsing\VBA\ParserStateManagerBase.cs:line 51
   at Rubberduck.Parsing.VBA.ParseCoordinator.ParseAllInternal(Object requestor, CancellationToken token) in C:\projects\rubberduck\Rubberduck.Parsing\VBA\ParseCoordinator.cs:line 340
   at Rubberduck.Parsing.VBA.ParseCoordinator.ParseAll(Object requestor, CancellationToken token) in C:\projects\rubberduck\Rubberduck.Parsing\VBA\ParseCoordinator.cs:line 313

@Vogel612 Vogel612 added bug Identifies work items for known bugs support Whether you're using Rubberduck or you've forked it and have questions, never hesitate to ask! labels Jun 13, 2018
@bclothier
Copy link
Contributor

ref #4192 -- this sounds too similar and bears investigating.

@bclothier bclothier removed the support Whether you're using Rubberduck or you've forked it and have questions, never hesitate to ask! label Aug 12, 2019
@bclothier
Copy link
Contributor

Following up on this old issue - is this still an issue?

@Vogel612 Vogel612 added the hacktoberfest Tags issues for Hacktoberfest 2019 label Sep 20, 2019
@bclothier
Copy link
Contributor

Closing this due to age. Feel free to reopen if this still occurs.

@bclothier bclothier added stale Issue is no longer relevant, or was fixed and forgotten. If closed but still relevant, open a new. and removed hacktoberfest Tags issues for Hacktoberfest 2019 labels Oct 5, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Identifies work items for known bugs stale Issue is no longer relevant, or was fixed and forgotten. If closed but still relevant, open a new.
Projects
None yet
Development

No branches or pull requests

3 participants