This question is locked. New answers and comments are not allowed.
Currently I experience the following issue when trying to extract methods from the Sitefinity Dlls (Using Visual Studio 2012 and the latest Just Code internal Build):
I am unable to extract any method bodys for a certain type, the "Decompile" option just stays greyed out. When looking into the JustCode log-files I see a lot of the following exceptions:
SILENT 2012-11-14 16:15:01.946 : Try to get VS property TextEditor\JScript\AutoListMembers.
SILENT 2012-11-14 16:15:01.948 : System.Runtime.InteropServices.COMException (0x8002000B): Ungültiger Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
at EnvDTE._DTE.get_Properties(String Category, String Page)
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetProperty(_DTE dte, String category, String page, String name) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 356
Log Site Stacktrace:
at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 91
at Telerik.JustCode.Common.Logging.LogService.LogSilently(Exception exception) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 215
at Telerik.JustCode.Common.Logging.LogService.LogSilently(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 238
at Telerik.JustCode.Common.Logger.LogSilently(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\Logger.cs:line 213
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetProperty(_DTE dte, String category, String page, String name) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 363
at Telerik.JustCode.Services.DTEPropertiesExtensions.#Tcb(_DTE dte, Language language) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 271
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetLanguageAutoCodeComplition(_DTE dte, Language language) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 209
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.#4ab() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 92
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.Start() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 70
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.DisableVsOptions(_DTE dte) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 47
at Telerik.JustCode.Services.VSEditorService.BeginBatchModifications() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\EditorService\VSEditorService.cs:line 3154
at Telerik.JustCode.UserInterface.ModificationManager.#xl(List`1 modifications, #A confirmationResult, CancelableEventArgs cancelArgs) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\ModificationManager\ModificationManager.cs:line 402
at Telerik.JustCode.UserInterface.ModificationManager.ApplyModifications(List`1 modifications, Boolean cancelable) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\ModificationManager\ModificationManager.cs:line 16777215
at Telerik.JustCode.CommonLanguageModel.Data.Modifications.ModificationEditorUIBase.#eHb(ModificationsData data, Action`1 continueInEngine) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Data.Core\Modifications\ModificationEditorUIBase.cs:line 105
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Telerik.JustCode.CommonLanguageModel.MultiplexingEngineDataHandlerBase.InvokeHandleDataMember(Object handler, Action`1 continueInEngine, IEngineData data) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Data\MultiplexingEngineDataHandlerBase.cs:line 34
at #u.#L.#p.#S.#Gp() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\UIThreadEngineDataHandlerMultiplexer.cs:line 51
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Telerik.JustCode.Services.VSApplicationService.#p.#V.#Sqb() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\VSApplicationService.cs:line 522
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
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.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.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)
Any ideas on how to fix this? Thanks in advance for any help!
I am unable to extract any method bodys for a certain type, the "Decompile" option just stays greyed out. When looking into the JustCode log-files I see a lot of the following exceptions:
SILENT 2012-11-14 16:15:01.946 : Try to get VS property TextEditor\JScript\AutoListMembers.
SILENT 2012-11-14 16:15:01.948 : System.Runtime.InteropServices.COMException (0x8002000B): Ungültiger Index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
at EnvDTE._DTE.get_Properties(String Category, String Page)
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetProperty(_DTE dte, String category, String page, String name) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 356
Log Site Stacktrace:
at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\ExceptionInfo.cs:line 91
at Telerik.JustCode.Common.Logging.LogService.LogSilently(Exception exception) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 215
at Telerik.JustCode.Common.Logging.LogService.LogSilently(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\LogService.cs:line 238
at Telerik.JustCode.Common.Logger.LogSilently(Exception exception, String message) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\Logging\Logger.cs:line 213
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetProperty(_DTE dte, String category, String page, String name) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 363
at Telerik.JustCode.Services.DTEPropertiesExtensions.#Tcb(_DTE dte, Language language) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 271
at Telerik.JustCode.Services.DTEPropertiesExtensions.GetLanguageAutoCodeComplition(_DTE dte, Language language) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\DTEPropertiesExtensions.cs:line 209
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.#4ab() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 92
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.Start() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 70
at Telerik.JustCode.Application.OperationManagers.VsOptionsManager.DisableVsOptions(_DTE dte) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\OperationManagers\VsOptionsManager.cs:line 47
at Telerik.JustCode.Services.VSEditorService.BeginBatchModifications() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\EditorService\VSEditorService.cs:line 3154
at Telerik.JustCode.UserInterface.ModificationManager.#xl(List`1 modifications, #A confirmationResult, CancelableEventArgs cancelArgs) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\ModificationManager\ModificationManager.cs:line 402
at Telerik.JustCode.UserInterface.ModificationManager.ApplyModifications(List`1 modifications, Boolean cancelable) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\ModificationManager\ModificationManager.cs:line 16777215
at Telerik.JustCode.CommonLanguageModel.Data.Modifications.ModificationEditorUIBase.#eHb(ModificationsData data, Action`1 continueInEngine) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Data.Core\Modifications\ModificationEditorUIBase.cs:line 105
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Telerik.JustCode.CommonLanguageModel.MultiplexingEngineDataHandlerBase.InvokeHandleDataMember(Object handler, Action`1 continueInEngine, IEngineData data) in c:\B10\Manticore\ProductionTrial_Release\Sources\source\CommonLanguageModel.Data\MultiplexingEngineDataHandlerBase.cs:line 34
at #u.#L.#p.#S.#Gp() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\UserInterface\UIThreadEngineDataHandlerMultiplexer.cs:line 51
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Telerik.JustCode.Services.VSApplicationService.#p.#V.#Sqb() in c:\B10\Manticore\ProductionTrial_Release\Sources\source\JustCode.Application\Services\VSApplicationService.cs:line 522
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
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.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.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)
Any ideas on how to fix this? Thanks in advance for any help!