File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Author

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

archana gangaiah
Greenhorn

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:
java.lang.NullPointerException
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:


eclipse.buildId=M20100909-0800
java.version=1.6.0_26
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,
archu
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems occurred when invoking code from plug-in:"org.eclipse.core.resources".
 
Similar Threads
Error in loading Web Project While running the server on WSAD 5.1
Unable to load properties file in Java using eclipse
problems with plugin
Internal error occurs during building workspace ?
Out of memory error:permgen space