Urgent: Can't get REPL to work anymore (for a live demo!)

Robert Field robert.field at oracle.com
Tue Jun 23 16:16:29 UTC 2015


Ah!

I believe it is trying to die with an internal error (because it could 
not create the socket) and is hitting the NPE on the way.

-Robert

On 06/23/15 09:05, Robert Field wrote:
> Yep, from the failure it looks likely to be related to socket or 
> memory issues, so I asked him to try a reboot while I dive deeper.
>
> What is null is the output stream that gets set during opening the 
> socket.  But if that fails it should throw an internal error and die, 
> looking...
>
> -Robert
>
> On 06/23/15 08:58, Brian Goetz wrote:
>> I've seen a similar behavior on Mac -- when my network settings are 
>> borked up due to running a VPN client.  Something keeps the JDI 
>> connection from being made, and then it falls into an NPE later in 
>> the program after something times out and returns null.
>>
>> On 6/23/2015 11:44 AM, Robert Field wrote:
>>> I can't reproduce.  I will keep looking.
>>>
>>> Just to be clear, is this what you did for clean install?
>>>
>>> hg clone  http://hg.openjdk.java.net/kulla/dev; cd dev; bash
>>> ./get_source.sh
>>> bash ./configure
>>> make images
>>>
>>> ???
>>> If so, can you try running with "jshell" command instead of script?
>>>
>>> -Robert
>>>
>>>
>>> On 06/23/15 08:33, Robert Field wrote:
>>>> Will look now!
>>>>
>>>>
>>>>
>>>>
>>>> On June 23, 2015 8:27:54 AM Roy van Rijn <roy.van.rijn at gmail.com> 
>>>> wrote:
>>>>
>>>>> Tomorrow I've offered to do some live coding at a conference and show
>>>>> the
>>>>> new REPL.
>>>>> But when I did a clean install this afternoon as a test I suddenly 
>>>>> got a
>>>>> REPL that didn't work. So panic is starting to come in...!
>>>>>
>>>>> This is what I now get:
>>>>>
>>>>> roy:repl royvanrijn$ ./scripts/run.sh
>>>>> |  Unexpected exception reading start-up: 
>>>>> java.lang.NullPointerException
>>>>>
>>>>> |  Welcome to JShell -- Version 0.610
>>>>> |  Type /help for help
>>>>>
>>>>> -> System.out.println("Test");
>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>> at
>>>>> jdk.internal.jshell.impl.JDIExecution.commandExit(JDIExecution.java:79) 
>>>>>
>>>>> at jdk.internal.jshell.impl.JShellImpl.close(JShellImpl.java:139)
>>>>> at 
>>>>> jdk.internal.jshell.tool.JShellTool.closeState(JShellTool.java:351)
>>>>> at jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:222)
>>>>> at jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:198)
>>>>> at jdk.internal.jshell.tool.JShellTool.main(JShellTool.java:188)
>>>>>
>>>>> Any ideas on how I can fix this? I've looked at the recent checkins
>>>>> in hg,
>>>>> but couldn't find anything related....?
>>>>
>>>>
>>>
>



More information about the kulla-dev mailing list