Skip to content
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

OptionParser exception #67

Closed
jiteshvassa opened this issue Aug 5, 2016 · 5 comments
Closed

OptionParser exception #67

jiteshvassa opened this issue Aug 5, 2016 · 5 comments

Comments

@jiteshvassa
Copy link

I've recently started to see an exception when attempting to run the plugin through Eclipse Version: Mars.2 Release (4.5.2), Build id: 20160218-0600

Here's the full stack:

Exception in thread "main" java.lang.NoSuchMethodError: joptsimple.OptionParser.acceptsAll(Ljava/util/List;Ljava/lang/String;)Ljoptsimple/OptionSpecBuilder;
at org.pitest.mutationtest.commandline.OptionsParser.(OptionsParser.java:122)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:36)
at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46)
at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)

@philglover
Copy link
Collaborator

I'm on vacation and unable to look at this for a week. Can I suggest you uninstall the plugin and install from the following update site http://eclipse.pitest.org/release-pre-juno/

@jiteshvassa
Copy link
Author

Thanks, that resolves the issue.

@philglover
Copy link
Collaborator

Glad to hear it. I don't suppose the project exhibiting this issue is open source is it? Would help me write a test to prevent it happening again.

@jiteshvassa
Copy link
Author

I'm afraid that the project isn't open source.

I'm wondering if the Eclipse installation may have been corrupted or perhaps the workspace, since I'm sure that I'd used it on that specific project before.

@philglover
Copy link
Collaborator

I think this and #66 are the same issue. If for some reason old versions of the plugins are there, I think it may load all of them. Classic behaviour for NoSuchMethod Error. Investigating #66 now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants