Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1713

NullPointerException is thrown while creating multiple projects through curl command.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.1.1.GA
    • Business Central
    • Hide

      1. Start RHPAM 7.1.1 server instance
      2. Use attached "create_projects.sh" script to create space and project.
      3. Check server.log, NPE will be logged.

      Show
      1. Start RHPAM 7.1.1 server instance 2. Use attached "create_projects.sh" script to create space and project. 3. Check server.log, NPE will be logged.

      NullPointerException is thrown while creating multiple projects through curl command. Attached -script creates 35 projects using business-central REST API through curl utility. While creating projects below exception is logged:

      [ERROR] [Thread-579] [org.uberfire.ext.metadata.io.IndexerDispatcher] (IndexerDispatcher.java:197) - Indexing error for
       indexer [id=org.kie.workbench.common.LibraryAssetIndexer]: java.lang.NullPointerException
      	at org.uberfire.ext.metadata.backend.lucene.provider.LuceneIndexProvider.delete(LuceneIndexProvider.java:108)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doDelete(MetadataIndexEngine.java:195)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doAction(MetadataIndexEngine.java:134)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.doCommit(MetadataIndexEngine.java:231)
      	at org.uberfire.ext.metadata.io.index.MetadataIndexEngine.commit(MetadataIndexEngine.java:220)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:189)
      	at org.uberfire.ext.metadata.io.IndexerDispatcher$IndexerJob.get(IndexerDispatcher.java:159)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rhn-support-abhumbe Abhijit Humbe
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: