Help with Java Error

Need some help on a project you are working on or got stuck on a tutorial? Post your questions here.
Post Reply
cuthbertsj
Posts: 7
Joined: January 26th, 2018, 1:33 pm

Help with Java Error

Post by cuthbertsj » February 2nd, 2018, 2:01 pm

Hello,

I am fairly new to this process, I was going through the first IO tutorial and ran into a problem. My IDE crashed on me while I was building a project and now I am getting a weird error:

java.lang.NullPointerException
at com.embeddedmicro.mojo.project.Project.getModuleFromFile(Project.java:1021)
at com.embeddedmicro.mojo.project.Project.getModuleList(Project.java:1044)
at com.embeddedmicro.mojo.project.ProjectBuilder.checkForErrors(ProjectBuilder.java:544)
at com.embeddedmicro.mojo.project.ProjectBuilder.projectBuilder(ProjectBuilder.java:145)
at com.embeddedmicro.mojo.project.ProjectBuilder.access$1(ProjectBuilder.java:90)
at com.embeddedmicro.mojo.project.ProjectBuilder$2.run(ProjectBuilder.java:75)

I copied everything to a new project to see if that would fix it but had no luck.

Any advice would be greatly appreciated!

Thanks,
Joe

embmicro
Site Admin
Posts: 834
Joined: March 24th, 2013, 12:45 pm

Re: Help with Java Error

Post by embmicro » February 5th, 2018, 11:08 am

Hey Joe,

Can you post your project files? Looks like you've discovered some bug.

Justin

cuthbertsj
Posts: 7
Joined: January 26th, 2018, 1:33 pm

Re: Help with Java Error

Post by cuthbertsj » April 5th, 2018, 2:43 pm

Hello,

Sorry it took me so long to respond. I got side tracked with other projects.

Another newbie question: When I try and attach my project files it says they are not a supported type, how do I fix that?

Thanks,
Joe

cuthbertsj
Posts: 7
Joined: January 26th, 2018, 1:33 pm

Re: Help with Java Error

Post by cuthbertsj » April 11th, 2018, 1:04 pm

So basically what is happening is half the time I go to build the project it gets too " ***Running bitgen " and then sits there for 15 to 20 minutes. At which point I try and hit cancel build. Then the program crashes and when I restart it I get all sorts of errors when trying to build a project again.

Did that make sense?

-Joe

embmicro
Site Admin
Posts: 834
Joined: March 24th, 2013, 12:45 pm

Re: Help with Java Error

Post by embmicro » April 24th, 2018, 4:22 pm

Hey Joe,

You need to zip the project files first.

This is really weird. Seems like something is wrong with ISE/PlanAhead. You can try fully removing it and redownloading/installing. Make sure to follow the random work-arounds outlined here https://embeddedmicro.com/pages/installing-ise

Justin

Post Reply