Got this when running cpath2-cli.sh -index command from console (preparing for PC9 release):
java.lang.StackOverflowError
at antlr.BaseAST.toString(BaseAST.java:333)
at antlr.BaseAST.toStringList(BaseAST.java:341)
at antlr.BaseAST.toStringList(BaseAST.java:347)
at antlr.BaseAST.toStringList(BaseAST.java:347)
at antlr.BaseAST.toStringList(BaseAST.java:347)
at antlr.BaseAST.toStringList(BaseAST.java:347)
... etc..
(- not detailed information on where exactly this happens)
After some research, it looks like this has to do with a Hibernate bug and too long list of IDs we're trying to map to UniProt or ChEBI IDs (using mappingsRepository.findByDestIgnoreCaseAndDestIdIn function).
Got this when running cpath2-cli.sh -index command from console (preparing for PC9 release): java.lang.StackOverflowError at antlr.BaseAST.toString(BaseAST.java:333) at antlr.BaseAST.toStringList(BaseAST.java:341) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) at antlr.BaseAST.toStringList(BaseAST.java:347) ... etc.. (- not detailed information on where exactly this happens)
After some research, it looks like this has to do with a Hibernate bug and too long list of IDs we're trying to map to UniProt or ChEBI IDs (using mappingsRepository.findByDestIgnoreCaseAndDestIdIn function).