Re: AW: NullPointerException in PropertyHelper.setProperty

2008-05-29 Thread tdakanalisw
Hi again, and thanks for your reply Jan, the problem occurs when I call the init() function wherever it is placed. I have try many different positions for that function but it fails. The last test I made was the following: Project p = new Project(); p.init(); ...BUT NOTHING AGAIN :-( . Ιs it p

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.

AW: NullPointerException with ant Javac() api

2008-04-15 Thread Jan.Materne
Your task doesnt have a reference to your project, therefore task.getProject() returns null Try setting the project reference task.setProject(project); task.execute(); Maybe you want to have a look at Leafcutter https://leafcutter.dev.java.net/ Jan > -Ursprüngliche Nachricht

Re: AW: NullPointerException

2008-03-07 Thread Matt Benson
/export/apps/tpbuild/trdproc/swhandler/dev/modules/swhandler.comp.SWDealSink/build.xml > > the ant outputs the same > > load-project-metadata: > fileset: Setup scanner in dir > /export/apps/tpbuild/trdproc/_infrastructure/lib > with patternSet{ > includes: [libraries

Re: AW: NullPointerException

2008-03-07 Thread Alexander Pavlenko
/trdproc/swhandler/dev/.tmp/project-metadata.xml is oldest target file But if I remove the target file then the exception disappears. This problem happens on Solaris but doesn't happen on windows. <[EMAIL PROTECTED]> 07.03.2008 10:38 Please respond to "Ant Users List"

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, why can this happen? > > java.lang.NullPointerExcep