This is a migrated thread and some comments may be shown as answers.

Attach Profiler to running application - Empty process list - Exception

6 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sreeram
Top achievements
Rank 1
Sreeram asked on 27 Apr 2011, 09:35 PM
Hello,

I have attempted to attach Just Trace Profiller to a running winforms application process. JustTrace Process list shows empty and right click on the list area (to see if refresh is an option) throws the following exception

---------------------------
Error
---------------------------
An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!



System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.

   at Telerik.JustTrace.RunningApplicationLocatorData.SetUpSessionConfiguration(SessionData sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\RunningApplicationLocatorData.cs:line 67

   at Telerik.JustTrace.SessionData..ctor(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\SessionData.cs:line 29

   at Telerik.JustTrace.PerformanceSessionData..ctor(ISetupProfiling sessionConfiguration, Process process) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\Base\PerformanceSessionData.cs:line 14

   at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#FJ(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 163

   at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#DJ(ISetupProfiling sessionConfiguration) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 125

   at Telerik.JustTrace.ProfileSetupAndSessionPresenter.#IJ(ISetupProfiling session) in c:\B\Minotaur\JustTrace CI Build\Sources\Telerik.JustTrace.SessionAnalysis\ProfileSetupAndSession\ProfileSetupAndSessionPresenter.cs:line 16777215

   --- End of inner exception stack trace ---

   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.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
---------------------------
OK   
---------------------------

6 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 28 Apr 2011, 09:50 AM
Hello Sreeram,

Thank you for reporting this bug. We will prove a fix in the next release.

Regards,
Mike
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Stuart Hemming
Top achievements
Rank 2
answered on 01 May 2011, 12:26 AM
FWIW, I just had this too under Win7 x64.

-- 
Stuart
0
Vladi
Telerik team
answered on 30 May 2011, 04:11 PM
Hello Everyone,

There is a new JustTrace Beta version which has a fix for the reported problem. Please download and install it, and let us know if you still have troubles. Any other feedback will be also very helpful.

Best wishes,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
stijn
Top achievements
Rank 1
answered on 21 Jun 2011, 12:41 PM
Hi,

I just downloaded and installed the latest version but when I want to profile a running application my processes list is empty.

I don't get any errormessages.

Any advice?
0
Vladi
Telerik team
answered on 21 Jun 2011, 03:19 PM
Hi stijn,

Thank you for your feedback. We are aware of this kind of issue and have prepared a fix for it. We are planning a new Beta version which will include this fix and lot's of other fixes and new functionalities too. The new version will be available in less than a week and I will notify you again when it is published.

Thanks again for reporting this issue and I'm sorry for any inconvenience we might have caused.

Kind regards,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Vladi
Telerik team
answered on 28 Jun 2011, 03:37 PM
Hello stijn,

 
The new Beta is published and this issue should be resolved. Please give it a try and let us know if you still experience the same issue.

Best wishes,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Sreeram
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Stuart Hemming
Top achievements
Rank 2
Vladi
Telerik team
stijn
Top achievements
Rank 1
Share this question
or