quan-xie / goclipse

Automatically exported from code.google.com/p/goclipse
0 stars 0 forks source link

Null pointer exception at compile (com.googlecode.goclipse.builder.ExternalCommand.execute) #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.instal go binary distribuion from golang
2.install goeclipse
3.set preferences
4.new project and source file save source file

What is the expected output? What do you see instead?
I expect the code to be built and a binary module produced.
The code is not compiled, and I see this in the eclipse log:
!ENTRY goclipse 4 0 2012-09-05 17:02:24.855
!MESSAGE 
!STACK 0
java.lang.NullPointerException
    at java.lang.ProcessBuilder.start(Unknown Source)
    at com.googlecode.goclipse.builder.ExternalCommand.execute(Unknown Source)
    at com.googlecode.goclipse.builder.GoDependencyManager.buildDep(Unknown Source)
    at com.googlecode.goclipse.builder.GoBuilder.incrementalBuild(Unknown Source)
    at com.googlecode.goclipse.builder.GoBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(Unknown Source)
    at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$1.run(Unknown Source)
    at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager.build(Unknown Source)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(Unknown Source)
    at org.eclipse.core.internal.events.AutoBuildJob.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by fomyers....@gmail.com on 5 Sep 2012 at 9:16

GoogleCodeExporter commented 9 years ago
My OS is RHEL (Linux 64 bit X86) 

Original comment by fomyers....@gmail.com on 7 Sep 2012 at 2:40

GoogleCodeExporter commented 9 years ago
My eclipse is 3.6.3.r362_v20110302

Original comment by fomyers....@gmail.com on 7 Sep 2012 at 2:43

GoogleCodeExporter commented 9 years ago
I have the latest (0.7.2) plugin installed from the update site. I check for 
updates daily...

Original comment by fomyers....@gmail.com on 17 Sep 2012 at 4:10

GoogleCodeExporter commented 9 years ago
I can't reproduce this, but I've recompiled GoClipse with line number 
information. Can you get the latest and attach the new NullPointerException 
stack trace to the bug? That'll let us track down the exception. Thanks!

Original comment by devonca...@gmail.com on 19 Nov 2012 at 1:27

GoogleCodeExporter commented 9 years ago
I reproduce this issue on Windows 7 and found that it's caused by service 
"Application Experience", once this service is started, goclipse won't 
encounter this issue:)

Original comment by Nextever...@gmail.com on 18 Apr 2014 at 9:43