java.lang.ExceptionInInitializerError in protein disorder module, JRonn

Srikanth Bezawada <[email protected]> Thu, 2 Mar 2017 01:18:11 +0400
Newsgroups gmane.comp.java.bio.general
Message-ID <CAPzrZ6fFp6VjPsAnS2r+OyQvLpvNibp43My2bWwZ2jzaL5a7Vw@mail.gmail.com>
--===============6334577770027057425==
Content-Type: multipart/alternative; boundary=001a1139822ac5079e0549b1da6f

--001a1139822ac5079e0549b1da6f
Content-Type: text/plain; charset=UTF-8

Hi BioJava,

I get the following stack trace when I try to find disorder scores using
biojava protein disorder module. Can you please let me know the fix ?
Thanks in advance.


Exception in thread "main" java.lang.ExceptionInInitializerError
at biojavausage.BioJavaUsage.main(BioJavaUsage.java:*25*)
Caused by: java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:864)
at java.util.Scanner.next(Scanner.java:1485)
at java.util.Scanner.nextInt(Scanner.java:2117)
at java.util.Scanner.nextInt(Scanner.java:2076)
at org.biojava.nbio.ronn.ModelLoader.loadModels(ModelLoader.java:175)
at org.biojava.nbio.ronn.Jronn.<clinit>(Jronn.java:55)
... 1 more



Here is the line *25* which is the same line from the test folder of
biojava github.

float[] rawProbabilityScores = Jronn.getDisorderScores(new
FastaSequence("name", "LLRGRHLMNGTMIMRPWNFLNDHHFPKFFPHLIEQQAIWLADWWRKKHC" +
"RPLPTRAPTMDQWDHFALIQKHWTANLWFLTFPFNDKWGWIWFLKDWTPGSADQAQRACTWFFCHGHDTN" +
"CQIIFEGRNAPERADPMWTGGLNKHIIARGHFFQSNKFHFLERKFCEMAEIERPNFTCRTLDCQKFPWDDP"
));

--001a1139822ac5079e0549b1da6f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi BioJava,<br><br>I get the following stack trace when I =
try to find disorder scores using biojava protein disorder module. Can you =
please let me know the fix ? Thanks in advance.<br>
<div><br><br></div><div><div>Exception in thread &quot;main&quot; java.lang=
.ExceptionInInitializerError</div><div><span class=3D"gmail-Apple-tab-span"=
 style=3D"white-space:pre">	</span>at biojavausage.BioJavaUsage.main(BioJav=
aUsage.java:<b>25</b>)</div><div>Caused by: java.util.InputMismatchExceptio=
n</div><div><span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">=
	</span>at java.util.Scanner.throwFor(Scanner.java:864)</div><div><span cla=
ss=3D"gmail-Apple-tab-span" style=3D"white-space:pre">	</span>at java.util.=
Scanner.next(Scanner.java:1485)</div><div><span class=3D"gmail-Apple-tab-sp=
an" style=3D"white-space:pre">	</span>at java.util.Scanner.nextInt(Scanner.=
java:2117)</div><div><span class=3D"gmail-Apple-tab-span" style=3D"white-sp=
ace:pre">	</span>at java.util.Scanner.nextInt(Scanner.java:2076)</div><div>=
<span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">	</span>at o=
rg.biojava.nbio.ronn.ModelLoader.loadModels(ModelLoader.java:175)</div><div=
><span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">	</span>at =
org.biojava.nbio.ronn.Jronn.&lt;clinit&gt;(Jronn.java:55)</div><div><span c=
lass=3D"gmail-Apple-tab-span" style=3D"white-space:pre">	</span>... 1 more<=
/div></div><div><br></div><div><br></div><div><br></div><div><div>Here is t=
he line <b>25</b> which is the same line from the test folder of biojava gi=
thub.<br><br><div>float[]<span style=3D"white-space:pre">   </span>rawProba=
bilityScores =3D Jronn.getDisorderScores(new FastaSequence(&quot;name&quot;=
, &quot;LLRGRHLMNGTMIMRPWNFLNDHHFPKFFPHLIEQQAIWLADWWRKKHC&quot; +</div><div=
><span class=3D"gmail-Apple-tab-span" style=3D"white-space:pre">				</span>=
&quot;RPLPTRAPTMDQWDHFALIQKHWTANLWFLTFPFNDKWGWIWFLKDWTPGSADQAQRACTWFFCHGHDT=
N&quot; +</div><div><span class=3D"gmail-Apple-tab-span" style=3D"white-spa=
ce:pre">				</span>&quot;CQIIFEGRNAPERADPMWTGGLNKHIIARGHFFQSNKFHFLERKFCEMAE=
IERPNFTCRTLDCQKFPWDDP&quot; ));</div></div></div></div>

--001a1139822ac5079e0549b1da6f--

--===============6334577770027057425==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Biojava-l mailing list  -  [email protected]
http://mailman.open-bio.org/mailman/listinfo/biojava-l
--===============6334577770027057425==--