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

second opening of the search results triggers error #59

Open
musketyr opened this issue Dec 2, 2022 · 0 comments
Open

second opening of the search results triggers error #59

musketyr opened this issue Dec 2, 2022 · 0 comments

Comments

@musketyr
Copy link
Collaborator

musketyr commented Dec 2, 2022

  1. use pierrot search
  2. type o to open result on GitHub
  3. type ENTER to move to another result
  4. type o to open result on GitHub
  5. exception is thrown
------------------------------------------------------------------------------------------------------------------------
ENTER=continue, q=quit, a=all, o=open on GitHub: o
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
	at [email protected]/java.awt.Desktop.isDesktopSupported(Desktop.java:328)
	at com.agorapulse.pierrot.cli.mixin.SearchMixin.open(SearchMixin.java:158)
	at [email protected]/java.util.Optional.ifPresent(Optional.java:183)
	at com.agorapulse.pierrot.cli.mixin.SearchMixin.paginate(SearchMixin.java:138)
	at com.agorapulse.pierrot.cli.mixin.SearchMixin.lambda$searchContent$1(SearchMixin.java:82)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at [email protected]/java.util.stream.WhileOps$1$1.accept(WhileOps.java:99)
	at [email protected]/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at [email protected]/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at [email protected]/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
	at [email protected]/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
	at [email protected]/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
	at [email protected]/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
	at [email protected]/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at [email protected]/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at [email protected]/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at [email protected]/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at com.agorapulse.pierrot.cli.mixin.SearchMixin.searchContent(SearchMixin.java:82)
	at com.agorapulse.pierrot.cli.SearchCommand.run(SearchCommand.java:46)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1939)
	at picocli.CommandLine.access$1300(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
	at picocli.CommandLine.execute(CommandLine.java:2078)
	at com.agorapulse.pierrot.cli.PierrotCommand.execute(PierrotCommand.java:115)
	at com.agorapulse.pierrot.cli.PierrotCommand.main(PierrotCommand.java:88)
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

1 participant