-
Notifications
You must be signed in to change notification settings - Fork 15
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
Null pointer exception on generate #64
Comments
Thats pretty strange, this could only happen if the kernel plugin wouldn't get initialized at all, which usually would result in all kind of other errors. Might be a problem with initialization order that find usages is loaded before the kernel is fully initialized. But is seems like the error is anyway only thrown when the idea application is ready disposing. Did it generate any files? If no there might be an error before, or for some reason MPS decided that our default "guess" on the facets involved in the make session isn't enough for your set up. I will check that first, at least the error seems unrelated to generating the project. Unfortunately there is a little bit of hit and miss involved when running the make session from the command line as collecting the involved facets is tricky. That |
The project is actually very simple: it contains a simple language and one sandbox. These are the logs with the project open:
It seems to say there is nothing to generate |
I have a suspicion what the problem is. I haven't gotten around to fix, unfortunately my time for the side projects is limited at the moment. Do you need this problem fixed in 2019.3 or would it be enough to fix it for 2020.1 and forward? |
I am currently using 2019.3 on this project, we no date set for migration, but at some point we will migrate, I think |
when running the
generate
task it fails showing a NPE:I am using MPS 2019.3.1, so I think that the relevant line of
ModelInputStream
is this: https://github.com/JetBrains/MPS/blob/5ba63e438847f4ec758bf1bf3175eb94de281012/core/kernel/source/jetbrains/mps/util/io/ModelInputStream.java#L187It seems that
PersistenceFacade.getInstance()
is null.This could be perhaps related to a previous error:
Consider that I have cleaned everything, including that supposedly corrupted file and I still get this error running the
generate
task on a fresh checkoutThe text was updated successfully, but these errors were encountered: