Accumulo
  1. Accumulo
  2. ACCUMULO-2086

NPE on Security Randomwalk with Namespaces

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: test
    • Labels:

      Description

      20 17:49:02,144 [randomwalk.Framework] ERROR: Error during random walk
      java.lang.Exception: Error running node Security.xml
      	at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:285)
      	at org.apache.accumulo.test.randomwalk.Framework.run(Framework.java:65)
      	at org.apache.accumulo.test.randomwalk.Framework.main(Framework.java:125)
      	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:606)
      	at org.apache.accumulo.start.Main$1.run(Main.java:137)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.Exception: Error running node security.TableOp
      	at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:285)
      	at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:254)
      	... 8 more
      Caused by: java.lang.NullPointerException
      	at java.lang.String.<init>(String.java:505)
      	at org.apache.accumulo.core.client.impl.Tables.getNamespace(Tables.java:201)
      	at org.apache.accumulo.server.security.SecurityOperation.hasNamespacePermissionForTableId(SecurityOperation.java:330)
      	at org.apache.accumulo.server.security.SecurityOperation.canWrite(SecurityOperation.java:410)
      	at org.apache.accumulo.test.randomwalk.security.TableOp.visit(TableOp.java:143)
      	at org.apache.accumulo.test.randomwalk.Module.visit(Module.java:254)
      	... 9 more
      

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit e8c9aae904380f22e55a31e3a7422ecd4597b0b0 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e8c9aae ]

          ACCUMULO-2086 Use the tableID instead of the tableName where necessary.

          Show
          ASF subversion and git services added a comment - Commit e8c9aae904380f22e55a31e3a7422ecd4597b0b0 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=e8c9aae ] ACCUMULO-2086 Use the tableID instead of the tableName where necessary.
          Hide
          ASF subversion and git services added a comment -

          Commit 0d294ad64ed5a12c44e1c33bc5561897e3aef512 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0d294ad ]

          ACCUMULO-2087 ACCUMULO-2086 Fixing formatting.

          Show
          ASF subversion and git services added a comment - Commit 0d294ad64ed5a12c44e1c33bc5561897e3aef512 in branch refs/heads/1.6.0-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0d294ad ] ACCUMULO-2087 ACCUMULO-2086 Fixing formatting.
          Hide
          ASF subversion and git services added a comment -

          Commit 0d294ad64ed5a12c44e1c33bc5561897e3aef512 in branch refs/heads/master from Josh Elser
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0d294ad ]

          ACCUMULO-2087 ACCUMULO-2086 Fixing formatting.

          Show
          ASF subversion and git services added a comment - Commit 0d294ad64ed5a12c44e1c33bc5561897e3aef512 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0d294ad ] ACCUMULO-2087 ACCUMULO-2086 Fixing formatting.
          Hide
          John Vines added a comment -

          Same as my comment on ACCUMULO-2096

          Show
          John Vines added a comment - Same as my comment on ACCUMULO-2096
          Hide
          ASF subversion and git services added a comment -

          Commit 90e1f22a1833baad0f986f2100c6ecb5662a8a8f in branch refs/heads/1.6.0-SNAPSHOT from John Vines
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=90e1f22 ]

          ACCUMULO-1479 ACCUMULO-2086 ACCUMULO-2096 refactoring namespace translation out of security operations to fix security randomwalk

          Show
          ASF subversion and git services added a comment - Commit 90e1f22a1833baad0f986f2100c6ecb5662a8a8f in branch refs/heads/1.6.0-SNAPSHOT from John Vines [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=90e1f22 ] ACCUMULO-1479 ACCUMULO-2086 ACCUMULO-2096 refactoring namespace translation out of security operations to fix security randomwalk
          Hide
          ASF subversion and git services added a comment -

          Commit 3d8a1161e88b613e48b23e16cca12699d0ba0bf7 in branch refs/heads/1.6.0-SNAPSHOT from John Vines
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3d8a116 ]

          ACCUMULO-2086 ACCUMULO-2096 ACCUMULO-2286 Some more initial namespace support

          Show
          ASF subversion and git services added a comment - Commit 3d8a1161e88b613e48b23e16cca12699d0ba0bf7 in branch refs/heads/1.6.0-SNAPSHOT from John Vines [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3d8a116 ] ACCUMULO-2086 ACCUMULO-2096 ACCUMULO-2286 Some more initial namespace support
          Hide
          ASF subversion and git services added a comment -

          Commit 90e1f22a1833baad0f986f2100c6ecb5662a8a8f in branch refs/heads/master from John Vines
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=90e1f22 ]

          ACCUMULO-1479 ACCUMULO-2086 ACCUMULO-2096 refactoring namespace translation out of security operations to fix security randomwalk

          Show
          ASF subversion and git services added a comment - Commit 90e1f22a1833baad0f986f2100c6ecb5662a8a8f in branch refs/heads/master from John Vines [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=90e1f22 ] ACCUMULO-1479 ACCUMULO-2086 ACCUMULO-2096 refactoring namespace translation out of security operations to fix security randomwalk
          Hide
          ASF subversion and git services added a comment -

          Commit 3d8a1161e88b613e48b23e16cca12699d0ba0bf7 in branch refs/heads/master from John Vines
          [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3d8a116 ]

          ACCUMULO-2086 ACCUMULO-2096 ACCUMULO-2286 Some more initial namespace support

          Show
          ASF subversion and git services added a comment - Commit 3d8a1161e88b613e48b23e16cca12699d0ba0bf7 in branch refs/heads/master from John Vines [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=3d8a116 ] ACCUMULO-2086 ACCUMULO-2096 ACCUMULO-2286 Some more initial namespace support
          Hide
          John Vines added a comment -

          Tests should be kosher now. Changes made in the previous commit were reverted.

          Show
          John Vines added a comment - Tests should be kosher now. Changes made in the previous commit were reverted.

            People

            • Assignee:
              John Vines
              Reporter:
              Josh Elser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development