I'm seeing this as well on two separate machines with ADT 10 SDK3.0.
The same project in the same state compiles just fine under ADT 8, SDK
2.3.3.

Deleting/adding does not resolve the problem.  Another project on both
systems have no issues at all.  Ive deleted everything from the
offending project (and I mean everything), and it still occurs.

On Feb 25, 1:42 pm, Xavier Ducrohet <x...@android.com> wrote:
> Is that all there is in the log?I'm more interested in an exception
> that would have happened in PreCompilerBuilder.startupOnInitialize
> which would explain the NPE in the build method.
>
>
>
>
>
>
>
>
>
> On Fri, Feb 25, 2011 at 1:39 AM, Ajay <a.aja...@gmail.com> wrote:
>
> > !ENTRY org.eclipse.core.resources 4 2 2011-02-25 15:07:29.445
> > !MESSAGE Problems occurred when invoking code from plug-in:
> > "org.eclipse.core.resources".
> > !STACK 0
> > java.lang.NullPointerException
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.buil 
> > d(PreCompilerBuilder.java:
> > 198)
> >        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.basicBuild(BuildManager.java:
> > 220)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 362)
> >        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
> > 545)
> >        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
> > 1975)
> >        at
> > org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
> > 524)
> >        at org.eclipse.core.internal.resources.Project.build(Project.java:
> > 115)
> >        at
> > org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:
> > 222)
> >        at
> > org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:
> > 162)
> >        at org.eclipse.ui.actions.WorkspaceAction
> > $2.runInWorkspace(WorkspaceAction.java:483)
> >        at
> > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp 
> > aceJob.java:
> > 38)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> > !ENTRY org.eclipse.ui.ide 4 4 2011-02-25 15:07:39.406
> > !MESSAGE Problems occurred building the selected resources.
> > !SUBENTRY 1 com.android.ide.eclipse.adt 4 75 2011-02-25 15:07:39.406
> > !MESSAGE Errors running builder 'Android Pre Compiler' on project
> > 'P2L'.
> > !STACK 0
> > java.lang.NullPointerException
> >        at
> > com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.buil 
> > d(PreCompilerBuilder.java:
> > 198)
> >        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.basicBuild(BuildManager.java:
> > 220)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 362)
> >        at org.eclipse.core.internal.resources.Project$1.run(Project.java:
> > 545)
> >        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:
> > 1975)
> >        at
> > org.eclipse.core.internal.resources.Project.internalBuild(Project.java:
> > 524)
> >        at org.eclipse.core.internal.resources.Project.build(Project.java:
> > 115)
> >        at
> > org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:
> > 222)
> >        at
> > org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:
> > 162)
> >        at org.eclipse.ui.actions.WorkspaceAction
> > $2.runInWorkspace(WorkspaceAction.java:483)
> >        at
> > org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorksp 
> > aceJob.java:
> > 38)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> > This errors came recently after eclipse update..
> > Roolback to previous version fails :(..
>
> > On Feb 25, 3:40 am, Xavier Ducrohet <x...@android.com> wrote:
> >> This is extremely strange.
> >> Can you send me the log of your workspace?
>
> >> On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu <st...@kilsby.com.au> wrote:
> >> > Hi All,
>
> >> > I have just installed ADT 10 with SDK 3.0. Eclipse has been working
> >> > ok, but now all of a sudden my project has broken down with eclipse
> >> > either complaining there is something wrong with xml files where there
> >> > is nothing wrong (tested on a non adt10 eclipse and works fine) or
> >> > giving errors
>
> >> > Errors running builder 'Android Pre Compiler' on project 'XXXX'.
> >> > java.lang.NullPointerException encountered while running Android Pre
> >> > Compiler.
>
> >> > Or giving errors
>
> >> > Problems occurred when invoking code from plug-in:
> >> > "org.eclipse.core.resources".
>
> >> > java.lang.NullPointerException
> >> >        at
> >> > com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.buil
> >> >  d(PreCompilerBuilder.java:
> >> > 198)
> >> >        at org.eclipse.core.internal.events.BuildManager
> >> > $2.run(BuildManager.java:633)
> >> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> >> >        at
> >> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> > 170)
> >> >        at
> >> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> > 201)
> >> >        at org.eclipse.core.internal.events.BuildManager
> >> > $1.run(BuildManager.java:253)
> >> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> >> >        at
> >> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> >> > 256)
> >> >        at
> >> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j
> >> >  ava:
> >> > 309)
> >> >        at
> >> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> >> > 341)
> >> >        at
> >> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> >> > 140)
> >> >        at
> >> > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> >> > 238)
> >> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> >> > At the moment I am going through the paces of changing adt back to an
> >> > older verison, Does anyone have an idea of these problems?
>
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "Android Developers" group.> To post to this group, send email 
> >> > toandroid-develop...@googlegroups.com
> >> > To unsubscribe from this group, send email 
> >> > to>android-developers+unsubscr...@googlegroups.com
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/android-developers?hl=en
>
> >> --
> >> Xavier Ducrohet
> >> Android SDK Tech Lead
> >> Google Inc.http://developer.android.com|http://tools.android.com
>
> >> Please do not send me questions directly. Thanks!
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Xavier Ducrohet
> Android SDK Tech Lead
> Google Inc.http://developer.android.com|http://tools.android.com
>
> Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to