[dna-issues] [JBoss JIRA] Resolved: (DNA-395) Building Examples Applications From Getting Started Guide Fails Due To Test "shouldHaveContentFromVehiclesRepository" Failing
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Wed May 6 17:28:46 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Hauch resolved DNA-395.
-------------------------------
Fix Version/s: 0.4
Resolution: Done
Assignee: Randall Hauch
Resolved by uploading the updated examples ZIP file to jboss.org.
> Building Examples Applications From Getting Started Guide Fails Due To Test "shouldHaveContentFromVehiclesRepository" Failing
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: DNA-395
> URL: https://jira.jboss.org/jira/browse/DNA-395
> Project: DNA
> Issue Type: Bug
> Components: Examples
> Environment: Ubuntu 8.04
> Reporter: Dan Florian
> Assignee: Randall Hauch
> Fix For: 0.4
>
> Attachments: DNA-395_windows_cmd.patch, DNA-395_workaround.patch
>
>
> Downloaded "Examples" using the link in the "Getting Started" guide. Followed instructions and got a build failure when I ran "mvn install" because "shouldHaveContentFromVehiclesRepository" test fails. Commented out that test and build succeeded. Running the repository example application I get the following when I run "ls" after switching to the "Vehicles" repository:
> java.lang.NullPointerException
> at org.jboss.dna.jcr.SessionCache.createNodeInfoFrom(SessionCache.java:2024)
> at org.jboss.dna.jcr.SessionCache.loadFromGraph(SessionCache.java:1970)
> at org.jboss.dna.jcr.SessionCache.findNodeInfo(SessionCache.java:1701)
> at org.jboss.dna.jcr.SessionCache.findJcrNode(SessionCache.java:709)
> at org.jboss.dna.jcr.JcrChildNodeIterator.nextNode(JcrChildNodeIterator.java:99)
> at org.jboss.example.dna.repository.RepositoryClient.getNodeInfo(RepositoryClient.java:289)
> at org.jboss.example.dna.repository.ConsoleInput.displayNode(ConsoleInput.java:244)
> at org.jboss.example.dna.repository.ConsoleInput.displayNavigationMenu(ConsoleInput.java:197)
> at org.jboss.example.dna.repository.ConsoleInput$1.run(ConsoleInput.java:104)
> at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list