org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.

Atlassian JIRA | Bogdan Dziedzic [Atlassian] | 6 years ago
  1. 0

    Steps needed to reproduce the behaviour: # Navigate to User Directories and create new directory called for eg. _AD win2k8_ (Directory Name field) # Attempt to add another directory with the same name. When the page is submitted JIRA returns 500page and the following is reported in the log file: {noformat} 2011-03-17 11:53:33,534 http-8080-2 ERROR test 713x223x1 1v9c034 127.0.0.1 /plugins/servlet/embedded-crowd/configure/ldap/ [atlassian.plugin.servlet.ServletModuleContainerServlet] Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) ... Caused by: java.lang.IllegalArgumentException: Passed List had more than one value. at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:59) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.findDirectoryByName(OfBizDirectoryDao.java:97) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:165) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:32) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addDirectory(DirectoryManagerGeneric.java:134) at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.addDirectory(CrowdDirectoryServiceImpl.java:54) ... {noformat} Although the duplicating directory still gets created! !UserDirectories.png!

    Atlassian JIRA | 6 years ago | Bogdan Dziedzic [Atlassian]
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.
  2. 0

    Steps needed to reproduce the behaviour: # Navigate to User Directories and create new directory called for eg. _AD win2k8_ (Directory Name field) # Attempt to add another directory with the same name. When the page is submitted JIRA returns 500page and the following is reported in the log file: {noformat} 2011-03-17 11:53:33,534 http-8080-2 ERROR test 713x223x1 1v9c034 127.0.0.1 /plugins/servlet/embedded-crowd/configure/ldap/ [atlassian.plugin.servlet.ServletModuleContainerServlet] Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) ... Caused by: java.lang.IllegalArgumentException: Passed List had more than one value. at org.ofbiz.core.entity.EntityUtil.getOnly(EntityUtil.java:59) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.findDirectoryByName(OfBizDirectoryDao.java:97) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:165) at com.atlassian.crowd.embedded.ofbiz.OfBizDirectoryDao.add(OfBizDirectoryDao.java:32) at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.addDirectory(DirectoryManagerGeneric.java:134) at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.addDirectory(CrowdDirectoryServiceImpl.java:54) ... {noformat} Although the duplicating directory still gets created! !UserDirectories.png!

    Atlassian JIRA | 6 years ago | Bogdan Dziedzic [Atlassian]
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.
  3. 0

    Hibernate - Spring MVC - llegal attempt to associate a collection with two open sessions

    Stack Overflow | 3 years ago | iProgrammer
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is bitronix.tm.internal.BitronixRollbackException: transaction was marked as rollback only and has been rolled back
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    druid与Atomikos整合,一段时间报错

    GitHub | 4 years ago | chenhongbinjs
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.GenericJDBCException: could not inspect JDBC autocommit mode
  6. 0

    Error 500 on registerVerifier.htm: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

    GitHub | 2 years ago | jeqo
    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

  1. tfr 1 times, last 4 months ago
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.web.util.NestedServletException

    Request processing failed; nested exception is java.lang.IllegalArgumentException: Passed List had more than one value.

    at org.springframework.web.servlet.FrameworkServlet.processRequest()
  2. Spring MVC
    FrameworkServlet.doPost
    1. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
    2. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
    2 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  4. com.atlassian.plugin
    DelegatingPluginServlet.service
    1. com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  6. com.atlassian.plugin
    ServletModuleContainerServlet.service
    1. com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)
    1 frame
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame