Uploaded image for project: 'Project Configurator - Development'
  1. Project Configurator - Development
  2. PCDEV-1153

A NullPointerException occurred when trying to import a filter without columns

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Labels:
      None
    • Sprint:
      PC Sprint 11 - Bug fix 3.0.1
    • Critical Points:
      0

      Description

      Importing a filter without columns would produce a NullPointerException like this:

      ERROR Message: java.lang.NullPointerException    
                      java.lang.NullPointerException
                              at com.awnaba.projectconfigurator.loaders.handlers.SearchRequestHandler$1.getSetPreConditions(SearchRequestHandler.java:97)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.processOnePropertyHelper(AbstractIntegratedHandler.java:381)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.processPropertyActionList(AbstractIntegratedHandler.java:352)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.handleSubordinatesAndProperties(AbstractIntegratedHandler.java:341)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.modifyTarget(AbstractIntegratedHandler.java:298)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractIntegratedHandler.handleTarget(AbstractIntegratedHandler.java:153)
                              at com.awnaba.projectconfigurator.loaders.core.AbstractTargetHandler.handleTarget(AbstractTargetHandler.java:29)
                              at com.awnaba.projectconfigurator.loaders.orchestration.ProjectConfigLoader.lambda$1(ProjectConfigLoader.java:179)
                              at com.awnaba.projectconfigurator.loaders.orchestration.ProjectConfigLoader.traverseConfigTree(ProjectConfigLoader.java:169)
                              at com.awnaba.projectconfigurator.loaders.orchestration.ProjectConfigLoader.getOperationsTreeFromXML(ProjectConfigLoader.java:183)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ConfigImporterTask.runOldStyleConfigImport(ConfigImporterTask.java:117)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ConfigImporterTask.doConfigImportJobWithReturnInfo(ConfigImporterTask.java:90)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ConfigImporterTask.doXmlJob(ConfigImporterTask.java:66)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ConfigImporterTask.doImport(ConfigImporterTask.java:128)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl$ConfigurationImportTask.call(ProjectConfigImporterImpl.java:332)
                              at com.awnaba.projectconfigurator.operationsapi.impl.ProjectConfigImporterImpl$ConfigurationImportTask.call(ProjectConfigImporterImpl.java:1)
                              at com.awnaba.projectconfigurator.longrunningtasks.TaskHelperImpl$WrappingTask.safeCall(TaskHelperImpl.java:141)
                              at com.awnaba.projectconfigurator.longrunningtasks.TaskHelperImpl$WrappingTask.call(TaskHelperImpl.java:130)
                              at com.awnaba.projectconfigurator.longrunningtasks.TaskHelperImpl$WrappingTask.call(TaskHelperImpl.java:1)
                              at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:481)
                              at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:443)
                              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
                              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                              at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
                              at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Structure

            Activity

              People

              Assignee:
              jvaldeslopez Javier Valdés Lòpez
              Reporter:
              jvaldeslopez Javier Valdés Lòpez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel