Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

An exception was thrown #10

Open
oleksii-frolov opened this issue Jun 15, 2015 · 2 comments
Open

An exception was thrown #10

oleksii-frolov opened this issue Jun 15, 2015 · 2 comments

Comments

@oleksii-frolov
Copy link

I am not sure hot to reproduce that but we have these details.
Log

20150615-154242T-07 - webOS Socket [OUT]: {"type":"request","id":"53","uri":"ssap://webapp/launchWebApp","payload":{"webAppId":"MediaPlayer"}}
20150615-154242T-07 - webOS Socket [IN] : {"type":"response","id":"53","payload":{"returnValue":true,"sessionId":"Y29tLndlYm9zLmFwcC53ZWJhcHBob3N0OnVuZGVmaW5lZA=="}}
20150615-154242T-07 - Found requests. Need to handle response.
20150615-154242T-07 - webOS Socket [OUT]: {"type":"subscribe","id":"55","uri":"ssap://webapp/connectToApp","payload":{"webAppId":"MediaPlayer"}}
20150615-154242T-07 - webOS Socket [IN] : {"type":"error","id":"55","error":"500 Application error","payload":{"returnValue":false,"errorCode":-1000,"errorText":"Already connected or connecting to this app channel"}}
20150615-154242T-07 - Error payload: Windows.Data.Json.JsonObject
20150615-154242T-07 - Error desc:  Application error
20150615-154242T-07 - webOS Socket [OUT]: {"type":"unsubscribe","id":"55"}
A first chance exception of type 'System.Exception' occurred in ConnectSdk.Demo.Windows.exe
A first chance exception of type 'System.Exception' occurred in ConnectSdk.Windows.DLL

Exception details:

System.Exception was unhandled by user code
  HResult=-2147023728
  Message=Element not found. (Exception from HRESULT: 0x80070490)
  Source=Windows.UI
  StackTrace:
       at Windows.UI.Popups.MessageDialog.ShowAsync()
       at ConnectSdk.Demo.Demo.Model.<PlayMediaCommandxecute>b__1d(ServiceCommandError serviceCommandError)
       at ConnectSdk.Windows.Service.Capability.Listeners.ResponseListener.OnError(ServiceCommandError obj)
       at ConnectSdk.Windows.Core.Util.PostError(ResponseListener listener, ServiceCommandError error)
       at ConnectSdk.Windows.Service.Sessions.WebOsWebAppSession.<>c__DisplayClass40.<PlayMedia>b__3e(ServiceCommandError serviceCommandError)
       at ConnectSdk.Windows.Service.Capability.Listeners.ResponseListener.OnError(ServiceCommandError obj)
       at ConnectSdk.Windows.Service.Sessions.WebOsWebAppSession.<>c__DisplayClassb.<SendP2PMessage>b__8(ServiceCommandError serviceCommandError)
       at ConnectSdk.Windows.Service.Capability.Listeners.ResponseListener.OnError(ServiceCommandError obj)
       at ConnectSdk.Windows.Service.Sessions.WebOsWebAppSession.<>c__DisplayClass5.<Connect>b__3(ServiceCommandError serviceCommandError)
       at ConnectSdk.Windows.Service.Capability.Listeners.ResponseListener.OnError(ServiceCommandError obj)
       at ConnectSdk.Windows.Core.Util.PostError(ResponseListener listener, ServiceCommandError error)
       at ConnectSdk.Windows.Service.WebOstvService.<>c__DisplayClass8c.<ConnectToWebApp>b__8b(ServiceCommandError serviceCommandError)
       at ConnectSdk.Windows.Service.Capability.Listeners.ResponseListener.OnError(ServiceCommandError obj)
       at ConnectSdk.Windows.Core.Util.PostError(ResponseListener listener, ServiceCommandError error)
       at ConnectSdk.Windows.Service.WebOs.WebOstvServiceSocketClient.HandleConnectionLost(Boolean cleanDisconnect, Exception ex)
       at ConnectSdk.Windows.Service.WebOs.WebOstvServiceSocketClient.OnClose(Int32 code, String reason)
       at ConnectSdk.Windows.Service.WebOs.WebOstvServiceSocketClient.<CreateSocket>b__1(IWebSocket sender, WebSocketClosedEventArgs args)
  InnerException: 
@sdaemon
Copy link
Contributor

sdaemon commented Jun 16, 2015

what device was it?

@oleksii-frolov
Copy link
Author

It was Nokia Lumia 620 connected to LG TV with WebOS. Probably we turned off the TV when the app was connected and after that it happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants