incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Story (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLEREZZA-430) scala shell crashes on null pointer exception
Date Sun, 20 Feb 2011 14:00:38 GMT
scala shell crashes on null pointer exception
---------------------------------------------

                 Key: CLEREZZA-430
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-430
             Project: Clerezza
          Issue Type: Bug
            Reporter: Henry Story
            Priority: Minor


On a machine running a sun jvm one can crash the shell by running

zz> val dnsKey = new sun.security.x509.X509Key()
console terminated
org.apache.clerezza.shell.Shell$$anon$1@28f9f1b9: caught java.lang.NoClassDefFoundError: sun/security/x509/X509Key
java.lang.NoClassDefFoundError: sun/security/x509/X509Key
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
	at java.lang.Class.getMethod0(Class.java:2670)
	at java.lang.Class.getMethod(Class.java:1603)
	at scala.tools.nsc.Interpreter$Request.loadAndRun(Interpreter.scala:972)

On can connect back to the shell using 

$ ssh admin@localhost -p 8022

but it could be annoying.



-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message