scheglov / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
0 stars 3 forks source link

com.google.appengine.eclipse.core.gaeProjectChangeNotifier.launch reported as not found #252

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I see this error in Error Log for my project when Eclipse starts:

File not found: 
D:\repos\Backend\.externalToolBuilders\com.google.appengine.eclipse.core.gaeProj
ectChangeNotifier.launch.

java.io.FileNotFoundException: 
D:\repos\Backend\.externalToolBuilders\com.google.appengine.eclipse.core.gaeProj
ectChangeNotifier.launch (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:368)
    at org.eclipse.debug.internal.core.LaunchManager.getInfo(LaunchManager.java:1352)
    at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo(LaunchConfiguration.java:453)
    at org.eclipse.debug.internal.core.LaunchConfiguration.getType(LaunchConfiguration.java:617)
    at org.eclipse.debug.internal.core.LaunchManager.isValid(LaunchManager.java:2081)
    at org.eclipse.debug.internal.core.LaunchManager.verifyConfigurations(LaunchManager.java:2476)
    at org.eclipse.debug.internal.core.LaunchManager.getAllLaunchConfigurations(LaunchManager.java:1118)
    at org.eclipse.debug.internal.core.LaunchManager.getLaunchConfigurations(LaunchManager.java:1406)
    at com.google.gdt.eclipse.core.launch.LaunchConfigurationUtilities.getLaunchConfigurations(LaunchConfigurationUtilities.java:101)
    at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigAffectingChangesListener.updateLaunchConfigs(LaunchConfigAffectingChangesListener.java:252)
    at com.google.gdt.eclipse.suite.launch.processors.LaunchConfigAffectingChangesListener.updateLaunchConfigurations(LaunchConfigAffectingChangesListener.java:242)
    at com.google.gdt.eclipse.suite.ProjectMigrator.migrateProject(ProjectMigrator.java:108)
    at com.google.gdt.eclipse.suite.ProjectMigrator.safelyMigrateIfVersionChanged(ProjectMigrator.java:151)
    at com.google.gdt.eclipse.suite.ProjectMigrator.migrate(ProjectMigrator.java:50)
    at com.google.gdt.eclipse.suite.GdtPlugin.start(GdtPlugin.java:360)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:478)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:109)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)
    at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.google.gdt.eclipse.suite.ext.update.FeatureUpdateManager.checkForUpdates(FeatureUpdateManager.java:105)
    at com.google.gdt.eclipse.suite.ext.builders.UpdateTriggerCompilationParticipant.isActive(UpdateTriggerCompilationParticipant.java:40)
    at org.eclipse.jdt.internal.core.JavaModelManager$CompilationParticipants.getCompilationParticipants(JavaModelManager.java:339)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.initializeBuilder(JavaBuilder.java:587)
    at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:167)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
    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:53)

Original issue reported on code.google.com by dmitry.s...@gmail.com on 25 Dec 2013 at 11:14

GoogleCodeExporter commented 9 years ago
Hm. This is interesting. Can you navigate to your Project Properties -> 
Builders and tell me what you see?

I'm guessing that you probably disabled one of the builders on your project in 
the past, and perhaps moved your project to another directory?

You can try and reset the state by disabling App Engine on the project, 
applying the change, and then re-enabling it.

Original comment by rdayal@google.com on 26 Dec 2013 at 7:37

GoogleCodeExporter commented 9 years ago
The project was moved at some point, you are right. Here is what I see in 
Builders.

Original comment by dmitry.s...@gmail.com on 27 Dec 2013 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have discovered that when I saw a message that 1.8.8 SDK was available (I run 
1.8.1). Two things. Switching SDKs works fine, i.e. selecting a different 
version thru UI remove old one, adds a new one and compiles fine. However it 
would not update jars in WEB-INF/lib folder -- all jars stay 1.8.1. 

I tried to follow advice given on SO, i.e. disable GAE and enable it again. But 
after I uncheck Use Google App Engine and click OK, I get an error dialog and 
the exception above in Error Log. 

Technically all I am trying to avoid is manual copy of GAE libraries to 
WEB-INF/lib.

Original comment by dmitry.s...@gmail.com on 27 Dec 2013 at 2:32

GoogleCodeExporter commented 9 years ago
And it's on WINDOWS. I can't see that folder in either place, new or old.

Original comment by dmi...@citruslocation.com on 28 Dec 2013 at 1:27

GoogleCodeExporter commented 9 years ago
Ok, regarding your original problem, it seems like there's some sort of old 
launch configuration kicking around, though I'm not sure why. Can you do two 
things?

1) Attach the contents of your .project file to the issue. I'd like to see if 
there's a disabled builder in there, or some old metadata.

2) Next to the "Run" icon in the toolbar, you should see a smaller "Run" icon, 
with a small brown box underneath it. Select the pull-down menu there, and 
choose "External Tools Configurations". Do you see any configurations there? If 
so, can you delete them?

Original comment by rdayal@google.com on 30 Dec 2013 at 5:20