Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-3262

grouper report should make sure unique name

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • None

    Description

      Enter a name without a date in it and let it run a bit

       

      2021-03-18 04:23:00,089: [DefaultQuartzScheduler_Worker-5] ERROR GrouperReportLogic.runReport(133) -  - Error occurred generating report for config name sdfgfs2021-03-18 04:23:00,089: [DefaultQuartzScheduler_Worker-5] ERROR GrouperReportLogic.runReport(133) -  - Error occurred generating report for config name sdfgfsedu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession (3af17271): new, notReadonly, READ_WRITE_NEW, notActiveTransaction, session (611f3ca),Exception in saveOrUpdate: edu.internet2.middleware.grouper.file.GrouperFile, ByObjectStatic, query: ', cacheable: null, cacheRegion: null, entityName: null, tx type: null at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:591) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:713) at edu.internet2.middleware.grouper.hibernate.ByObjectStatic.saveOrUpdate(ByObjectStatic.java:363) at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GrouperFileDAO.saveOrUpdate(Hib3GrouperFileDAO.java:38) at edu.internet2.middleware.grouper.app.reports.GrouperReportLogic.runReport(GrouperReportLogic.java:123) at edu.internet2.middleware.grouper.app.reports.GrouperReportJob.runJob(GrouperReportJob.java:122) at edu.internet2.middleware.grouper.app.reports.GrouperReportJob.execute(GrouperReportJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)Caused by: org.hibernate.exception.ConstraintViolationException: could not execute batch,Exception in save: edu.internet2.middleware.grouper.file.GrouperFile, edu.internet2.middleware.grouper.hibernate.ByObject@6ecfbd24 at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:112) at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42) at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109) at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:119) at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:97) at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:147) at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.executeBatch(JdbcCoordinatorImpl.java:214) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:611) at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:456) at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:337) at

       

      org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:39) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1282) at edu.internet2.middleware.grouper.hibernate.ByObject.saveOrUpdate(ByObject.java:395) at edu.internet2.middleware.grouper.hibernate.ByObjectStatic$5.callback(ByObjectStatic.java:376) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:703) ... 7 moreCaused by: java.sql.BatchUpdateException: integrity constraint violation: unique constraint or index violation: GRPFILE_UNIQUE_IDX at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:2544) at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:110) ... 18 more2021-03-18 04:23:04,018: [DefaultQuartzScheduler_Worker-7] DEBUG EsbConsumer.processChangeLogEntries(550) -  - type: consumer, finalLog: false, state: done, consumerName: recentMemberships, totalCount: 4, currentSequenceNumber: null, publisherClass: edu.internet2.middleware.grouper.app.serviceLifecycle.GrouperRecentMembershipsChangeLogConsumer, tookMillis: 1

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: