Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-5168

RS in QM if searching for asterisk

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 15.3
    • 15.3.8
    • QM
    • None

    Description

      Happens if searched only for a "*".

       

      Caused by: java.lang.NullPointerException
       at java.base/java.lang.String$CaseInsensitiveComparator.compare(String.java:1224)
       at java.base/java.lang.String$CaseInsensitiveComparator.compare(String.java:1218)
       at java.base/java.util.TreeMap.getEntryUsingComparator(TreeMap.java:374)
       at java.base/java.util.TreeMap.getEntry(TreeMap.java:343)
       at java.base/java.util.TreeMap.get(TreeMap.java:277)
       at org.hibernate.dialect.function.SQLFunctionRegistry.findSQLFunction(SQLFunctionRegistry.java:45)
       at org.hibernate.hql.internal.ast.util.SessionFactoryHelper.findSQLFunction(SessionFactoryHelper.java:385)
       at org.hibernate.hql.internal.ast.tree.IdentNode.getDataType(IdentNode.java:367)
       at org.hibernate.hql.internal.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:667)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:5068)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1299)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4771)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.functionCall(HqlSqlBaseWalker.java:2793)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1379)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4771)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:4381)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2161)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2114)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2111)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2111)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2111)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2111)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2086)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:827)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:621)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:325)
       at org.hibernate.hql.internal.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:273)
       at org.hibernate.hql.internal.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:276)
       at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:192)
       at org.hibernate.hql.internal.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:144)
       at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:113)
       at org.hibernate.engine.query.spi.HQLQueryPlan.<init>(HQLQueryPlan.java:73)
       at org.hibernate.engine.query.spi.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:162)
       at org.hibernate.internal.AbstractSharedSessionContract.getQueryPlan(AbstractSharedSessionContract.java:604)
       at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:716)
       at org.hibernate.internal.AbstractSharedSessionContract.createQuery(AbstractSharedSessionContract.java:816)
       at org.hibernate.internal.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:23)
       at org.olat.modules.quality.manager.QualityDataCollectionDAO.getDataCollectionCount(QualityDataCollectionDAO.java:388)
       at org.olat.modules.quality.manager.QualityServiceImpl.getDataCollectionCount(QualityServiceImpl.java:380)
       at org.olat.modules.quality.ui.DataCollectionDataSource.getRowCount(DataCollectionDataSource.java:70)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFlexiTableDataSourceModel.loadDatas(DefaultFlexiTableDataSourceModel.java:221)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFlexiTableDataSourceModel.load(DefaultFlexiTableDataSourceModel.java:183)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.reloadData(FlexiTableElementImpl.java:1882)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.reset(FlexiTableElementImpl.java:1859)
       at org.olat.modules.quality.ui.DataCollectionListController.doSearch(DataCollectionListController.java:332)
       at org.olat.modules.quality.ui.DataCollectionListController.doSearch(DataCollectionListController.java:311)
       at org.olat.modules.quality.ui.DataCollectionListController.formInnerEvent(DataCollectionListController.java:206)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:431)
       at org.olat.modules.quality.ui.DataCollectionListController.event(DataCollectionListController.java:218)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireFormEvent(FormWrapperContainer.java:136)
       at org.olat.core.gui.components.form.flexible.impl.Form.fireFormEvent(Form.java:740)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.doSearch(FlexiTableElementImpl.java:1726)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.evalSearchRequest(FlexiTableElementImpl.java:1617)
       at org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableElementImpl.evalFormRequest(FlexiTableElementImpl.java:946)
       at org.olat.core.gui.components.form.flexible.impl.Form$EvaluatingFormComponentVisitor.visit(Form.java:649)
       at org.olat.core.util.component.FormComponentTraverser.doVisit(FormComponentTraverser.java:65)
       at org.olat.core.util.component.FormComponentTraverser.doVisit(FormComponentTraverser.java:70)
       at org.olat.core.util.component.FormComponentTraverser.visitAll(FormComponentTraverser.java:60)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:286)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1258)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:433)
      ... 39 more
      

      Attachments

        Activity

          People

            uhensler Urs Hensler
            gnaegi Florian Gnägi
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m