JustCode not starting VS2012

33 posts, 0 answers
  1. Paul
    Paul avatar
    8 posts
    Member since:
    Jul 2010

    Posted 14 Sep 2012 Link to this post

    I hope this isn't a duplicate, I've tried searching the forums, etc..

    I've got VS2010 & VS2012 installed, however JustCode doesn't appear to be installed correctly with VS2012.  I'd upgraded JustCode after installing VS2012 but it never starts and there is not JustCode menu.  VS2010 is working fine so far as I can tell.

    Any help would be appreciated!

    Thanks
  2. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 14 Sep 2012 Link to this post

    Hi Paul,

    I'm sorry for the inconvenience. There are two options to fix this issue:

    1) One is to try the "Change" option of JustCode installer from "Control Panel\Programs\Programs and Features". Just right click on "Telerik JustCode Q2 2012 SP2" program and choose "Change" from the context menu. Then the installation will guide you in the process of adding JustCode for VS 2012.

    2) The second option is to uninstall JustCode and then install it again. You can use Telerik Control Panel or directly download and run the MSI installer.

    Please let me know if none of these options work for you.

    Regards,
    Vladi
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  3. DevCraft banner
  4. Paul
    Paul avatar
    8 posts
    Member since:
    Jul 2010

    Posted 14 Sep 2012 Link to this post

    Vladi, thanks for your swift reply.  Tried both of those options and it still isn't working.  Have you any more suggestions?
  5. Paul
    Paul avatar
    8 posts
    Member since:
    Jul 2010

    Posted 18 Sep 2012 Link to this post

    I've messed about some more and found that in Tools > Options > Add-in security, the path "C:\Program Files (x86)\Telerik\JustCode\Libraries" was missing.  I did add it manually but it made no difference.

    I've uninstalled, scrubbed all reference to JustCode from the HDD & registry, even reinstalled an earlier build but still no joy.  Meanwhile VS2010 detects the add-in and works fine.
  6. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 19 Sep 2012 Link to this post

    Hello Paul, 

    Thanks for the reply.
    I will ask you to provide us some logs which you should gather by following the points below.
    1. Uninstall JustCode.
    2. Download our SP2 version and install it with /L JustCodeInstallerLog.txt (the name of the file is not important) and send us the log.
    3. Start VS with /log . Then the log should be located at %appdata%\Microsoft\VisualStudio\<VS version (e.g. 11.0)>\ActivityLog.xml. Please send it to us.
    4. And at the last JustCode's logs from %localappdata%\JustCode\Logs if there is any.
    Thanks and I hope this will help us to investigate the issue.

    All the best,
    Zdravko
    the Telerik team

    Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

  7. Nils C.
    Nils C. avatar
    41 posts
    Member since:
    Oct 2009

    Posted 10 Oct 2012 Link to this post

    Same Problem here, did you find a solution? I reinstalled many times, changed, repaired.. nothing helps...
  8. Paul
    Paul avatar
    8 posts
    Member since:
    Jul 2010

    Posted 10 Oct 2012 Link to this post

    Hi Nils, Believe it or not it eventually just worked! I tried everything, everything, short of uninstalling Visual Studio.
  9. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 15 Oct 2012 Link to this post

    Hi,

     @Nils C.
    Would you please provide the logs from my previous post?
    What is your VS version and is it happening for VS12 only?
    Do you have JustCode menu after the installation?
    Thanks.

    I look forward to hearing from you.

    Greetings,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  10. Nils C.
    Nils C. avatar
    41 posts
    Member since:
    Oct 2009

    Posted 15 Oct 2012 Link to this post

    Hi,

    complete reinstall of visual studio was a solution for me. Now, all is working fine.

    Best

    Nils
  11. Mike
    Mike avatar
    3 posts
    Member since:
    Feb 2012

    Posted 19 Oct 2012 Link to this post

    Same issue. Can't open any projects since the upgrade this morning. I'm trying repairs/reinstalls now.
  12. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 20 Oct 2012 Link to this post

    Hi,

    Thank you for your feedback. Unfortunately, we introduced an issue with our latest internal build, which causes Visual Studio to freeze when an exception is thrown. This is already fixed and will be included in our next internal build, but meanwhile I would like to ask you to go back to the official Q3 release.
    I am sorry for the caused inconvenience!

    Regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  13. George Fahnbulleh
    George Fahnbulleh avatar
    11 posts
    Member since:
    Apr 2006

    Posted 20 Oct 2012 Link to this post

    This seriously BLEW UP my VS2012 environment. I had to literally uninstall everything! Not good at all! :(
  14. George Fahnbulleh
    George Fahnbulleh avatar
    11 posts
    Member since:
    Apr 2006

    Posted 21 Oct 2012 Link to this post

    I was able to "fix" this by:
    1. deleting VS2012
    2. deleting Telerik controls
    3. deleting all VS2012 registry keys
    4. deleting the appdata\Roaming\Micorosof\Microsoft Visual Studio\Visual Studio 11
    5. reinstalling VS2012
    6. reinstalling Telerik Controls without JustCode
  15. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 22 Oct 2012 Link to this post

    Hi,

    I am sorry for the caused inconvenience. I just want to note an easier way to fix the Visual Studio hanging - you do not need to reinstall VS2012 or the Telerik controls. You can only revert to the official Q3 release of JustCode and this will fix the issue.

    Regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  16. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 22 Oct 2012 Link to this post

    Just a warning note:

    On my case I tried uninstalling Just Code and opening VS afterwards. VS would not start.

    I had to reinstall an older version (Q2) to be able to start VS again.
  17. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 24 Oct 2012 Link to this post

    I tried installing the latest development version that is supposed to correct this issue.

    VS run fine until I tried to enable Just Code error checking for C# and XAML. After that VS is crashing at launch...
  18. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 24 Oct 2012 Link to this post

    Hi,

    Thank you for your feedback. I would like to add more clarity to the issue.
    In our official Q3 release we logged the exception :"Telerik.VSX.Shell.Xaml.CommonXaml' does not have a resource identified" and handled it which ensures that VS will not crash although JustCode is not the cause of the exception.
    The internal build from Sept 19 handles this case by checking whether the unhandled exception is VSX exception. If it is we do not log it and we do not handle it and if no other tool handles this exception, Visual Studio crashes.
    This is the reason why VS crashes - we see that this is not an exception thrown by JustCode and we do not handle it (since JustCode is not the reason for the exception).
    Visual Studio should crash also without JustCode installed.
    However, having the Q3 release installed will not result in VS crash, because JustCode will mark the exception as handled and will log it.
    Could you try updating all your Telerik extensions and see whether this will fix the crash?
    If you have any more questions or remarks, please do not hesitate to contact us again!

    Regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  19. Iwhp
    Iwhp avatar
    40 posts
    Member since:
    Dec 2009

    Posted 24 Oct 2012 Link to this post

    The following does not help:
    > Reinstall v2012.3.1022.2
    > Reinstall via Telerik Control Panel (12.3.1017.1)

    Visual Studio v2012 does not crash, but the JustCode menu item is NOT shown.
  20. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 24 Oct 2012 Link to this post

    Hi,

    Thank you for your feedback. Could you check whether JustCode is present in "Tools->Extensions and Updates"? And whether it is enabled or disabled?

    Regards,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  21. Iwhp
    Iwhp avatar
    40 posts
    Member since:
    Dec 2009

    Posted 24 Oct 2012 Link to this post

    No it is not there. I can find it under "Online" and the link brings me to the Telerik Web Page.
  22. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 24 Oct 2012 Link to this post

    Hello,

    Can you please open a support ticket where you can continue our conversation.
    Thank you for your help!

    All the best,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  23. George Fahnbulleh
    George Fahnbulleh avatar
    11 posts
    Member since:
    Apr 2006

    Posted 24 Oct 2012 Link to this post

    You need to add the Telerik extensions for it to appear.
  24. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 24 Oct 2012 Link to this post

    Hello,

    Could you please uninstall JustCode and then install it again with a log file. To do that you need to open a Command Promt and run: "msiexec /i <Product.msi> /L*V <log file path>" without the quotes. By <Product.msi> I mean the full path to the JustCode msi - for example C:\JustCode_2012.3.1017_Dev.msi. And by <log file path> I mean the desired path for the log fie i.e. C:\justCodeInstallerLog.txt.
    And then please send us the log file.
    Thank you for your help!

    Greetings,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  25. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 24 Oct 2012 Link to this post

    Hi Ivan,

    Let me try to be clear about the upgrade process I have done and the unfolding of events:

    Had VS 2012RC with Just Code Q2 2012 and all the other Q2 Telerik plugins installed and working fine.
    Upgraded Just Code to Q3 production version (And all other telerik plugins, using the telerik control panel). Got an exception. Just Code would stop working properly.
    Tried to upgrade to the first development version you put out (Sept 19). VS crashes (would not start).
    Uninstalled Just Code. VS crashes (would not start).
    Intalled Just Code Q3 production version. VS crashes (would not start).
    Uninstalled Just Code. VS crashes (would not start).
    Reinstalled JustCode Q2 2012 (12.2.608.4). VS starts. Just Code has an exception. (I try to click on the error icon to see the error but it does not respond.)

    Attached is a screen shot of the versions of telerik I have installed at the moment.

    If something else is causing the exception to be thrown (which makes sense), the issue is that it either happened when I upgraded to the Q3 plugins, or something else I have done prior to that but never found out since you were handling the event in Just Code.

    Any way I can log the VS load process and check for exceptions, to try and track what is causing the issue?

    Also since clicking on the error icon in Just Code is not working, does Just Code log this errors somewhere so I can try to check for what is the exception?

    Cheers,

    Hugo

  26. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 24 Oct 2012 Link to this post

    Managed to get the exceptions:

    WPF Exception [HResult:80131500]

    System.Exception: The component 'Telerik.VSX.Shell.Xaml.CommonXaml' does not have a resource identified by the URI '/Telerik.VSX.Shell;component/xaml/commonxaml.xaml'.
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Telerik.VSX.Shell.Xaml.CommonXaml.InitializeComponent()
       at Telerik.VSX.Shell.VSWindow..ctor()
       at Telerik.VSX.Forms.BaseNotificationForm..ctor(IServiceProvider serviceProvider)
       at Telerik.VSX.Helpers.NotificationManager..ctor(IServiceProvider serviceProvider)
       at Telerik.KendoUI.Mvc.VSPackage.VsPackage.GetUpgradeAvailabilityMonitor()
       at Telerik.VSX.VSPackage.PackageBase.<>c__DisplayClass5.<OnSolutionOpened>b__2()
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Log Site Stacktrace:
       at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\Production_Release\Sources\Logging\ExceptionInfo.cs:line 91
       at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message) in c:\B10\Manticore\Production_Release\Sources\Logging\LogService.cs:line 129
       at Telerik.JustCode.Common.Logger.LogException(Exception ex, String message) in c:\B10\Manticore\Production_Release\Sources\Logging\Logger.cs:line 117
       at Telerik.JustCode.Services.VSApplicationService.#ASu(Object sender, DispatcherUnhandledExceptionEventArgs e) in c:\B10\Manticore\Production_Release\Sources\JustCode.Application\Services\VSApplicationService.cs:line 70
       at System.Windows.Threading.Dispatcher.CatchException(Exception e)
       at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
       at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)


    Second one:

    System.Exception: The component 'Telerik.VSX.Shell.Xaml.CommonXaml' does not have a resource identified by the URI '/Telerik.VSX.Shell;component/xaml/commonxaml.xaml'.
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at Telerik.VSX.Shell.Xaml.CommonXaml.InitializeComponent()
       at Telerik.VSX.Shell.VSWindow..ctor()
       at Telerik.VSX.Forms.BaseNotificationForm..ctor(IServiceProvider serviceProvider)
       at Telerik.VSX.Helpers.NotificationManager..ctor(IServiceProvider serviceProvider)
       at Telerik.KendoUI.Mvc.VSPackage.VsPackage.GetUpgradeAvailabilityMonitor()
       at Telerik.VSX.VSPackage.PackageBase.<>c__DisplayClass5.<OnSolutionOpened>b__2()
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
    Log Site Stacktrace:
       at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\Production_Release\Sources\Logging\ExceptionInfo.cs:line 91
       at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message) in c:\B10\Manticore\Production_Release\Sources\Logging\LogService.cs:line 129
       at Telerik.JustCode.Common.Logger.LogException(Exception ex, String message) in c:\B10\Manticore\Production_Release\Sources\Logging\Logger.cs:line 117
       at Telerik.JustCode.Services.VSApplicationService.#ASu(Object sender, DispatcherUnhandledExceptionEventArgs e) in c:\B10\Manticore\Production_Release\Sources\JustCode.Application\Services\VSApplicationService.cs:line 70
       at System.Windows.Threading.Dispatcher.CatchException(Exception e)
       at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
       at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.DispatcherOperation.InvokeImpl()
       at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Threading.DispatcherOperation.Invoke()
       at System.Windows.Threading.Dispatcher.ProcessQueue()
       at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)


  27. Ivan
    Admin
    Ivan avatar
    106 posts

    Posted 25 Oct 2012 Link to this post

    Hello,

    Thank you for your feedback. The Visual Studio crash is caused by this exception you posted. It is not caused by JustCode and that is why Visual Studio crashes with or without the latest internal build of JustCode.
    Please take a look at this forum thread which explains the issue and how to fix it.

    Greetings,
    Ivan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  28. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 25 Oct 2012 Link to this post

    Thank you for pointing me to the other thread Ivan.

    After upgrading the Kendo UI xtension to the latest build the exception no longer happened.

    I tried upgrading Just Code to Q3 1022 afterwards and the error was back again. (and the unresponsive error icon)

    Downgraded to Q2 and the error is gone.

    I think I will stick with Q2 for the moment.

    Cheers.
  29. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 30 Oct 2012 Link to this post

    Hello,

     @Hugo
    Did you upgrade all of your extension so they are all same version?
    Would you send us the logs from %localappdata%\JustCode\Logs?
    Meanwhile, we made a new internal build that would fix this issue. It will be released at the end of this week at the latest.
    Thanks and stay tuned.

    All the best,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  30. Guga
    Guga avatar
    29 posts
    Member since:
    May 2012

    Posted 30 Oct 2012 Link to this post

    Hi Zdravko,

    Yep, all of my extensions (except Just Code) are upgraded to the official Q3 release.

    Let me know where to send one of the logs and I will be happy to.

    I will give the new release a try and let you know how it goes.

    Cheers.
  31. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 02 Nov 2012 Link to this post

    Hello Hugo,

     The latest internal build is alive so give it a try.
    You can send the logs attached to a ticket, just write inside that it is related to this one.
    Thanks.

    I look forward to hearing from you.

    Greetings,
    Zdravko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner