java.lang.IllegalArgumentException: No such column rnum

Sakai JIRA | Hardy Pottinger | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In using the 1.7.x branch for testing with Oracle. Everything installed fine, and I've got a bare-bones repository up and running. However, in the XMLUI, when I click on the admin ePeople link, I get the following error: java.lang.IllegalArgumentException: No such column rnum Here are the first few lines of the stack trace: java.lang.IllegalArgumentException: No such column rnum at org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581) at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:433) at org.dspace.storage.rdbms.DatabaseManager.process(DatabaseManager.java:1111) at org.dspace.storage.rdbms.TableRowIterator.next(TableRowIterator.java:151) at org.dspace.storage.rdbms.TableRowIterator.toList(TableRowIterator.java:204) at org.dspace.eperson.EPerson.search(EPerson.java:358) at org.dspace.app.xmlui.aspect.administrative.eperson.ManageEPeopleMain.addBody(ManageEPeopleMain.java:121) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy66.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy49.startElement(Unknown Source) No such error is thrown when using the JSPUI. > org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581 Looking more closely at the stack trace, the problem appears to be that the canonicalizeAndCheck method in TableRow is failing when it attempts to verify the rnum column, which is created back in org.dspace.eperson.EPerson.search.

    Sakai JIRA | 6 years ago | Hardy Pottinger
    java.lang.IllegalArgumentException: No such column rnum
  2. 0

    In using the 1.7.x branch for testing with Oracle. Everything installed fine, and I've got a bare-bones repository up and running. However, in the XMLUI, when I click on the admin ePeople link, I get the following error: java.lang.IllegalArgumentException: No such column rnum Here are the first few lines of the stack trace: java.lang.IllegalArgumentException: No such column rnum at org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581) at org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:433) at org.dspace.storage.rdbms.DatabaseManager.process(DatabaseManager.java:1111) at org.dspace.storage.rdbms.TableRowIterator.next(TableRowIterator.java:151) at org.dspace.storage.rdbms.TableRowIterator.toList(TableRowIterator.java:204) at org.dspace.eperson.EPerson.search(EPerson.java:358) at org.dspace.app.xmlui.aspect.administrative.eperson.ManageEPeopleMain.addBody(ManageEPeopleMain.java:121) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223) at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy66.startElement(Unknown Source) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240) at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy49.startElement(Unknown Source) No such error is thrown when using the JSPUI. > org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581 Looking more closely at the stack trace, the problem appears to be that the canonicalizeAndCheck method in TableRow is failing when it attempts to verify the rnum column, which is created back in org.dspace.eperson.EPerson.search.

    Sakai JIRA | 6 years ago | Hardy Pottinger
    java.lang.IllegalArgumentException: No such column rnum

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No such column rnum

      at org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck()
    2. DSpace Kernel :: API and Implementation
      EPerson.search
      1. org.dspace.storage.rdbms.TableRow.canonicalizeAndCheck(TableRow.java:581)
      2. org.dspace.storage.rdbms.TableRow.setColumn(TableRow.java:433)
      3. org.dspace.storage.rdbms.DatabaseManager.process(DatabaseManager.java:1111)
      4. org.dspace.storage.rdbms.TableRowIterator.next(TableRowIterator.java:151)
      5. org.dspace.storage.rdbms.TableRowIterator.toList(TableRowIterator.java:204)
      6. org.dspace.eperson.EPerson.search(EPerson.java:358)
      6 frames
    3. org.dspace.app
      AbstractWingTransformer.startElement
      1. org.dspace.app.xmlui.aspect.administrative.eperson.ManageEPeopleMain.addBody(ManageEPeopleMain.java:121)
      2. org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:223)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    5. org.apache.cocoon
      PoolableProxyHandler.invoke
      1. org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
      1 frame
    6. Unknown
      $Proxy66.startElement
      1. $Proxy66.startElement(Unknown Source)
      1 frame
    7. org.apache.cocoon
      AbstractXMLPipe.startElement
      1. org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87)
      2. org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
      2 frames
    8. org.dspace.app
      AbstractWingTransformer.startElement
      1. org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:240)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. org.apache.cocoon
      PoolableProxyHandler.invoke
      1. org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71)
      1 frame
    11. Unknown
      $Proxy49.startElement
      1. $Proxy49.startElement(Unknown Source)
      1 frame