Menu

#395 Startup Error on Java 18

v2.7
closed-fixed
None
9
2023-09-15
2022-06-17
David Tuma
No

If you try to run the Process Dashboard with Java 18 or higher, you will receive an "Unexpected Error During Startup" message. The error trace will begin with:

java.lang.SecurityException: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release

This problem only occurs on Java 18 or higher. A fix is available in the beta release, Process Dashboard version 2.6.11.

Another option is to use any version of Java from Java 6 to Java 17.

Discussion

  • Max A. Hinkley

    Max A. Hinkley - 2023-04-06

    This also fixed an issue when the Work Breakdown Structure editor failed to launch following a Java update. I determined that this was the issue by observing the errors when I attempted to open the editor from the Team Project Tools page.

     
  • David Tuma

    David Tuma - 2023-05-03
    • Group: Incoming --> Fix Available
     
  • David Tuma

    David Tuma - 2023-05-03
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,9 +2,6 @@
    
     > java.lang.SecurityException: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release
    
    -This problem only occurs on Java 18 or higher. A fix will be coming soon. In the meantime, you can resolve the problem by adding an argument to the dashboard command line:
    -`-Dnet.sourceforge.processdash.disableSecurityManager=true`
    -
    -If you are on Windows, you can do this by adding a new line to the **ProcessDashboard.l4j.ini** file (which is in the directory where you installed the Process Dashboard application).
    +This problem only occurs on Java 18 or higher. A fix is available in the [beta release](https://www.processdash.com/download/#beta), Process Dashboard version 2.6.11. 
    
     Another option is to use any version of Java from Java 6 to Java 17.
    
     
  • David Tuma

    David Tuma - 2023-09-15
    • status: open --> closed-fixed
    • Group: Fix Available --> v2.7
     
  • David Tuma

    David Tuma - 2023-09-15

    Fixed in Process Dashboard version 2.7

     

Log in to post a comment.