You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by "Partyka, Jason" <JP...@cciminstitute.com> on 2008/06/30 19:29:55 UTC

getting a null pointer exception: MRIDTransformationRule.java:65

Hi all,

I am a new Ivy user and I hope one of you have seen this before. 

(I'd also like to state that I have searched this very forum, manuals, and the rest of the web for this answer).


I am trying to set up a new internal repository with some gzipped PHP code (and, ultimately, after retrieved it will be expanded from the archive). I've been rolling along with various setup errors, and all of those errors were sequentially resolved. Until this one.

I've downloaded the source, but as you can see from the stacktrace, it's not giving a lot of clues. Anyhow, I'm going to continue investigating but I am posting here in the hopes that someone has seen this error before:

[ivy:install] WARN: 	::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN: 	::          UNRESOLVED DEPENDENCIES         ::
[ivy:install] WARN: 	::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] WARN: 	:: phpcode#phpcode;6.2: java.lang.NullPointerException at org.apache.ivy.plugins.namespace.MRIDTransformationRule$MridRuleMatcher.apply(MRIDTransformationRule.java:65)
[ivy:install] WARN: 	::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] 	report for apache#ivy-install;1.0 default produced in /home/jpartyka/build-a-ivy-repository/cache/advanced/apache-ivy-install-default.xml

BUILD FAILED
/home/jpartyka/build-a-ivy-repository/build.xml:125: Problem happened while installing modules - see output for details
	at org.apache.ivy.ant.IvyInstall.doExecute(IvyInstall.java:102)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)





Thanks,
Jason

RE: getting a null pointer exception: MRIDTransformationRule.java:65

Posted by "Partyka, Jason" <JP...@cciminstitute.com>.
Meant to say that I don't remember.



> -----Original Message-----
> From: Partyka, Jason [mailto:JPartyka@cciminstitute.com]
> Sent: Monday, July 07, 2008 8:00 AM
> To: ivy-user@ant.apache.org
> Subject: RE: getting a null pointer exception:
> MRIDTransformationRule.java:65
> 
> Hi Xavier,
> 
> Unfortunately I remember what I did to resolve the situation. I do
have
> it resolved, and I can tell you that it involved changing the version
> number. If I come across it again I will file a JIRA.
> 
> -Jason
> 
> 
> 
> 
> 
> > -----Original Message-----
> > From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> > Sent: Thursday, July 03, 2008 2:16 PM
> > To: ivy-user@ant.apache.org
> > Subject: Re: getting a null pointer exception:
> > MRIDTransformationRule.java:65
> >
> > On Mon, Jun 30, 2008 at 7:29 PM, Partyka, Jason
> > <JP...@cciminstitute.com>
> > wrote:
> >
> > > Hi all,
> > >
> > > I am a new Ivy user and I hope one of you have seen this before.
> > >
> > > (I'd also like to state that I have searched this very forum,
> > manuals, and
> > > the rest of the web for this answer).
> > >
> > >
> > > I am trying to set up a new internal repository with some gzipped
> PHP
> > code
> > > (and, ultimately, after retrieved it will be expanded from the
> > archive).
> > > I've been rolling along with various setup errors, and all of
those
> > errors
> > > were sequentially resolved. Until this one.
> > >
> > > I've downloaded the source, but as you can see from the
stacktrace,
> > it's
> > > not giving a lot of clues. Anyhow, I'm going to continue
> > investigating but I
> > > am posting here in the hopes that someone has seen this error
> before:
> > >
> > > [ivy:install] WARN:
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > > [ivy:install] WARN:     ::          UNRESOLVED DEPENDENCIES
> > ::
> > > [ivy:install] WARN:
> > ::::::::::::::::::::::::::::::::::::::::::::::
> > > [ivy:install] WARN:     :: phpcode#phpcode;6.2:
> > > java.lang.NullPointerException at
> > >
> >
>
org.apache.ivy.plugins.namespace.MRIDTransformationRule$MridRuleMatcher
> > .apply(MRIDTransformationRule.java:65)
> >
> > Could you open a JIRA with this and some more details like your
> > settings
> > (especially your namespace settings)?
> >
> > Xavier

RE: getting a null pointer exception: MRIDTransformationRule.java:65

Posted by "Partyka, Jason" <JP...@cciminstitute.com>.
Hi Xavier,

Unfortunately I remember what I did to resolve the situation. I do have
it resolved, and I can tell you that it involved changing the version
number. If I come across it again I will file a JIRA.

-Jason





> -----Original Message-----
> From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> Sent: Thursday, July 03, 2008 2:16 PM
> To: ivy-user@ant.apache.org
> Subject: Re: getting a null pointer exception:
> MRIDTransformationRule.java:65
> 
> On Mon, Jun 30, 2008 at 7:29 PM, Partyka, Jason
> <JP...@cciminstitute.com>
> wrote:
> 
> > Hi all,
> >
> > I am a new Ivy user and I hope one of you have seen this before.
> >
> > (I'd also like to state that I have searched this very forum,
> manuals, and
> > the rest of the web for this answer).
> >
> >
> > I am trying to set up a new internal repository with some gzipped
PHP
> code
> > (and, ultimately, after retrieved it will be expanded from the
> archive).
> > I've been rolling along with various setup errors, and all of those
> errors
> > were sequentially resolved. Until this one.
> >
> > I've downloaded the source, but as you can see from the stacktrace,
> it's
> > not giving a lot of clues. Anyhow, I'm going to continue
> investigating but I
> > am posting here in the hopes that someone has seen this error
before:
> >
> > [ivy:install] WARN:
> ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:install] WARN:     ::          UNRESOLVED DEPENDENCIES
> ::
> > [ivy:install] WARN:
> ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:install] WARN:     :: phpcode#phpcode;6.2:
> > java.lang.NullPointerException at
> >
>
org.apache.ivy.plugins.namespace.MRIDTransformationRule$MridRuleMatcher
> .apply(MRIDTransformationRule.java:65)
> 
> Could you open a JIRA with this and some more details like your
> settings
> (especially your namespace settings)?
> 
> Xavier

Re: getting a null pointer exception: MRIDTransformationRule.java:65

Posted by Xavier Hanin <xa...@gmail.com>.
On Mon, Jun 30, 2008 at 7:29 PM, Partyka, Jason <JP...@cciminstitute.com>
wrote:

> Hi all,
>
> I am a new Ivy user and I hope one of you have seen this before.
>
> (I'd also like to state that I have searched this very forum, manuals, and
> the rest of the web for this answer).
>
>
> I am trying to set up a new internal repository with some gzipped PHP code
> (and, ultimately, after retrieved it will be expanded from the archive).
> I've been rolling along with various setup errors, and all of those errors
> were sequentially resolved. Until this one.
>
> I've downloaded the source, but as you can see from the stacktrace, it's
> not giving a lot of clues. Anyhow, I'm going to continue investigating but I
> am posting here in the hopes that someone has seen this error before:
>
> [ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:install] WARN:     ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:install] WARN:     ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:install] WARN:     :: phpcode#phpcode;6.2:
> java.lang.NullPointerException at
> org.apache.ivy.plugins.namespace.MRIDTransformationRule$MridRuleMatcher.apply(MRIDTransformationRule.java:65)

Could you open a JIRA with this and some more details like your settings
(especially your namespace settings)?

Xavier