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

Mani Sarkar sadhak001 at gmail.com
Wed Jun 24 04:46:28 UTC 2015


Hi Roy,

Have you had a look at this ?

https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/langtools-1.9-linux-x86_64-kulla-dev/lastSuccessfulBuild/artifact/
 (just bookmark it, we have archives of working versions, for future events)

We build one at every change. When you run the 0.610 version you get the
below:

*$ java -jar kulla-0.610-20150623005842.jar*

|  Welcome to JShell -- Version 0.610
|  Type /help for help

->

I hope by now your issue is resolved.

Cheers,
Mani

>
> ------------------------------
>
> Message: 8
> Date: Tue, 23 Jun 2015 09:05:18 -0700
> From: Robert Field <robert.field at oracle.com>
> To: Brian Goetz <brian.goetz at oracle.com>,       Roy van Rijn
>         <roy.van.rijn at gmail.com>, kulla-dev at openjdk.java.net
> Subject: Re: Urgent: Can't get REPL to work anymore (for a live demo!)
> Message-ID: <558983BE.8060900 at oracle.com>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> 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....?
> >>>
> >>>
> >>
>
>

-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2016:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*


More information about the kulla-dev mailing list