Error not starting up.

Issue #92 resolved
Martijn Vriessen created an issue
Exception in thread "main" java.lang.NumberFormatException: null
 at java.lang.Integer.parseInt(Integer.java:417)
 at java.lang.Integer.parseInt(Integer.java:499)
 at net.mms_projects.copy_it.ApplicationLock.isRunning(ApplicationLock.java:78)
 at net.mms_projects.copyit.app.CopyItDesktop.run(CopyItDesktop.java:96)
 at net.mms_projects.copyit.app.CopyItDesktop.main(CopyItDesktop.java:42)

When I start the desktop version in Eclipse.

Comments (4)

  1. Marlin Cremers

    The application lock now checks for empty lock files which resolves issue #92

    The old version lock system created a empty lock file. Because the newer version tried to parse the lock file's content to a integer it crashed because this caused a NullPointerException. This has resolved by simply doing a null check.

    → <<cset 97fe5783f2a8>>

  2. Log in to comment