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

[Android] System.Net.Http.Json.Functional.Tests fails on Android #52650

Closed
mdh1418 opened this issue May 12, 2021 · 2 comments · Fixed by #56852
Closed

[Android] System.Net.Http.Json.Functional.Tests fails on Android #52650

mdh1418 opened this issue May 12, 2021 · 2 comments · Fixed by #56852

Comments

@mdh1418
Copy link
Member

mdh1418 commented May 12, 2021

System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync

05-12 14:37:39.290  9809  9831 I DOTNET  : Failed tests:
05-12 14:37:39.291  9809  9831 I DOTNET  : 1) 	[FAIL] System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync   Test name: System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync
05-12 14:37:39.291  9809  9831 I DOTNET  :    Assembly:  [System.Net.Http
05-12 14:37:39.291  9809  9831 I DOTNET  : .Json.Functional.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
05-12 14:37:39.291  9809  9831 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Http.HttpClien
05-12 14:37:39.291  9809  9831 I DOTNET  : t.CreateDefaultHandler() in System.Net.Http.dll:token 0x6000248+0x25
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.HttpClient..ctor() in System.Net.Http.dll:token 0x6000204+0x0
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.Json.Functional.Tests.JsonContentTestsBase.JsonContentThrowsOnIncompatibleTypeAsy
05-12 14:37:39.291  9809  9831 I DOTNET  : nc() in /_/src/libraries/System.Net.Http.Json/tests/FunctionalTests/JsonContentTests.cs:line 148
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Privat
05-12 14:37:39.291  9809  9831 I DOTNET  : e.CoreLib.dll:token 0x6004a02+0x6a
05-12 14:37:39.291  9809  9831 I DOTNET  :    Execution time: 0.0048313
05-12 14:37:39.291  9809  9831 I DOTNET  : 
05-12 14:37:39.291  9809  9831 I DOTNET  : 2) 	[FAIL] System.Net.Http.Json.Functional.Tests.JsonContentTests_Async.JsonContentThrowsOnIncompatibleTypeAsync   Test name: System.Net.Http.Json.Functional.Tests.JsonContentTests_Async.JsonContentThrowsOnIncompatibleTypeAsync
05-12 14:37:39.291  9809  9831 I DOTNET  :    Assembly:  [System.Net.Ht
05-12 14:37:39.291  9809  9831 I DOTNET  : tp.Json.Functional.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
05-12 14:37:39.291  9809  9831 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Http.HttpCli
05-12 14:37:39.291  9809  9831 I DOTNET  : ent.CreateDefaultHandler() in System.Net.Http.dll:token 0x6000248+0x25
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.HttpClient..ctor() in System.Net.Http.dll:token 0x6000204+0x0
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.Json.Functional.Tests.JsonContentTestsBase.JsonContentThrowsOnIncompatibleTypeA
05-12 14:37:39.291  9809  9831 I DOTNET  : sync() in /_/src/libraries/System.Net.Http.Json/tests/FunctionalTests/JsonContentTests.cs:line 148
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Priv
05-12 14:37:39.291  9809  9831 I DOTNET  : ate.CoreLib.dll:token 0x6004a02+0x6a
05-12 14:37:39.291  9809  9831 I DOTNET  :    Execution time: 0.0002939
@mdh1418 mdh1418 added this to the 6.0.0 milestone May 12, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Net.Http untriaged New issue has not been triaged by the area owner labels May 12, 2021
@ghost
Copy link

ghost commented May 12, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync

05-12 14:37:39.290  9809  9831 I DOTNET  : Failed tests:
05-12 14:37:39.291  9809  9831 I DOTNET  : 1) 	[FAIL] System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync   Test name: System.Net.Http.Json.Functional.Tests.JsonContentTests_Sync.JsonContentThrowsOnIncompatibleTypeAsync
05-12 14:37:39.291  9809  9831 I DOTNET  :    Assembly:  [System.Net.Http
05-12 14:37:39.291  9809  9831 I DOTNET  : .Json.Functional.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
05-12 14:37:39.291  9809  9831 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Http.HttpClien
05-12 14:37:39.291  9809  9831 I DOTNET  : t.CreateDefaultHandler() in System.Net.Http.dll:token 0x6000248+0x25
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.HttpClient..ctor() in System.Net.Http.dll:token 0x6000204+0x0
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.Json.Functional.Tests.JsonContentTestsBase.JsonContentThrowsOnIncompatibleTypeAsy
05-12 14:37:39.291  9809  9831 I DOTNET  : nc() in /_/src/libraries/System.Net.Http.Json/tests/FunctionalTests/JsonContentTests.cs:line 148
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Privat
05-12 14:37:39.291  9809  9831 I DOTNET  : e.CoreLib.dll:token 0x6004a02+0x6a
05-12 14:37:39.291  9809  9831 I DOTNET  :    Execution time: 0.0048313
05-12 14:37:39.291  9809  9831 I DOTNET  : 
05-12 14:37:39.291  9809  9831 I DOTNET  : 2) 	[FAIL] System.Net.Http.Json.Functional.Tests.JsonContentTests_Async.JsonContentThrowsOnIncompatibleTypeAsync   Test name: System.Net.Http.Json.Functional.Tests.JsonContentTests_Async.JsonContentThrowsOnIncompatibleTypeAsync
05-12 14:37:39.291  9809  9831 I DOTNET  :    Assembly:  [System.Net.Ht
05-12 14:37:39.291  9809  9831 I DOTNET  : tp.Json.Functional.Tests, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
05-12 14:37:39.291  9809  9831 I DOTNET  :    Exception messages: System.NullReferenceException : Object reference not set to an instance of an object   Exception stack traces:    at System.Net.Http.HttpCli
05-12 14:37:39.291  9809  9831 I DOTNET  : ent.CreateDefaultHandler() in System.Net.Http.dll:token 0x6000248+0x25
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.HttpClient..ctor() in System.Net.Http.dll:token 0x6000204+0x0
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Net.Http.Json.Functional.Tests.JsonContentTestsBase.JsonContentThrowsOnIncompatibleTypeA
05-12 14:37:39.291  9809  9831 I DOTNET  : sync() in /_/src/libraries/System.Net.Http.Json/tests/FunctionalTests/JsonContentTests.cs:line 148
05-12 14:37:39.291  9809  9831 I DOTNET  :    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in System.Priv
05-12 14:37:39.291  9809  9831 I DOTNET  : ate.CoreLib.dll:token 0x6004a02+0x6a
05-12 14:37:39.291  9809  9831 I DOTNET  :    Execution time: 0.0002939

<table>
  <tr>
    <th align="left">Author:</th>
    <td>mdh1418</td>
  </tr>
  <tr>
    <th align="left">Assignees:</th>
    <td>-</td>
  </tr>
  <tr>
    <th align="left">Labels:</th>
    <td>

`area-System.Net.Http`, `os-android`, `untriaged`

</td>
  </tr>
  <tr>
    <th align="left">Milestone:</th>
    <td>6.0.0</td>
  </tr>
</table>
</details>

@mdh1418 mdh1418 removed the untriaged New issue has not been triaged by the area owner label May 12, 2021
@mdh1418
Copy link
Member Author

mdh1418 commented Aug 3, 2021

Just ran the test locally, and it passes

@mdh1418 mdh1418 self-assigned this Aug 3, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 4, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 5, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.