You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2018/04/26 21:39:00 UTC
[jira] [Resolved] (NETBEANS-133) Problems with JShell in NetBeans
on Mac OSX
[ https://issues.apache.org/jira/browse/NETBEANS-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-133.
--------------------------------------
Resolution: Fixed
Fix Version/s: 9.0
Marked resolved as the corresponding PR has been merged.
> Problems with JShell in NetBeans on Mac OSX
> -------------------------------------------
>
> Key: NETBEANS-133
> URL: https://issues.apache.org/jira/browse/NETBEANS-133
> Project: NetBeans
> Issue Type: Bug
> Components: java - JShell
> Environment: Mac OSX Sierra
> Reporter: Geertjan Wielenga
> Assignee: Svata Dedic
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0
>
> Attachments: org-netbeans-modules-jshell-support.nbm
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When launching JShell in https://builds.apache.org/job/incubator-netbeans-linux/213/, the following errors are thrown:
> INFO [org.netbeans.modules.jshell.support.ShellSession]: Error in JSHell
> java.util.concurrent.TimeoutException
> at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
> at jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244)
> at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:137)
> Caused: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=options=-classpath /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
> at jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
> at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141)
> at jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:110)
> at org.netbeans.lib.nbjshell.LaunchJDIAgent.create(LaunchJDIAgent.java:217)
> at org.netbeans.lib.nbjshell.LaunchJDIAgent.access$000(LaunchJDIAgent.java:63)
> at org.netbeans.lib.nbjshell.LaunchJDIAgent$1.generate(LaunchJDIAgent.java:181)
> at org.netbeans.modules.jshell.tool.JShellLauncher$CaptureExecControl.generate(JShellLauncher.java:240)
> at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:126)
> Caused: java.lang.IllegalStateException: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home, options=options=-classpath /Users/geertjanwielenga/Downloads/netbeans/java/modules/ext/nb-mod-jshell-probe.jar:, main=main=org.netbeans.lib.jshell.agent.AgentWorker 49340, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
> at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:139)
> at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
> at org.netbeans.modules.jshell.tool.JShellLauncher.createJShellInstance(JShellLauncher.java:258)
> at org.netbeans.modules.jshell.support.ShellSession$Launcher.createJShellInstance(ShellSession.java:628)
> at org.netbeans.modules.jshell.tool.JShellTool.resetState(JShellTool.java:745)
> at org.netbeans.modules.jshell.tool.JShellLauncher.resetState(JShellLauncher.java:207)
> at org.netbeans.modules.jshell.tool.JShellLauncher.ensureLive(JShellLauncher.java:195)
> at org.netbeans.modules.jshell.tool.JShellLauncher.getJShell(JShellLauncher.java:201)
> at org.netbeans.modules.jshell.support.ShellSession.initJShell(ShellSession.java:830)
> at org.netbeans.modules.jshell.support.ShellSession.getJShell(ShellSession.java:314)
> [catch] at org.netbeans.modules.jshell.support.ShellSession.lambda$null$2(ShellSession.java:519)
> at org.netbeans.modules.jshell.model.ConsoleModel$ModelAccImpl.execute(ConsoleModel.java:1104)
> at org.netbeans.modules.jshell.support.ShellSession.lambda$start$3(ShellSession.java:515)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists