itemisCREATE / statecharts

YAKINDU Statechart Tools (http://www.statecharts.org)
Eclipse Public License 1.0
176 stars 86 forks source link

Floating License: Crash when license is already in use #2735

Closed DanielBernhard closed 5 years ago

DanielBernhard commented 5 years ago

Using eclipse oxgen with yakindu 3.3 (as available through marketplace) I get strange behavior when our floating license is not available:

  1. The first time the license is not available, everything works as intended (diagrams are readonly, license is shown as "missing").
  2. When restarting eclipse now (and the license is still missing) I cannot view the diagrams anymore (empty page is displayed).
  3. When going to the preferences "YAKINDU Licenses" an error message pops up: "The currently displayed page contains invalid values".
  4. To actually see the page I need to switch pages a couple of times. All boxes in the dialog are empty now (except for Port which is set to 6200).
  5. When I re-enter our license server details and press "Apply and Close" I get the an exception dialog: "Could not initialize class com.yakindu.licmgmt.IEclipseLicenseService" (see attached log file)
  6. The only approach I currently now to "fix" the problem is to switch workspaces. The first time after switching workspace everything works fine again. Eclipse.log EclipseConfig.txt
tkutz commented 5 years ago

It is hard to say what went wrong in your case. Your eclipse config says that you have SCT 3.5.3 installed, so I guess you installed the (outdated) 3.3.0 from marketplace and then did an update to 3.5.3. Somewhere on that route the license relevant plugins got confused/corrupted.

You can try to start your Eclipse from command line with "-clean" option, this should clean up some caches.

If that does not work, I suggest to install a fresh 3.5.3 version of yakindu.

tkutz commented 5 years ago

@DanielBernhard Did you manage to setup your SCT properly or do you need more help?

DanielBernhard commented 5 years ago

Sorry for the delay in answering: The problem persists (current not very urgent as I'm working on a different part of the project, but ...) I actually deleted my existing workspace, reinstalled eclipse from scratch. No help... The first time works, later it doesn't...

andreasmuelder commented 5 years ago

@DanielBernhard thanks for the reply. We found an issue an this will be fixed with the upcoming 3.5.5 version we plan to release next week.

andreasmuelder commented 5 years ago

we released the bugfix today - please reopen if the error still exists

DanielBernhard commented 5 years ago

Looks good so far. Thanks a lot!