This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 174268 - First build of Scala project after starting NetBeans always fails.
Summary: First build of Scala project after starting NetBeans always fails.
Status: STARTED
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 02:55 UTC by ngbrito
Modified: 2009-10-10 03:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ngbrito 2009-10-10 02:55:31 UTC
Scenario:
1) Start NetBeans.
2) Clean and Build Scala project.

This sequence fails always with the following output:

init:
deps-clean:
Deleting directory /home/ngb/NetBeansProjects/timer/build
Deleting directory /home/ngb/NetBeansProjects/timer/dist
clean:
init:
deps-jar:
Created dir: /home/ngb/NetBeansProjects/timer/build/classes
Compiling 1 source file to /home/ngb/NetBeansProjects/timer/build/classes
Could not connect to compilation daemon.
org.netbeans.core.execution.ExitSecurityException: Exit from within execution engine, normal
        at org.netbeans.core.execution.SecMan.checkExitImpl(SecMan.java:85)
        at org.netbeans.core.execution.SecMan$PrivilegedCheck.run(SecMan.java:160)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.netbeans.core.execution.SecMan$PrivilegedCheck.check(SecMan.java:175)
        at org.netbeans.core.execution.SecMan$PrivilegedCheck.checkExit(SecMan.java:170)
        at org.netbeans.core.execution.SecMan.checkExit(SecMan.java:69)
        at org.netbeans.TopSecurityManager.checkExit(TopSecurityManager.java:149)
        at java.lang.Runtime.exit(Runtime.java:105)
        at java.lang.System.exit(System.java:923)
        at scala.Predef$.exit(Predef.scala:81)
        at scala.tools.nsc.CompileSocket.fatal(CompileSocket.scala:53)
        at scala.tools.nsc.CompileSocket.getPort(CompileSocket.scala:175)
        at scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:206)
        at scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:224)
        at scala.tools.nsc.CompileSocket.getsock$1(CompileSocket.scala:224)
        at scala.tools.nsc.CompileSocket.getOrCreateSocket(CompileSocket.scala:227)
        at scala.tools.nsc.StandardCompileClient.main0(CompileClient.scala:94)
        at scala.tools.ant.FastScalac.execute(FastScalac.scala:96)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
/home/ngb/NetBeansProjects/timer/nbproject/build-impl.xml:405: The following error occurred while executing this line:
/home/ngb/NetBeansProjects/timer/nbproject/build-impl.xml:229: Compile failed because of an internal compiler error
(Exit from within execution engine, normal); see the error output for details.
BUILD FAILED (total time: 5 seconds)

If I make step 2 again everything works fine until I close NetBeans and start a new one.

I'm using:
NetBeans 6.7.1
Scala Kit 0.15.0
Scala Runtime Library 2.7.30