slynkr
  1. slynkr
  2. SLYNKR-1

Error message for duplicate users.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      1

      Description

      When we try to register the same user twice, expect to see a message indicating
      the user already exists instead of the below exception stack trace.

      An error occurred while processing your request. Please try again.

      javax.persistence.RollbackException: Exception [TOPLINK-4002] (Oracle TopLink
      Essentials - 2.0 (Build b58g-fcs (09/07/2007))):
      oracle.toplink.essentials.exceptions.DatabaseException
      Internal Exception: java.sql.SQLIntegrityConstraintViolationException: The
      statement was aborted because it would have caused a duplicate key value in a
      unique or primary key constraint or unique index identified by
      'SQL070912023150060' defined on 'AUTH_ACCOUNTS'.
      Error Code: -1
      Call: INSERT INTO auth_accounts (id, email, passwd, creation_time,
      validation_token, login_name, optin_email, update_time) VALUES (?, ?, ?, ?, ?,
      ?, ?, ?)
      bind => [b82f5aca-287d-4407-804f-54311a648608, sailaja.rao1@sun.com,

      {SHA}

      C1gXdPjkkMgQ+D121Z9QHjF7Cd+YERNwQA==, 2007-09-13 15:08:22.875,
      B80XV1s5hwN34RwNVWPLmJfFXwwIPG, sailaja, false, 2007-09-13 15:08:22.875]
      Query:
      InsertObjectQuery(com.sun.slynkr.entities.AuthAccount[id='b82f5aca-287d-4407-804f-54311a648608'])
      at
      oracle.toplink.essentials.internal.ejb.cmp3.transaction.base.EntityTransactionImpl.commit(EntityTransactionImpl.java:120)
      at
      oracle.toplink.essentials.internal.ejb.cmp3.transaction.EntityTransactionImpl.commit(EntityTransactionImpl.java:60)
      at com.sun.slynkr.impl.TransactionImpl.commit(TransactionImpl.java:65)
      at com.sun.slynkr.web.AuthAccountServlet.doPost(AuthAccountServlet.java:166)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
      at
      org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at com.sun.slynkr.web.ControllerFilter.doFilter(ControllerFilter.java:145)
      at com.sun.slynkr.web.ControllerFilter.doFilter(ControllerFilter.java:114)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at com.sun.slynkr.web.TouchFilter.doFilter(TouchFilter.java:84)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at com.sun.slynkr.web.TimingFilter.doFilter(TimingFilter.java:76)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at com.sun.slynkr.web.ErrorHandlerFilter.doFilter(ErrorHandlerFilter.java:100)
      at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
      at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
      at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
      at
      org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
      at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
      at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)

        Activity

        Hide
        Bobby Bissett added a comment -

        No longer supporting Slynkr.

        Show
        Bobby Bissett added a comment - No longer supporting Slynkr.

          People

          • Assignee:
            Bobby Bissett
            Reporter:
            sailajar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: