Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-841

'IllegalArgumentException: No such column rnum' error in DSpace 1.7.x XMLUI admin eperson (with Oracle backend)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      RHEL5, with Oracle on the back end
    • Attachments:
      1
    • Comments:
      8
    • Documentation Status:
      Not Required

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              peterdietz Peter Dietz
              Reporter:
              hardyoyo Hardy Pottinger
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: