Re: NullPointerException ant.util.ChainedMapper.java:36

2018-03-03 Thread Jaikiran Pai
Hi Ahmet, This is actually a bug in Ant 1.10.2 that we released recently. It got reported a while back here https://bz.apache.org/bugzilla/show_bug.cgi?id=62086 and we have fixed itin Ant upstream repo and it will be available in one of our next release soon. -Jaikiran On 03/03/18 7:59 PM

NullPointerException ant.util.ChainedMapper.java:36

2018-03-03 Thread Ahmet ARSLAN
Hi all, I have installed Ant 1.10.2 along with Java 9.0.4. When I clone and https://github.com/apache/lucene-solr run ‘ant’, I get the following track trace. I figured that, null pointer exception looks coming from tools.ant.util.ChainedMapper. Does Ant 1.10.2 work with java9? Thanks, Ahmet /

Re: Bug 50894: Invoking multiple targets that share the same dependency to augment a path causes NullPointerException

2011-07-27 Thread Steele, Richard
Yikes, that was fast. Thanks! Rich On Wed, Jul 27, 2011 at 10:27 AM, Stefan Bodewig wrote: > On 2011-07-27, Stefan Bodewig wrote: > > > On 2011-07-27, Stefan Bodewig wrote: > > >> On 2011-07-27, Steele, Richard wrote: > > >>> I keep bumping into the issue I documented in bug > >>> 50894

Re: Bug 50894: Invoking multiple targets that share the same dependency to augment a path causes NullPointerException

2011-07-27 Thread Stefan Bodewig
On 2011-07-27, Stefan Bodewig wrote: > On 2011-07-27, Stefan Bodewig wrote: >> On 2011-07-27, Steele, Richard wrote: >>> I keep bumping into the issue I documented in bug >>> 50894but >>> there's no feedback about it. >> Sorry about that

Re: Bug 50894: Invoking multiple targets that share the same dependency to augment a path causes NullPointerException

2011-07-27 Thread Stefan Bodewig
On 2011-07-27, Stefan Bodewig wrote: > On 2011-07-27, Steele, Richard wrote: >> I keep bumping into the issue I documented in bug >> 50894but >> there's no feedback about it. > Sorry about that Rich. Sometimes we really need a nudge. I'

Re: Bug 50894: Invoking multiple targets that share the same dependency to augment a path causes NullPointerException

2011-07-27 Thread Stefan Bodewig
On 2011-07-27, Steele, Richard wrote: > I keep bumping into the issue I documented in bug > 50894but > there's no feedback about it. Sorry about that Rich. Sometimes we really need a nudge. I'm looking into it. Stefan -

Bug 50894: Invoking multiple targets that share the same dependency to augment a path causes NullPointerException

2011-07-27 Thread Steele, Richard
I keep bumping into the issue I documented in bug 50894but there's no feedback about it. Here's the description: Using this build file:

Junit Task dies with NullPointerException

2010-06-06 Thread Steven Harms
Having surmounted the Ant-as-technology issue, I'm now encountering an error in my ant execution of junit. When I run my ant script, I get: java.lang.NullPointerException at org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder$TestInfos.(FailureRecorder.java:349) (The full stack is here:

Re: NullPointerException when running ivy report on Linux

2008-09-30 Thread nyc_ivy_user
http://www.nabble.com/NullPointerException-when-running-ivy-report-on-Linux-tp19734067p19742651.html Sent from the ivy-user mailing list archive at Nabble.com.

NullPointerException during build file (1.7.1beta)

2008-06-22 Thread tdakanalisw
://www.nabble.com/NullPointerException-during-build-file-%281.7.1beta%29-tp18059517p18059517.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: AW: NullPointerException in PropertyHelper.setProperty

2008-05-29 Thread tdakanalisw
Jan > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/NullPointerException-in-PropertyHe

AW: NullPointerException in PropertyHelper.setProperty

2008-05-28 Thread Jan.Materne
> Hi, I don't know if I am in the right forum. I have the following problem. I > have create a Web Service which transforms a file from html to xml. When I > call that WS I get the following error: > > java.lang.NullPointerException at java.util.Hashtable.put(Unknown Source) > at org.apache.tools.

NullPointerException in PropertyHelper.setProperty

2008-05-28 Thread tdakanalisw
p.getDefaultTarget()); p.fireBuildFinished(null); Could you help me to solve that problem?? Thanks in advance! -- View this message in context: http://www.nabble.com/NullPointerException-in-PropertyHelper.setProperty-tp17517703p17517703.html Sent from the Ant - Users mailing list arc

Re: NullPointerException with ant Javac() api

2008-04-16 Thread Paolo
Thank you very much! that did the trick! And thanks for the link! Paolo On Wed, 16 Apr 2008 07:24:36 +0200 <[EMAIL PROTECTED]> wrote: > Your task doesnt have a reference to your project, therefore > task.getProject() returns null > > Try setting the project reference > task.setProject(

AW: NullPointerException with ant Javac() api

2008-04-15 Thread Jan.Materne
che Nachricht- > Von: Paolo [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 15. April 2008 17:35 > An: user@ant.apache.org > Betreff: NullPointerException with ant Javac() api > > Hello, > I'm new to ant api. i would like to compile a source from my > application, and i wro

NullPointerException using Javac() from ant API

2008-04-15 Thread paoletto
Hello, I'm new to ant api. i would like to compile a source from my application, and i wrote the method below. When i execute it, i get a NullPointerException at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:807) where it says: File srcDir = getProject().resolveFile(list[i]); (it

NullPointerException with ant Javac() api

2008-04-15 Thread Paolo
Hello, I'm new to ant api. i would like to compile a source from my application, and i wrote the method below. When i execute it, i get a NullPointerException at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:807) where it says: File srcDir = getProject().resolveFile(list[i]); (it

Re: AW: NullPointerException

2008-03-07 Thread Matt Benson
.xml] excludes: [] } > fileset: Setup scanner in dir > /export/apps/tpbuild/trdproc/_infrastructure/dist > with patternSet{ > includes: [libraries.xml] excludes: [] } > fileset: Setup scanner in dir > /export/apps/tpbuild/trdproc/swhandler/dev/build > with patternSet{ > incl

Re: AW: NullPointerException

2008-03-07 Thread Alexander Pavlenko
To cc Subject AW: NullPointerException Can you post the snippet around the ? Jan > -Ursprüngliche Nachricht- > Von: Alexander Pavlenko [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 7. März 2008 08:25 > An: Ant Users List > Betreff: NullPointerException >

AW: NullPointerException

2008-03-06 Thread Jan.Materne
Can you post the snippet around the ? Jan > -Ursprüngliche Nachricht- > Von: Alexander Pavlenko [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 7. März 2008 08:25 > An: Ant Users List > Betreff: NullPointerException > > Please advise

NullPointerException

2008-03-06 Thread Alexander Pavlenko
Please advise, why can this happen? java.lang.NullPointerException at org.apache.tools.ant.types.resources.Sort$SortedBag$MutableInt.access$100(Sort.java:44) at org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterator.next(Sort.java:60) at org.apache.tools.ant.type

Re: Dependset NullPointerException

2007-02-01 Thread Matt Benson
--- Oliver Robinson <[EMAIL PROTECTED]> wrote: > Thanks Matt, that manual build fixes the problem. > What is the general process/timescale that this > might end up in a stable build? I currently have > ant in production and am a bit wary of using a dev > build for this... > Oliver Oliver: I w

Re: Dependset NullPointerException

2007-01-31 Thread Oliver Robinson
I tried the latest nightly build: apache-ant-20070123 which threw the same error. Anything else that might help diagnose to the problem? Thanks, Oliver Matt Benson wrote: Please check this against a (very) recent build from Ant HEAD. I believe Martijn Kruithof recently removed the NPE from

Re: Dependset NullPointerException

2007-01-30 Thread Matt Benson
Please check this against a (very) recent build from Ant HEAD. I believe Martijn Kruithof recently removed the NPE from dependset. Thanks, Matt --- Oliver Robinson <[EMAIL PROTECTED]> wrote: > I'm having a spot of bother with a dependset - it is > throwing a NPE. I'm thought it used work on an

Dependset NullPointerException

2007-01-30 Thread Oliver Robinson
I'm having a spot of bother with a dependset - it is throwing a NPE. I'm thought it used work on ant 1.6.5, but having just re-tried it, it seems to fail in the same way. I'm not having much luck boiling down an exact test case, although it seems to be something to do with either number of fi

Re: How to resolve a NullPointerException

2006-10-27 Thread tharanga wijethilake
TED]> An: "Ant Users List" Betreff: How to resolve a NullPointerException > Hi all, > I am tring to run this Ant file using a java program. > When I run this using "Ant run" option provided in eclipse it runs with > out any t

Re: How to resolve a NullPointerException

2006-10-16 Thread Antoine Levy-Lambert
s List" Betreff: How to resolve a NullPointerException > Hi all, > I am tring to run this Ant file using a java program. > When I run this using "Ant run" option provided in eclipse it runs with > out any trouble. > > > > > c

AW: How to resolve a NullPointerException

2006-10-16 Thread Jan.Materne
Dont know that task, but I have doubts using the leading "/" on the bundlepath value ... Jan >-Ursprüngliche Nachricht- >Von: tharanga wijethilake [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 16. Oktober 2006 16:41 >An: Ant Users List >Betreff: How to resol

How to resolve a NullPointerException

2006-10-16 Thread tharanga wijethilake
Hi all, I am tring to run this Ant file using a java program. When I run this using "Ant run" option provided in eclipse it runs with out any trouble. but when I try to run prgrammtically it gives a null pointer. Please Could someone tell me how am i supose t

Re: Taskdef NullPointerException

2006-05-18 Thread Steve Loughran
subir bhaumik wrote: Hi I am trying to execute a simple java code for a build using Ant API rather than writing build.xml.When executing the code it throws NullPointerException for the line tinstaller.setClasspath(class_path); in the code. It is for the class

Taskdef NullPointerException

2006-05-18 Thread subir bhaumik
Hi I am trying to execute a simple java code for a build using Ant API rather than writing build.xml.When executing the code it throws NullPointerException for the line tinstaller.setClasspath(class_path); in the code. It is for the class

AW: [Junit] throws NullPointerException

2005-10-26 Thread Wunderlich, Patrick
> > Different JDKs? > No! Same JDKs! I have the problem only on my system, independent of used JDK version (i tried 1.4.2 and 1.5.0)! I also tried with fresh installations of ant and jdk - same problem! But my output of "ant -diagnostics" is identical (!) with other working systems?! I really

Re: [Junit] throws NullPointerException

2005-10-25 Thread Stefan Bodewig
On Tue, 25 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]> wrote: > I have this Problem only on one Computer. > The same ANT script works on another PC. > But when i run "ant -diagnosis" on both systems, > the output is identical?! Different JDKs? Stefan ---

AW: [Junit] throws NullPointerException

2005-10-24 Thread Wunderlich, Patrick
> > > > But is working?! > > Yes, because - unlike the xml formatter - it doesn't rely on > startTestSuite being the first call. > OK - i understand :) I have this Problem only on one Computer. The same ANT script works on another PC. But when i run "ant -diagnosis" on both systems, the out

Re: [Junit] throws NullPointerException

2005-10-24 Thread Stefan Bodewig
On Mon, 24 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]> wrote: > >> >> Looks as if something in your testcase was writing to >> System.out before Ant starts the tests. A static block maybe? >> > > But is working?! Yes, because - unlike the xml formatter - it doesn't rely on startTestSui

AW: [Junit] throws NullPointerException

2005-10-23 Thread Wunderlich, Patrick
> > Looks as if something in your testcase was writing to > System.out before Ant starts the tests. A static block maybe? > But is working?! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: [Junit] throws NullPointerException

2005-10-21 Thread Stefan Bodewig
On Fri, 21 Oct 2005, Patrick Wunderlich <[EMAIL PROTECTED]> wrote: > "doc" is null! There seems to be a problem with xml processing... > I've tested this with JDK 1.4.2_08 and 1.5.0_04 under WinXP. > Ant-Version: 1.6.5 Looks as if something in your testcase was writing to System.out before Ant st

AW: [Junit] throws NullPointerException

2005-10-21 Thread Jan.Materne
atrick [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 21. Oktober 2005 12:57 >An: user@ant.apache.org >Betreff: [Junit] throws NullPointerException > >Hey Ant users and friends! > >I've a strange problem using the junit ant task. >Everything works fine, but when

[Junit] throws NullPointerException

2005-10-21 Thread Wunderlich, Patrick
Hey Ant users and friends! I've a strange problem using the junit ant task. Everything works fine, but when i add i get following Exception: [junit] Exception in thread "main" java.lang.NullPointerException [junit] at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultForma

Re: NullPointerException when adding listener

2005-07-21 Thread Juergen Hermann
On Thu, 21 Jul 2005 11:42:15 -0700 (PDT), Matt Benson wrote: >Looks like your XmlLogger object needs -some- >configuration between instantiation and addition as a >listener. Well, in some twisted way, yes. The XmlLogger does two things: recording seen tasks in "tasks", and recording timing info.

Re: NullPointerException when adding listener

2005-07-21 Thread Matt Benson
Looks like your XmlLogger object needs -some- configuration between instantiation and addition as a listener. HTH, Matt --- Juergen Hermann <[EMAIL PROTECTED]> wrote: > Hi, the following build script which adds a listener > at runtime fails with a > NullPointerExcepton. Is this a bug, just not

NullPointerException when adding listener

2005-07-21 Thread Juergen Hermann
Hi, the following build script which adds a listener at runtime fails with a NullPointerExcepton. Is this a bug, just not possible or an error in my script? (Tested with ant 1.6.2) Test Adding Logger via Scripting Adding refer

RE: org.apache.tools.ant.ProjectHelper.parse(...) throws a NullPointerException

2005-01-05 Thread Mark D. Hansen
, 2005 5:48 PM > To: Ant Users List > Subject: Re: org.apache.tools.ant.ProjectHelper.parse(...) throws a > NullPointerException > > > --- "Mark D. Hansen" <[EMAIL PROTECTED]> wrote: > > > I'm using Ant 1.6.2 and junit. When using > > Project

Re: org.apache.tools.ant.ProjectHelper.parse(...) throws a NullPointerException

2005-01-04 Thread Matt Benson
--- "Mark D. Hansen" <[EMAIL PROTECTED]> wrote: > I'm using Ant 1.6.2 and junit. When using > ProjectHelperImpl.parse(...) to parse an existing > build file, an NPE is thrown at > [SNIP] It looks like a (not "the") cause for your problem is your use of ProjectHelperImpl. Do you have this expli

org.apache.tools.ant.ProjectHelper.parse(...) throws a NullPointerException

2005-01-04 Thread Mark D. Hansen
I'm using Ant 1.6.2 and junit. When using ProjectHelperImpl.parse(...) to parse an existing build file, an NPE is thrown at org.apache.tools.ant.types.Description.getDescription(Description.java:78). The Description.getDescription() method is shown below and line #78 is marked. It seems that

FilterSet NullPointerException with 1.6.1

2004-05-03 Thread Ken Rider
I have a target that creates a filterset then references that filterset on a file copy. With Ant 1.5.1 and 1.5.4 the copy works as expected but with Ant 1.6.1 I get a NullPointerException (see below). Has anyone else seen this and, if so, been able to resolve the problem? Ken [copy] Copying

NullPointerException from XMLJUnitResultFormatter.endTestSuite

2003-03-13 Thread Adam Lancaster
Has anyone seen this error while using the xml formatter? java.lang.NullPointerException at java.io.Writer.write(Writer.java:126) at org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:150) at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFor