quan-xie / goclipse

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

No Compile on Save, but do get Exception #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Not really sure how to reproduce this but I was just in the middle of a GO 
project and suddenly just did not compile anymore, not sure what the issue is.  
When I looked at the eclipse log file it gave me this as soon as I saved (to 
compile):

!ENTRY goclipse 4 0 2012-08-18 01:14:11.166
!MESSAGE org.eclipse.core.internal.resources.Project cannot be cast to 
org.eclipse.core.resources.IFolder
!STACK 0
java.lang.ClassCastException: org.eclipse.core.internal.resources.Project 
cannot be cast to org.eclipse.core.resources.IFolder
    at com.googlecode.goclipse.dependency.DependencyGraph.reprocessResources(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(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

What is the expected output? What do you see instead?
Executable in bin

What version of the product are you using? On what operating system?
7.2v418-Linux 64

Please provide any additional information below.

Original issue reported on code.google.com by efeldma...@gmail.com on 18 Aug 2012 at 5:18

GoogleCodeExporter commented 9 years ago
And it keeps on giving me that exception and NOT building.

Original comment by efeldma...@gmail.com on 18 Aug 2012 at 5:19

GoogleCodeExporter commented 9 years ago
The Odd thing is that this does work when I transfer the source files to a new 
project

Original comment by efeldma...@gmail.com on 18 Aug 2012 at 5:28

GoogleCodeExporter commented 9 years ago

Original comment by devonca...@gmail.com on 17 Nov 2012 at 7:27