« Return to Thread: Netbeans 6.7RC and dependencies with version ranges.

Netbeans 6.7RC and dependencies with version ranges.

by Magne Nordtveit :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

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. When 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’m abit baffled...

 

I will try to reproduce it in a “controlled” 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. Please report at issue #140253.

                at org.netbeans.modules.maven.nodes.DependencyNode.<init>(DependencyNode.java:168)

                at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.createNodes(DependenciesNode.java:180)

                at org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.createNodes(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(FilterNode.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:1005)

 

 

With regards,

Magne

--

Magne Nordtveit <mn@...>

System Engineer

Offshore Simulator Centre AS

 

 « Return to Thread: Netbeans 6.7RC and dependencies with version ranges.