You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this pretty weird stack trace. Would be great to throw a more context-rich error message.
Caused by: java.lang.IllegalArgumentException: No value present
at org.eolang.maven.ParseMojo.exec (ParseMojo.java:162)
at org.eolang.maven.SafeMojo.lambda$execWithTimeout$3 (SafeMojo.java:315)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.util.concurrent.ExecutionException: java.util.NoSuchElementException: No value present
at java.util.concurrent.FutureTask.report (FutureTask.java:122)
at java.util.concurrent.FutureTask.get (FutureTask.java:191)
at org.eolang.maven.ParseMojo.exec (ParseMojo.java:159)
at org.eolang.maven.SafeMojo.lambda$execWithTimeout$3 (SafeMojo.java:315)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
Caused by: java.util.NoSuchElementException: No value present
at java.util.Optional.get (Optional.java:148)
at com.yegor256.tojos.MonoTojo.get (MonoTojo.java:73)
at org.eolang.maven.ParseMojo.parse (ParseMojo.java:196)
at org.eolang.maven.ParseMojo.lambda$exec$1 (ParseMojo.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)
The text was updated successfully, but these errors were encountered:
I'm getting this pretty weird stack trace. Would be great to throw a more context-rich error message.
The text was updated successfully, but these errors were encountered: