question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`GetCachedAdRewardsIfGetPaymentsEndPointReturnsNonHttpOk` intermittently throwing an exception

See original GitHub issue

GetCachedAdRewardsIfGetPaymentsEndPointReturnsNonHttpOk is intermittently crashing as per:

14:13:55  [ RUN      ] BatAdsAdRewardsIntegrationTest.GetCachedAdRewardsIfGetPaymentsEndPointReturnsNonHttpOk
14:13:55  [303588:303588:FATAL:unittest_util.cc(214)] Check failed: false. Missing MockUrlRequest endpoint response for https://ads-serve.brave.software/v1/confirmation/payment/c387c2d8-a26d-4451-83e4-5c0c6fd942be
14:13:55  [2373/2379] BatAdsAdRewardsIntegrationTest.GetCachedAdRewardsIfGetPaymentsEndPointReturnsNonHttpOk (CRASHED)

I’ve only seen this happen a handful of times so it’s a really rare intermittent issue but

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tmanceycommented, Aug 6, 2021

@kjozwiak this occurs when another crash fails and can be ignored. I will look into a workaround

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Throw Exceptions in Java - Rollbar
Throwing an exception is as simple as using the "throw" statement. You then specify the Exception object you wish to throw. Every Exception...
Read more >
Catching versus Throwing Exceptions in Java - Stack Overflow
Throwing Exceptions. In your first example, public void whileChatting() throws IOException{}. means that it will just throw the exception to ...
Read more >
Best Practice: Catching and re-throwing Java Exceptions - IBM
The correct way to catch and re-throw an exception is to pass the caught exception object as the "rootCause" or inner exception parameter...
Read more >
Trying, Throwing, and Catching an Exception | Saylor Academy
When an error or an exceptional condition is detected, you can throw an exception as a way of signaling the abnormal condition. This...
Read more >
Specifying the Exceptions Thrown by a Method
This Java tutorial describes exceptions, basic input/output, concurrency, regular expressions, and the platform environment.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found