Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2817

NPE: An internal error occurred during: "Items filtering" when creating new Data Transform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 10.2.0
    • Data Transformation
    • None
    • Hide

      1. Brand new installation of JBoss Developer Studio + Fuse Tooling 11 on Mac
      2. Create a Camel project
      3. Add a Data Transformation component from the Palette
      4. In the wizard - choose source type XML, target type Other
      5. In Source Type, choose an XML Schema instance document
      6. in Target Type, click the ellipsis to choose a Target Class
      7. Either a NullPointerException is shown when trying to list the classes, or the list is empty.

      Cannot then proceed with wizard, as this is a required step.

      Show
      1. Brand new installation of JBoss Developer Studio + Fuse Tooling 11 on Mac 2. Create a Camel project 3. Add a Data Transformation component from the Palette 4. In the wizard - choose source type XML, target type Other 5. In Source Type, choose an XML Schema instance document 6. in Target Type, click the ellipsis to choose a Target Class 7. Either a NullPointerException is shown when trying to list the classes, or the list is empty. Cannot then proceed with wizard, as this is a required step.

      'An internal error occurred during: "Items filtering" (NullPointerException)' - when creating a new Data Transform in the Camel Editor, when looking up target data format classes.

      !ENTRY org.eclipse.core.jobs 4 2 2018-02-09 10:49:13.704
      !MESSAGE An internal error occurred during: "Items filtering".
      !STACK 0
      java.lang.NullPointerException
      	at org.eclipse.jdt.internal.core.index.DiskIndex.readStreamChars(DiskIndex.java:924)
      	at org.eclipse.jdt.internal.core.index.DiskIndex.readChunk(DiskIndex.java:731)
      	at org.eclipse.jdt.internal.core.index.DiskIndex.cacheDocumentNames(DiskIndex.java:245)
      	at org.eclipse.jdt.internal.core.index.DiskIndex.addQueryResults(DiskIndex.java:186)
      	at org.eclipse.jdt.internal.core.index.Index.query(Index.java:143)
      	at org.eclipse.jdt.internal.core.search.matching.SuperTypeReferencePattern.queryIn(SuperTypeReferencePattern.java:272)
      	at org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(SearchPattern.java:2344)
      	at org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:288)
      	at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:109)
      	at org.eclipse.jdt.internal.core.search.SubTypeSearchJob.search(SubTypeSearchJob.java:44)
      	at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:65)
      	at org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:262)
      	at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.legacySearchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:651)
      	at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.searchAllPossibleSubTypes(IndexBasedHierarchyBuilder.java:489)
      	at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.determinePossibleSubTypes(IndexBasedHierarchyBuilder.java:441)
      	at org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyBuilder.build(IndexBasedHierarchyBuilder.java:152)
      	at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.compute(TypeHierarchy.java:319)
      	at org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refresh(TypeHierarchy.java:1291)
      	at org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.executeOperation(CreateTypeHierarchyOperation.java:90)
      	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:724)
      	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:790)
      	at org.eclipse.jdt.internal.core.BinaryType.newTypeHierarchy(BinaryType.java:863)
      	at org.eclipse.jdt.internal.core.search.HierarchyScope.initialize(HierarchyScope.java:437)
      	at org.eclipse.jdt.internal.core.search.HierarchyScope.encloses(HierarchyScope.java:328)
      	at org.eclipse.jdt.internal.core.search.HierarchyScope.encloses(HierarchyScope.java:319)
      	at org.eclipse.jdt.internal.corext.util.TypeInfoFilter.matchesScope(TypeInfoFilter.java:186)
      	at org.eclipse.jdt.internal.corext.util.TypeInfoFilter.matchesHistoryElement(TypeInfoFilter.java:158)
      	at org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog$TypeItemsFilter.matchItem(FilteredTypesSelectionDialog.java:1086)
      	at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$ContentProvider.addHistoryItems(FilteredItemsSelectionDialog.java:2566)
      	at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterHistoryJob.run(FilteredItemsSelectionDialog.java:1914)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      

        1. possibleBindingForRebuildJavaIndex.png
          75 kB
          Aurélien Pupier
        2. Screen Shot 2018-02-09 at 10.49.20.png
          66 kB
          Thomas Donohue
        3. Screen Shot 2018-02-09 at 11.01.57.png
          219 kB
          Thomas Donohue
        4. Screen Shot 2018-02-09 at 11.02.05.png
          238 kB
          Thomas Donohue
        5. Screen Shot 2018-02-09 at 11.02.12.png
          213 kB
          Thomas Donohue
        6. Screen Shot 2018-02-09 at 11.02.43.png
          162 kB
          Thomas Donohue

              tdonohue@redhat.com Thomas Donohue (Inactive)
              tdonohue@redhat.com Thomas Donohue (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: