Re: [mevenide-user] Netbeans 6.7RC and dependencies with version ranges.

Milos Kleint <[email protected]> Mon, 18 May 2009 10:41:02 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
--00504502d2f61ddb29046a2bc1cb
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

please try with the latest dailies and  file as issue if it persists, I've
done a lot of fixing and hacking in the maven embedder before and after 6.7
beta, so might have broken something (or might have fixed since then)

Milos



On Mon, May 18, 2009 at 10:09 AM, Magne Nordtveit <[email protected]=
o
> wrote:

>  Hi,
>
>
>
> I am having some problems with version dependencies with version ranges
> some of my projects...
>
>
>
> When adding a dependency to a project with a version range both on junit =
at
> scope test, and a dependency with a version range at the compile scope. W=
hen
> expanding the dependency node, I get the following exception.
>
>
>
> This is working fine in NB6.5  but not in any of the 6.7 releases. The
> artifact with the range, is NOT the artifact mentioned in the exception
> either, so I=E2=80=99m abit baffled...
>
>
>
> I will try to reproduce it in a =E2=80=9Ccontrolled=E2=80=9D environment =
for a bug report.
> Unless there is something that is already fixed, or something you guys
> (devs) are aware of.
>
>
>
> java.lang.IllegalStateException: Artifact xml-apis:xml-apis:jar:1.3.04 is
> not resolved and is missing the file association in local repository. Ple=
ase
> report at issue #140253.
>
>                 at
> org.netbeans.modules.maven.nodes.DependencyNode.<init>(DependencyNode.jav=
a:168)
>
>                 at
> org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.cr=
eateNodes(DependenciesNode.java:180)
>
>                 at
> org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.cr=
eateNodes(DependenciesNode.java:149)
>
>                 at
> org.openide.nodes.Children$Keys$KE.nodes(Children.java:1609)
>
>                 at
> org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:168)
>
>                 at
> org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:916)
>
>                 at
> org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.java=
:244)
>
>                 at
> org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:101)
>
>                 at
> org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:173)
>
>                 at
> org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:219)
>
>                 at org.openide.nodes.Children.getNodes(Children.java:440)
>
>                 at org.openide.nodes.Children.findChild(Children.java:385=
)
>
>                 at
> org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:212)
>
>                 at org.openide.nodes.Children.getNodes(Children.java:472)
>
>                 at
> org.openide.nodes.FilterNode$Children$DefaultSupport.callGetNodesCount(Fi=
lterNode.java:1656)
>
>                 at
> org.openide.nodes.FilterNode$Children.getNodesCount(FilterNode.java:1608)
>
>                 at
> org.openide.explorer.view.TreeView$6.run(TreeView.java:912)
>
>                 at
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
>
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:100=
5)
>
>
>
>
>
> With regards,
>
> Magne
>
> --
>
> Magne Nordtveit <mn-4fgah/[email protected]>
>
> System Engineer
>
> Offshore Simulator Centre AS
>
>
>

--00504502d2f61ddb29046a2bc1cb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

please try with the latest dailies and=C2=A0 file as issue if it persists, =
I&#39;ve done a lot of fixing and hacking in the maven embedder before and =
after 6.7 beta, so might have broken something (or might have fixed since t=
hen)<br>
<br>Milos<br><br><br><br><div class=3D"gmail_quote">On Mon, May 18, 2009 at=
 10:09 AM, Magne Nordtveit <span dir=3D"ltr">&lt;<a href=3D"mailto:Magne.No=
rdtveit-4fgah/[email protected]">Magne.Nordtveit-4fgah/[email protected]</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link=3D"blue" vlink=3D"purple" lang=3D"EN-GB">

<div>

<p>Hi,</p>

<p>=C2=A0</p>

<p>I am having some problems with version dependencies with
version ranges some of my projects...</p>

<p>=C2=A0</p>

<p>When adding a dependency to a project with a version range
both on junit at scope test, and a dependency with a version range at the
compile scope. When expanding the dependency node, I get the following
exception.</p>

<p>=C2=A0</p>

<p>This is working fine in NB6.5=C2=A0 but not in any of the 6.7
releases. The artifact with the range, is NOT the artifact mentioned in the
exception either, so I=E2=80=99m abit baffled...</p>

<p>=C2=A0</p>

<p>I will try to reproduce it in a =E2=80=9Ccontrolled=E2=80=9D
environment for a bug report. Unless there is something that is already fix=
ed,
or something you guys (devs) are aware of.</p>

<p>=C2=A0</p>

<p>java.lang.IllegalStateException: Artifact
xml-apis:xml-apis:jar:1.3.04 is not resolved and is missing the file
association in local repository. Please report at issue #140253.</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.netbeans.modules.maven.nodes.DependencyNode.&lt;init&gt;(DependencyNode=
.java:168)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.crea=
teNodes(DependenciesNode.java:180)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.crea=
teNodes(DependenciesNode.java:149)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.Children$Keys$KE.nodes(Children.java:1609)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:168)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:916)</p=
>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.java:2=
44)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:101)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:173)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:219)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.Children.getNodes(Children.java:440)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.Children.findChild(Children.java:385)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:212)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.Children.getNodes(Children.java:472)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.FilterNode$Children$DefaultSupport.callGetNodesCount(Filt=
erNode.java:1656)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.nodes.FilterNode$Children.getNodesCount(FilterNode.java:1608)</=
p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.explorer.view.TreeView$6.run(TreeView.java:912)</p>

<p>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)</p>

<p>[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)=
</p>

<p>=C2=A0</p>

<p>=C2=A0</p>

<p>With regards,</p>

<p>Magne</p>

<p><span lang=3D"NO-NYN">-- </span></p>

<p><span lang=3D"NO-NYN">Magne Nordtveit &lt;<a href=3D"mailto:mn-4fgah/[email protected]=
" target=3D"_blank">mn-4fgah/[email protected]</a>&gt;</span></p>

<p>System Engineer</p>

<p>Offshore Simulator Centre AS</p>

<p>=C2=A0</p>

</div>

</div>


</blockquote></div><br>

--00504502d2f61ddb29046a2bc1cb--