[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2013-01-08 Thread Tim Bocek
Sorry to resurrect this topic, but I am hitting this and none of the above 
solutions appear to work:
-Already running Eclipse 3.7 (installed as part of the android sdk package, 
so I assume everything is compatable)
-No resource filters in place
-I don't have anything in my project regarding proguard so I don't see how 
that can be the issue.

I have one project checked out from google code svn, which depends on the 
ActionBarSherlock library.  I have already tried creating a new workspace 
and checking everything back out, but that doesn't fix anything.

Help!

Log file follows:

!ENTRY org.eclipse.core.resources 4 2 2012-12-29 12:05:04.726
!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.build(PreCompilerBuilder.java:673)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
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)

!ENTRY org.eclipse.core.resources 4 2 2012-12-29 12:05:28.993
!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.build(PreCompilerBuilder.java:673)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at 
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
at 
org.eclipse.jdt.internal.ui.util.CoreUtility$BuildJob.run(CoreUtility.java:162)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

!ENTRY org.eclipse.core.resources 4 75 2012-12-29 12:05:31.782
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.android.ide.eclipse.adt 4 75 2012-12-29 12:05:31.782
!MESSAGE Errors running builder 'Android Pre Compiler' on project 
'DungeonSketch'.
!STACK 0
java.lang.NullPointerException
at 
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:673)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at 
org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
at 
org.eclipse.jdt.internal.ui.util.CoreUtility$BuildJob.run(CoreUtility.java:162)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)



>

-- 
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

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-24 Thread Ajay
facing the same issue..

On Feb 24, 10:52 am, Chopcsu  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 ''.
> 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 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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay

!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.build(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(InternalWorkspaceJob.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.build(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(InternalWorkspaceJob.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  wrote:
> This is extremely strange.
> Can you send me the log of your workspace?
>
>
>
>
>
>
>
>
>
> On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  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 ''.
> > 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(SafeR

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay
please any updates.. its critical :((

On Feb 25, 2:39 pm, Ajay  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  wrote:
>
>
>
>
>
>
>
> > This is extremely strange.
> > Can you send me the log of your workspace?
>
> > On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  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 ''.
> > > java.lang.NullPointerException encountered while running Android Pre
> > > Compiler.
>
> > > Or giving errors
>
> > > Problems occurred when invoking code from plug-in:
> > > "org.eclipse.core.resources

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Ajay
deleted project... added again into workspace...
repeated 3-4 times and issue resolved..

On Feb 25, 2:39 pm, Ajay  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  wrote:
>
>
>
>
>
>
>
> > This is extremely strange.
> > Can you send me the log of your workspace?
>
> > On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  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 ''.
> > > java.lang.NullPointerException encountered while running Android Pre
> > > Compiler.
>
> > > Or giving errors
>
> > > Problems occurred when invoking c

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-02 Thread Purple Dev
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  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  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  wrote:
> >>

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-02 Thread Purple Dev
Here is my log:


!ENTRY org.eclipse.core.resources 4 2 2011-02-28 08:36:32.111
!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.build(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.java:
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)

!ENTRY org.eclipse.core.resources 2 75 2011-02-28 08:36:32.568
!MESSAGE Errors during build.
!SUBENTRY 1 com.android.ide.eclipse.adt 2 75 2011-02-28 08:36:32.568
!MESSAGE Errors running builder 'Android Pre Compiler' on project
'XXX'.
!SUBENTRY 1 com.android.ide.eclipse.adt 2 75 2011-02-28 08:36:32.568
!MESSAGE java.lang.NullPointerException encountered while running
Android Pre Compiler.
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(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.java:
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)

!ENTRY org.eclipse.core.resources 4 2 2011-02-28 08:36:32.874
!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.build(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.java:
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)

!ENTRY org.eclipse.core.resources 2 75 2011-02-28 08:36:32.875
!MESSAGE Errors during build.
!SUBENTRY 1 com.android.ide.eclipse.adt 2 75 2011-02-28 08:36:32.875
!MESSAGE Errors running builder 'Android Pre Compiler' on project
''.
!SUBENTRY 1 com.android.ide.eclipse.adt 2 75 2011-02-28 08:36:32.875
!MESSAGE java.lang.NullPointerException encountered while running
Android Pre Compiler.
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(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.B

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-05 Thread Nathan
OK, what's the deal?

I'm getting this too and I just installed the updates today.

I can't even seem to revert my Eclipse, either.

Nathan

-- 
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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-05 Thread Nathan
This might be a proguard.cfg that has suddenly become mandatory.

On Mar 5, 9:09 pm, Nathan  wrote:
> OK, what's the deal?
>
> I'm getting this too and I just installed the updates today.
>
> I can't even seem to revert my Eclipse, either.
>
> Nathan

-- 
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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Indicator Veritatis
Now that we have four different group members (Ajay, Copscu, Purple
Dev, Nathan) reporting the problem, do you still consider it
"extremely strange"?

How likely are we to get the same problem if we also upgrade to the
latest ADT & SDK?

On Feb 24, 2:40 pm, Xavier Ducrohet  wrote:
> This is extremely strange.
> Can you send me the log of your workspace?
>
>
>
> On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  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 ''.
> > 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.build(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.java:
> > 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 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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Nathan
I would like this to start being treated as a real problem.

I can't even downgrade my ADT. I use revert configuration in ADT and
it has no effect.

Putting a proguard.cfg in the project directory only worked
temporarily. It's broken again.

I'm dead in the water for builds. At this rate, I will never build an
Android app again.

Nathan

-- 
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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Nathan
I'd like to try it, but there isn't Help > Install New Software...
menu item on my eclipse. It seems to want only repositories, not zips.
This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
I can.

On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
> Hey all,
>
> I've filed bug #15312 to track this issue, and I've just attached to
> it a version of ADT that enable some logging in the method  I suspect
> is not finishing properly.
>
> I've also moved the line that isn't called (which is the cause of the
> NPE later on) earlier in the method, which will maybe unblock you (but
> I fear that if the rest of the method really isn't running due to an
> exception you'll get another error somewhere else).
>
> If one of you could run this new ADT and provide me with the workspace
> log, I'll be able to track what's going on and fix it ASAP.
>
> thanks
>
>
>
>
>
>
>
>
>
> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
> > Hey all,
>
> > I'm still not sure how this is happening. I'm adding logs to the
> > builder and I'm going to make this version available shortly to
> > understand what is going on since I can't reproduce it locally.
>
> > Stay tuned, I'm looking at pushing this somewhere else than the normal
> > update site asap.
>
> > Xav
>
> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan  wrote:
> >> I would like this to start being treated as a real problem.
>
> >> I can't even downgrade my ADT. I use revert configuration in ADT and
> >> it has no effect.
>
> >> Putting a proguard.cfg in the project directory only worked
> >> temporarily. It's broken again.
>
> >> I'm dead in the water for builds. At this rate, I will never build an
> >> Android app again.
>
> >> Nathan
>
> >> --
> >> 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!
>
> --
> 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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Nathan
Well, then that would be part of the problem,

I don't see anywhere that that is documented, though. The installation
page still mentions 3.4.

Nathan

On Mar 7, 9:06 pm, Tor Norbye  wrote:
> ADT 10 requires Eclipse 3.5 or later.
>
> -- Tor
> On Mar 7, 2011 9:01 PM, "Nathan"  wrote:
>
>
>
>
>
>
>
> > I'd like to try it, but there isn't Help > Install New Software...
> > menu item on my eclipse. It seems to want only repositories, not zips.
> > This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
> > I can.
>
> > On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
> >> Hey all,
>
> >> I've filed bug #15312 to track this issue, and I've just attached to
> >> it a version of ADT that enable some logging in the method  I suspect
> >> is not finishing properly.
>
> >> I've also moved the line that isn't called (which is the cause of the
> >> NPE later on) earlier in the method, which will maybe unblock you (but
> >> I fear that if the rest of the method really isn't running due to an
> >> exception you'll get another error somewhere else).
>
> >> If one of you could run this new ADT and provide me with the workspace
> >> log, I'll be able to track what's going on and fix it ASAP.
>
> >> thanks
>
> >> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
> >> > Hey all,
>
> >> > I'm still not sure how this is happening. I'm adding logs to the
> >> > builder and I'm going to make this version available shortly to
> >> > understand what is going on since I can't reproduce it locally.
>
> >> > Stay tuned, I'm looking at pushing this somewhere else than the normal
> >> > update site asap.
>
> >> > Xav
>
> >> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan 
> wrote:
> >> >> I would like this to start being treated as a real problem.
>
> >> >> I can't even downgrade my ADT. I use revert configuration in ADT and
> >> >> it has no effect.
>
> >> >> Putting a proguard.cfg in the project directory only worked
> >> >> temporarily. It's broken again.
>
> >> >> I'm dead in the water for builds. At this rate, I will never build an
> >> >> Android app again.
>
> >> >> Nathan
>
> >> >> --
> >> >> 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!
>
> >> --
> >> 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

-- 
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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Chopcsu
Yeah this happened to me on upgrading to ADT 10, reinstall
eclipse,reinstall android sdk and a policy to never update ADT or
android SDK anywhere near milestones fixed it fine.

On Mar 8, 4:37 pm, Xavier Ducrohet  wrote:
> ugh, we'll fix this asap.
>
> Xav
>
>
>
>
>
>
>
>
>
> On Mon, Mar 7, 2011 at 9:14 PM, Nathan  wrote:
> > Well, then that would be part of the problem,
>
> > I don't see anywhere that that is documented, though. The installation
> > page still mentions 3.4.
>
> > Nathan
>
> > On Mar 7, 9:06 pm, Tor Norbye  wrote:
> >> ADT 10 requires Eclipse 3.5 or later.
>
> >> -- Tor
> >> On Mar 7, 2011 9:01 PM, "Nathan"  wrote:
>
> >> > I'd like to try it, but there isn't Help > Install New Software...
> >> > menu item on my eclipse. It seems to want only repositories, not zips.
> >> > This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
> >> > I can.
>
> >> > On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
> >> >> Hey all,
>
> >> >> I've filed bug #15312 to track this issue, and I've just attached to
> >> >> it a version of ADT that enable some logging in the method  I suspect
> >> >> is not finishing properly.
>
> >> >> I've also moved the line that isn't called (which is the cause of the
> >> >> NPE later on) earlier in the method, which will maybe unblock you (but
> >> >> I fear that if the rest of the method really isn't running due to an
> >> >> exception you'll get another error somewhere else).
>
> >> >> If one of you could run this new ADT and provide me with the workspace
> >> >> log, I'll be able to track what's going on and fix it ASAP.
>
> >> >> thanks
>
> >> >> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  
> >> >> wrote:
> >> >> > Hey all,
>
> >> >> > I'm still not sure how this is happening. I'm adding logs to the
> >> >> > builder and I'm going to make this version available shortly to
> >> >> > understand what is going on since I can't reproduce it locally.
>
> >> >> > Stay tuned, I'm looking at pushing this somewhere else than the normal
> >> >> > update site asap.
>
> >> >> > Xav
>
> >> >> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan 
> >> wrote:
> >> >> >> I would like this to start being treated as a real problem.
>
> >> >> >> I can't even downgrade my ADT. I use revert configuration in ADT and
> >> >> >> it has no effect.
>
> >> >> >> Putting a proguard.cfg in the project directory only worked
> >> >> >> temporarily. It's broken again.
>
> >> >> >> I'm dead in the water for builds. At this rate, I will never build an
> >> >> >> Android app again.
>
> >> >> >> Nathan
>
> >> >> >> --
> >> >> >> 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!
>
> >> >> --
> >> >> 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
>
> > --
> > 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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-09 Thread Caféïne
Kind of same problem here. Log using  "android-eclipse-108944.zip "
provided by Xavier.

!ENTRY org.eclipse.core.resources 4 2 2011-03-09 10:22:03.273
!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.AaptParser.getResourceFromFullPath(AaptParser.java:
467)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.checkAndMark(AaptParser.java:
389)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
300)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
137)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.execAapt(PreCompilerBuilder.java:
723)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleResources(PreCompilerBuilder.java:
626)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
493)
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.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.resources 4 75 2011-03-09 10:22:29.871
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.android.ide.eclipse.adt 4 75 2011-03-09 10:22:29.871
!MESSAGE Errors running builder 'Android Pre Compiler' on project
'GeoStar'.
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.build.AaptParser.getResourceFromFullPath(AaptParser.java:
467)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.checkAndMark(AaptParser.java:
389)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
300)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
137)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.execAapt(PreCompilerBuilder.java:
723)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleResources(PreCompilerBuilder.java:
626)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
493)
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.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.resources 4 2 2011-03-09 10:22:37.998
!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.AaptParser.getResourceFromFullPath(AaptParser.java:
467)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.checkAndMark(AaptParser.java:
389)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
300)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
137)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.execAapt(PreCompilerBuilder.java:
723)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleResources(PreCompilerBuild

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-09 Thread Caféïne
For me this error disappeared (Eclipse 3.6.2) once I used in my
preferences.xml a
xmlns:app="http://schemas.android.com/apk/res/com.myproject.myname"; in
the project himself instead of using the preferences.xml from the
library using a
xmlns:app="http://schemas.android.com/apk/res/com.myproject.mylibrary";

I can't see my previous mail so here is again the workspace log (using
android-eclipse-108944.zip ) when i faced this problem

!ENTRY org.eclipse.core.resources 4 2 2011-03-09 12:16:24.619
!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.AaptParser.getResourceFromFullPath(AaptParser.java:
467)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.checkAndMark(AaptParser.java:
389)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
300)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
137)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.execAapt(PreCompilerBuilder.java:
723)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleResources(PreCompilerBuilder.java:
626)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
493)
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.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.resources 4 75 2011-03-09 12:16:24.734
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.android.ide.eclipse.adt 4 75 2011-03-09 12:16:24.734
!MESSAGE Errors running builder 'Android Pre Compiler' on project
'GeoStar'.
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.build.AaptParser.getResourceFromFullPath(AaptParser.java:
467)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.checkAndMark(AaptParser.java:
389)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
300)
at
com.android.ide.eclipse.adt.internal.build.AaptParser.parseOutput(AaptParser.java:
137)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.execAapt(PreCompilerBuilder.java:
723)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.handleResources(PreCompilerBuilder.java:
626)
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(PreCompilerBuilder.java:
493)
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.events.AutoBuildJob.doBuild(AutoBuildJob.java:
144)
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
242)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


On Mar 8, 7:39 am, Chopcsu  wrote:
> Yeah this happened to me on upgrading to ADT 10, reinstall
> eclipse,reinstall android sdk and a policy to never update ADT or
> android SDK anywhere near milestones fixed it fine.
>
> On Mar 8, 4:37 pm, Xavier Ducrohet  wrote:
>
>
>
>
>
>
>
> > ugh, we'll fix this asap.
>
> > Xav
>
> > On Mon, Mar 7, 2011 at 9:14 PM, Nathan  wrote:
> > > Well, then that would be part of the problem,
>
> > > I don't see anywhere that that is documented, though. Th

[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-11 Thread Dato
hi,

I have the same issue. I'm using ADT10.0.0, eclipse3.4 on MacOsx


--
!ENTRY org.eclipse.ui 2 0 2011-03-11 19:59:38.453
!MESSAGE Build problems
!SUBENTRY 1 org.eclipse.core.resources 2 75 2011-03-11 19:59:38.453
!MESSAGE Errors during build.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
!MESSAGE Errors running builder 'Android Pre Compiler' on project
'SharePrice'.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
!MESSAGE java.lang.NullPointerException encountered while running
Android Pre Compiler.
!STACK 0
java.lang.NullPointerException
at
com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(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.java:
309)
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
341)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:
330)
at org.eclipse.ui.actions.GlobalBuildAction
$1.run(GlobalBuildAction.java:182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 
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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-04-15 Thread Ganesh
The problem is not due to Eclipse version but due to the outdate
examples on the internet particularly app-for-android
You can fix this by adding

 

In the Manifest.xml file and copying the proguard.cfg file from a
blank project to the example project.


~gk

On Mar 12, 6:41 am, Xavier Ducrohet  wrote:
> As we mention, you need to update to Eclipse 3.5.
>
>
>
>
>
>
>
>
>
> On Fri, Mar 11, 2011 at 4:06 AM, Dato  wrote:
> > hi,
>
> > I have the same issue. I'm using ADT10.0.0, eclipse3.4 on MacOsx
>
> > --
> > !ENTRY org.eclipse.ui 2 0 2011-03-11 19:59:38.453
> > !MESSAGE Build problems
> > !SUBENTRY 1 org.eclipse.core.resources 2 75 2011-03-11 19:59:38.453
> > !MESSAGE Errors during build.
> > !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> > !MESSAGE Errors running builder 'Android Pre Compiler' on project
> > 'SharePrice'.
> > !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> > !MESSAGE java.lang.NullPointerException encountered while running
> > Android Pre Compiler.
> > !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: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.resources.Workspace.build(Workspace.java:
> > 330)
> >        at org.eclipse.ui.actions.GlobalBuildAction
> > $1.run(GlobalBuildAction.java:182)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> > --
> > 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


[android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-12-19 Thread Dema
Hi,
removing all the resource filters from my Android project solved the issue. I 
had put some filters to exclude old directories inside /res folder. 
I think the issue is due to ADT ResourceManagerBuilder problems in dealing with 
resource filters.




-- 
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


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-02-25 Thread Xavier Ducrohet
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  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.build(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(InternalWorkspaceJob.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.build(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(InternalWorkspaceJob.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  wrote:
>> This is extremely strange.
>> Can you send me the log of your workspace?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Feb 23, 2011 at 9:52 PM, Chopcsu  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 ''.
>> > java.lang.NullPointerException encountered while running Android Pre
>> > Compiler.
>>
>> > O

Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
Hey all,

I'm still not sure how this is happening. I'm adding logs to the
builder and I'm going to make this version available shortly to
understand what is going on since I can't reproduce it locally.

Stay tuned, I'm looking at pushing this somewhere else than the normal
update site asap.

Xav

On Mon, Mar 7, 2011 at 2:51 PM, Nathan  wrote:
> I would like this to start being treated as a real problem.
>
> I can't even downgrade my ADT. I use revert configuration in ADT and
> it has no effect.
>
> Putting a proguard.cfg in the project directory only worked
> temporarily. It's broken again.
>
> I'm dead in the water for builds. At this rate, I will never build an
> Android app again.
>
> Nathan
>
> --
> 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


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
Hey all,

I've filed bug #15312 to track this issue, and I've just attached to
it a version of ADT that enable some logging in the method  I suspect
is not finishing properly.

I've also moved the line that isn't called (which is the cause of the
NPE later on) earlier in the method, which will maybe unblock you (but
I fear that if the rest of the method really isn't running due to an
exception you'll get another error somewhere else).

If one of you could run this new ADT and provide me with the workspace
log, I'll be able to track what's going on and fix it ASAP.

thanks

On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
> Hey all,
>
> I'm still not sure how this is happening. I'm adding logs to the
> builder and I'm going to make this version available shortly to
> understand what is going on since I can't reproduce it locally.
>
> Stay tuned, I'm looking at pushing this somewhere else than the normal
> update site asap.
>
> Xav
>
> On Mon, Mar 7, 2011 at 2:51 PM, Nathan  wrote:
>> I would like this to start being treated as a real problem.
>>
>> I can't even downgrade my ADT. I use revert configuration in ADT and
>> it has no effect.
>>
>> Putting a proguard.cfg in the project directory only worked
>> temporarily. It's broken again.
>>
>> I'm dead in the water for builds. At this rate, I will never build an
>> Android app again.
>>
>> Nathan
>>
>> --
>> 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!
>



-- 
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


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Tor Norbye
ADT 10 requires Eclipse 3.5 or later.

-- Tor
On Mar 7, 2011 9:01 PM, "Nathan"  wrote:
> I'd like to try it, but there isn't Help > Install New Software...
> menu item on my eclipse. It seems to want only repositories, not zips.
> This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
> I can.
>
> On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
>> Hey all,
>>
>> I've filed bug #15312 to track this issue, and I've just attached to
>> it a version of ADT that enable some logging in the method  I suspect
>> is not finishing properly.
>>
>> I've also moved the line that isn't called (which is the cause of the
>> NPE later on) earlier in the method, which will maybe unblock you (but
>> I fear that if the rest of the method really isn't running due to an
>> exception you'll get another error somewhere else).
>>
>> If one of you could run this new ADT and provide me with the workspace
>> log, I'll be able to track what's going on and fix it ASAP.
>>
>> thanks
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
>> > Hey all,
>>
>> > I'm still not sure how this is happening. I'm adding logs to the
>> > builder and I'm going to make this version available shortly to
>> > understand what is going on since I can't reproduce it locally.
>>
>> > Stay tuned, I'm looking at pushing this somewhere else than the normal
>> > update site asap.
>>
>> > Xav
>>
>> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan 
wrote:
>> >> I would like this to start being treated as a real problem.
>>
>> >> I can't even downgrade my ADT. I use revert configuration in ADT and
>> >> it has no effect.
>>
>> >> Putting a proguard.cfg in the project directory only worked
>> >> temporarily. It's broken again.
>>
>> >> I'm dead in the water for builds. At this rate, I will never build an
>> >> Android app again.
>>
>> >> Nathan
>>
>> >> --
>> >> 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!
>>
>> --
>> 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

-- 
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

Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-07 Thread Xavier Ducrohet
ugh, we'll fix this asap.

Xav

On Mon, Mar 7, 2011 at 9:14 PM, Nathan  wrote:
> Well, then that would be part of the problem,
>
> I don't see anywhere that that is documented, though. The installation
> page still mentions 3.4.
>
> Nathan
>
> On Mar 7, 9:06 pm, Tor Norbye  wrote:
>> ADT 10 requires Eclipse 3.5 or later.
>>
>> -- Tor
>> On Mar 7, 2011 9:01 PM, "Nathan"  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I'd like to try it, but there isn't Help > Install New Software...
>> > menu item on my eclipse. It seems to want only repositories, not zips.
>> > This is on Eclipse 3.4 in Windows. I'll try on on a later eclipse when
>> > I can.
>>
>> > On Mar 7, 6:05 pm, Xavier Ducrohet  wrote:
>> >> Hey all,
>>
>> >> I've filed bug #15312 to track this issue, and I've just attached to
>> >> it a version of ADT that enable some logging in the method  I suspect
>> >> is not finishing properly.
>>
>> >> I've also moved the line that isn't called (which is the cause of the
>> >> NPE later on) earlier in the method, which will maybe unblock you (but
>> >> I fear that if the rest of the method really isn't running due to an
>> >> exception you'll get another error somewhere else).
>>
>> >> If one of you could run this new ADT and provide me with the workspace
>> >> log, I'll be able to track what's going on and fix it ASAP.
>>
>> >> thanks
>>
>> >> On Mon, Mar 7, 2011 at 4:20 PM, Xavier Ducrohet  wrote:
>> >> > Hey all,
>>
>> >> > I'm still not sure how this is happening. I'm adding logs to the
>> >> > builder and I'm going to make this version available shortly to
>> >> > understand what is going on since I can't reproduce it locally.
>>
>> >> > Stay tuned, I'm looking at pushing this somewhere else than the normal
>> >> > update site asap.
>>
>> >> > Xav
>>
>> >> > On Mon, Mar 7, 2011 at 2:51 PM, Nathan 
>> wrote:
>> >> >> I would like this to start being treated as a real problem.
>>
>> >> >> I can't even downgrade my ADT. I use revert configuration in ADT and
>> >> >> it has no effect.
>>
>> >> >> Putting a proguard.cfg in the project directory only worked
>> >> >> temporarily. It's broken again.
>>
>> >> >> I'm dead in the water for builds. At this rate, I will never build an
>> >> >> Android app again.
>>
>> >> >> Nathan
>>
>> >> >> --
>> >> >> 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!
>>
>> >> --
>> >> 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
>
> --
> 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


Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-09 Thread rakishgobi nath
 http://rakishcan.blogspot.com/search/label/TIPS
 http://rakishcan.blogspot.com/search/label/TIPS
 http://rakishcan.blogspot.com/search/label/TIPS
http://rakishcan.blogspot.com/search/label/TIPS
http://rakishcan.blogspot.com/search/label/TIPS
Monday, 7 March 2011
 Customize the Windows 7 log-on
screen


Windows 7 makes it easy changing the Windows
 log-on screen.

1. Go to start, and click on Run, type *Regedit *&
press enter there.

2. Navigate to :*  *
 HKEY_LOCAL_MACHINE\Software\Microsoft
 \Windows\CurrentVersion\Authentication\*  *
* *LogonUI\Background
3. Double-click the OEMBackground DWORD
 key

4. Set value of the key to 1.



5. Select a background image for Logon Screen
 with size less than 256KB in size (Use of Image
 Resize software like VSO Resizer can help)

6. Copy that image into the
C:\Windows\system32oobe\info
 \backgrounds folder

7. Rename the image to backgroundDefault.jpg

8. Reboot, and now your logon Image would have
changed.
 

-- 
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

Re: [android-developers] Re: java.lang.NullPointerException encountered while running Android Pre Compiler.

2011-03-11 Thread Xavier Ducrohet
As we mention, you need to update to Eclipse 3.5.

On Fri, Mar 11, 2011 at 4:06 AM, Dato  wrote:
> hi,
>
> I have the same issue. I'm using ADT10.0.0, eclipse3.4 on MacOsx
>
>
> --
> !ENTRY org.eclipse.ui 2 0 2011-03-11 19:59:38.453
> !MESSAGE Build problems
> !SUBENTRY 1 org.eclipse.core.resources 2 75 2011-03-11 19:59:38.453
> !MESSAGE Errors during build.
> !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> !MESSAGE Errors running builder 'Android Pre Compiler' on project
> 'SharePrice'.
> !SUBENTRY 2 com.android.ide.eclipse.adt 2 75 2011-03-11 19:59:38.453
> !MESSAGE java.lang.NullPointerException encountered while running
> Android Pre Compiler.
> !STACK 0
> java.lang.NullPointerException
>        at
> com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder.build(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.java:
> 309)
>        at
> org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> 341)
>        at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:
> 330)
>        at org.eclipse.ui.actions.GlobalBuildAction
> $1.run(GlobalBuildAction.java:182)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> --
> 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