wpilibsuite / PathWeaver

Desktop application for generating motion paths
Other
65 stars 68 forks source link

Can only generate one path. Every path after generates ClassNotFoundException: MatchInfoData #165

Closed Gregadeaux closed 3 years ago

Gregadeaux commented 4 years ago

Describe the bug
On a fresh build, I was able to create a path, and then export it to json. But every other path I tried to make (or when I tried to update the original path), I received a ClassNotFoundException and it was not able to export the path.

image

Running on Windows.

carbotaniuman commented 4 years ago

I cannot reproduce this. Can you send your project folder?

agasser commented 4 years ago

I was getting this last night when running PathWeaver on master with gradle run. I think it had to do with an incompatible version of WPILib, or maybe a bad WPILib build snapshot.

I worked around it by changing the WPILib version range to 2019.1.2 in build.gradle.kts.

    compile(group = "edu.wpi.first.wpiutil", name = "wpiutil-java", version = "2020.1.2")
    compile(group = "edu.wpi.first.wpilibj", name = "wpilibj-java", version = "2020.1.2")
carbotaniuman commented 4 years ago

Ughhh. I know what's going on now. If you try and generate an invalid path it breaks. I'll push an update today or tommorow.

agasser commented 4 years ago

Yeah, my workaround above was a fluke.

jasondaming commented 3 years ago

@carbotaniuman can you look at this again or more fully explain what is going on?

jasondaming commented 3 years ago

Closing as fixed via #169