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

Fix NullPointerException in LogView #2508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 11, 2024

  1. Fix NullPointerException in LogView

    This commit addresses an occasionally occurring NullPointerException in the LogView class:
    ```
    LogListener.logged threw a non-fatal unchecked exception as follows:
    java.lang.NullPointerException: Cannot invoke "org.eclipse.jface.action.Action.isChecked()" because "this.fActivateViewAction" is null
    	at org.eclipse.ui.internal.views.log.LogView.asyncRefreshAndActivate(LogView.java:1253)
    	at org.eclipse.ui.internal.views.log.LogView.pushEntry(LogView.java:1212)
    	at org.eclipse.ui.internal.views.log.LogView.logged(LogView.java:1143)
    	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:108)
    	at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory$LogTask.run(ExtendedLogReaderServiceFactory.java:56)
    	at org.eclipse.osgi.internal.log.OrderedExecutor$OrderedTaskQueue$OrderedTask.run(ExtendedLogReaderServiceFactory.java:458)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    	at java.base/java.lang.Thread.run(Thread.java:1583)
    ```
    sebthom authored and vogella committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    8eb74c7 View commit details
    Browse the repository at this point in the history