Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Warnings when running a GUI testcase

Open
#274 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
desktop, testing

Research direction

Start by reproducing the Swing test and tracing the repeated warnings from org.assertj.swing.monitor.ProtectingTimerTask. Identify which timer produces the messages and document how its interval can be increased; done means the configuration is clear and the warnings are limited during the test run.

Written by the indexing model from the issue text.

Description

When I run a Swing test, I get during the test run the following messages:
...
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
jul. 18,2023 08:12 WARNING Exception thrown by a TimerTask org.assertj.swing.monitor.ProtectingTimerTask ; handleException
...

Which timer can I increase to limit the messages?
And how do I do it?

Dominant language
Java
Stars
121
Forks
52
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from assertj/assertj-swing

All issues in assertj/assertj-swing

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.