Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-419

Building Examples Applications From Getting Started Guide Fails Due To Test "shouldHaveContentFromVehiclesRepository" Failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.4
    • None
    • Examples
    • None

      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)

        1. DNA-395_windows_cmd.patch
          0.4 kB
          Brian Carothers
        2. DNA-395_workaround.patch
          3 kB
          Brian Carothers

              rhauch Randall Hauch (Inactive)
              dflorian@redhat.com Daniel Florian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: