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

Trouble Running in Simulator

7 Answers 104 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerry
Top achievements
Rank 1
Jerry asked on 16 May 2013, 08:47 PM
I am trying to run a project in Simulator, i'm getting the following error

[2013-05-16 16-41-26-88] Log (Exception,High): System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.Services.SimulatorLoadService.OnSimulatorDataChanged(Object sender, SimulatorDataChangedEventArgs e)
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.Services.SimulatorDataService.RaiseSimulatorDataChanged(String updateScript)
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.Services.SimulatorDataService.OnSimulatorDataUpdated(Object sender, EventArgs args)
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.ViewModels.SimulatorViewModel.RaiseSimulatorDataUpdated()
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.ViewModels.SimulatorViewModel.set_CurrentOrientation(Orientation value)
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.ViewModels.SimulatorDialogViewModel.ShiftOrientation(Int32 shiftOffset)
   at Telerik.BlackDragon.Client.Mobile.MobileSimulator.ViewModels.SimulatorDialogViewModel.OnRotateRight()
   at Telerik.BlackDragon.Client.UI.Commands.DelegateCommand.#6o.#4o(Object #R8b)
   at Telerik.BlackDragon.Client.UI.Commands.DelegateCommandBase.Execute(Object parameter)
   at Telerik.BlackDragon.Client.UI.Commands.DelegateCommandBase.#Hk(Object #E7b)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Telerik.Windows.Controls.RadButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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)

I tried running in different machine its working. I don't know what the problem is with my machine.

Any help will be appreciated.

Thanks

7 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 17 May 2013, 07:10 AM
Hello AJAY,

Are you by any chance trying to interact with the simulator functionality before it has completely loaded? Try waiting for the simulator to load and your app to show in it, before you try to do anything with it and let us know if you're still having problems.

Still you should not receive any errors in this situation and we have logged a task for improving this behavior - thank you for the involvement.

Kind regards,
Steve
the Telerik team

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Jerry
Top achievements
Rank 1
answered on 18 May 2013, 12:31 AM
That didn't work. I uninstalled ICenium and tried to re install again  i am getting following error

PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.17929
System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
clr.dll : 4.0.30319.17929 built by: FX45RTMREL
dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
dfshim.dll : 4.0.41209.0 (Main.041209-0000)

SOURCES
Deployment url : http://cdn.icenium.com/live/graphite/publish/Icenium.Graphite.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://cdn.icenium.com/live/graphite/publish/Icenium.Graphite.application resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [5/17/2013 8:27:12 PM] : Activation of http://cdn.icenium.com/live/graphite/publish/Icenium.Graphite.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [5/17/2013 8:27:12 PM] System.Runtime.InteropServices.COMException
- The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
at System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.Application.SubscriptionState.Validate()
at System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
0
Steve
Telerik team
answered on 18 May 2013, 07:20 AM
Hello AJAY,

Judging by the error you’ve provided, the problem might be due to a corrupt Microsoft ClickOnce app store. This is essentially the location on your hard drive where Windows caches per-user applications, such as Icenium Graphite. Try the following steps to address the problem:
  1. From the Windows Start menu choose Run (Or Windows Key + R)
  2. Enter the following , then click the OK button:
    %userprofile%\AppData\Local\Apps
    (e.g. C:\users\Username\AppData\Local\Apps)
  3. Delete the 2.0 folder
  4. Delete content of %localappdata%\Telerik\BlackDragon\Cache folder.
  5. Run or Install Icenium Graphite

If the above does not help, can you share whether you’re logged in as a regular user or guest? If you drill down to the .exe file in the ClickOnce cache (search for Icenium.Graphite.exe in %userprofile%\AppData\Local\Apps) and double-click on it, does the application run?


Greetings,
Steve
the Telerik team

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Jerry
Top achievements
Rank 1
answered on 20 May 2013, 04:15 AM
That helped Steve. I am able to install Graphite. When I run a project in simulator nothing shows up, when I try the same in MIST its working. 

I tried these following step 

Just to make sure - you're using Graphite IDE, correct? If that is the case, please try the following:
  •  Clear content of %localappdata%\Telerik\BlackDragon\Cache folder.
  • Restart Graphite.
If that does not make any difference, try the following:
  1. Launch Graphite
  2. Open Task Manager, locate Icenium.Graphite.exe in the Processes tab, right-click and choose Open File Location
  3. Uninstall Graphite from Control Panel > Programs and Features > Add/Remove Programs.
  4. Delete the folder opened in Step 2.
  5. Install Graphite again.
It didnt work.



0
Steve
Telerik team
answered on 20 May 2013, 09:45 AM
Hi AJAY,

The only project we found under your account is the default Kendo UI mobile app which starts and runs fine in the Graphite simulator on our end. Can you clone any of our sample projects in Graphite and try to run them in the simulator - do they run? If the problem occurs with a different project, please provide us with the email you use as login and the name of the app, so we can test it on our end and identify what is going wrong.

Greetings,
Steve
the Telerik team

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
0
Jerry
Top achievements
Rank 1
answered on 20 May 2013, 05:27 PM
I cloned project that is not running into my account(smartreach). Can you take a look and let me what is the issue.


Thanks
0
Steve
Telerik team
answered on 22 May 2013, 12:15 PM
Hi AJAY,

Your project works fine in the Graphite simulator on our end, so try the following:
  1. Export your project as .zip archive from the DashBoard -> the icon that looks like right turn sign.
  2. Create new project and add your exported project to it (Add -> From Archive).
  3. Run it in the simulator.
Also please note that you do not have to include the bundle prefix (Seed ID) in the identifier, an in fact this would cause problems with iOS provisioning.e.g.

CHSQ3M3P12.com.telerik.yourapp should be just com.telerik.yourapp.

Regards,
Steve
Telerik

Don't miss the Icenium May Release Keynote - sign up now!
Share feedback and vote for features on our Feedback Portal.
Tags
AppBuilder Windows client
Asked by
Jerry
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jerry
Top achievements
Rank 1
Share this question
or