• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic