wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Problems occurred when invoking code from plug-in: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Problems occurred when invoking code from plug-in:"org.eclipse.core.resources"." Watch "Problems occurred when invoking code from plug-in:"org.eclipse.core.resources"." New topic

Problems occurred when invoking code from plug-in:"org.eclipse.core.resources".

archana gangaiah

Joined: Nov 02, 2010
Posts: 15
I'm getting below error in error log after I build my project using Ant

Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
Exception Stack Trace:
at com.google.gdt.eclipse.core.MarkerUtilities.createMarker(MarkerUtilities.java:66)
at com.google.gdt.eclipse.core.MarkerUtilities.createQuickFixMarker(MarkerUtilities.java:100)
at com.google.gdt.eclipse.core.validators.WebAppProjectValidator.validateBuildClasspath(WebAppProjectValidator.java:143)
at com.google.gdt.eclipse.core.validators.WebAppProjectValidator.build(WebAppProjectValidator.java:101)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:344)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:825)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Session Data:

java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product

I surfed in google but i didnt proper solution for this. Please help me out.

Thanks in advance.

Many Thanks,
Peter Johnson

Joined: May 14, 2008
Posts: 5812

This doesn't look familiar to me.

Here is what I would try:

First, I would make some changes to my project (usually dropping things) until the error goes away. Then add things back in until the error reappears and then examine the last thing I added back in. Perhaps there is something that was done wrong in that piece and fixing it will make the error go away.

If that failed, I would get the source for com.google.gdt.eclipse.core.MarkerUtilities and see what causes an NPE at line 66. Usually that will give a good clue as to what I could change to get past the error.

JBoss In Action
wood burning stoves
subject: Problems occurred when invoking code from plug-in:"org.eclipse.core.resources".
Similar Threads
Internal error occurs during building workspace ?
Error in loading Web Project While running the server on WSAD 5.1
problems with plugin
Unable to load properties file in Java using eclipse
Out of memory error:permgen space