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 describe the issue here because rinchi is just a wrapper around this functionality, and nothing we can change in rinchi would make a difference to this issue:
results in: Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper"
To reproduce:
docker run --rm -it bioconductor/bioconductor_docker:devel
# in the docker
apt-get update
apt-get install openjdk-17-jdk-headless
# same error with built-in jdk11 and with jdk18 and 19
R CMD javareconf
R
in R:
install.packages(c("rcdk", "rJava")) # alternatively from github
install.packages("remotes")
remotes::install_github("CDK-R/rinchi")
Digging into the haystack, I can trigger the error by doing:
I describe the issue here because
rinchi
is just a wrapper around this functionality, and nothing we can change inrinchi
would make a difference to this issue:results in:
Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "process reaper"
To reproduce:
in R:
Digging into the haystack, I can trigger the error by doing:
jnainchi<- J("io.github.dan2097.jnainchi.JnaInchi")
which is used called in CDK here:
https://github.com/cdk/cdk/blob/d60aaa15c9c4edb3a0103e6d5a1d8ffacc235435/storage/inchi/src/main/java/org/openscience/cdk/inchi/InChIGenerator.java#L537
System (please complete the following information):
Tested from both commandline R and Rstudio.
Interestingly, I do not have the error on R 4.2.0, rJava 1.0-6, rcdk 3.7.0, rcdklibs 2.8 on Windows.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: