java.lang.reflect.InvocationTargetException
See original GitHub issueType of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
Operating System
TeXiFy IDEA version
Description
Stacktrace
java.lang.reflect.InvocationTargetException
at jdk.internal.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.intellij.execution.process.ProcessHandler$2.invoke(ProcessHandler.java:246)
at com.sun.proxy.$Proxy13.processTerminated(Unknown Source)
at com.intellij.execution.process.ProcessHandler.lambda$notifyTerminated$2(ProcessHandler.java:204)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:279)
at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:187)
at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:183)
at com.intellij.execution.process.KillableProcessHandler.notifyProcessTerminated(KillableProcessHandler.java:136)
at com.intellij.execution.process.BaseProcessHandler.onOSProcessTerminated(BaseProcessHandler.java:59)
at com.intellij.execution.process.OSProcessHandler.onOSProcessTerminated(OSProcessHandler.java:204)
at com.intellij.execution.process.BaseOSProcessHandler$1.lambda$startNotified$0(BaseOSProcessHandler.java:96)
at com.intellij.execution.process.ProcessWaitFor.lambda$new$0(ProcessWaitFor.java:51)
at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:207)
at com.intellij.execution.process.ProcessWaitFor.lambda$new$1(ProcessWaitFor.java:33)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: nl.hannahsten.texifyidea.TeXception: An error occured when trying to open the pdf using [Ljava.lang.String;@5c13f76e with message Cannot run program "-a": error=2, No such file or directory
at nl.hannahsten.texifyidea.run.OpenCustomPdfViewerListener.processTerminated(OpenCustomPdfViewerListener.kt:21)
... 25 more
Issue Analytics
- State:
- Created 3 years ago
- Comments:8
Top Results From Across the Web
What Causes java.lang.reflect.InvocationTargetException?
It mainly occurs when we work with the reflection layer and try to invoke a method or constructor that throws an underlying exception...
Read more >What could cause java.lang.reflect.InvocationTargetException?
The reflection layer wraps any exception in an InvocationTargetException , which lets you tell the difference between an exception actually caused by a...
Read more >InvocationTargetException (Java Platform SE 7 )
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor. As of release 1.4, this exception has ......
Read more >What Causes java.lang.reflect.InvocationTargetException?
The java.lang.reflect.InvocationTargetException mainly occurs while working with the reflection layer. When you attempt to invoke a method or ...
Read more >How to Resolve InvocationTargetException in Java - Rollbar
The Java reflection layer wraps any exception as an InvocationTargetException . This helps clarify whether the exception is caused by an issue ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Adding some more clarity to the error messages would help! Good luck improving your product!
check your run configuration and change your output directory to a path within the project: pdflatex does not like writing to
/(that’s where you get permission problems, writing outside the directory where pdflatex is run, and even outside your home directory)