Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-2036

Many NPE thrown by UAA

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.8.0.M1
    • Fix Version/s: 3.2.0.M2
    • Component/s: SUPPORT
    • Labels:
      None

      Description

      I raised this bug as 'trivial' because the exceptions don't get logged or otherwise visible to users. However, they are mighty annoying when debugging anything in STS.

      I like to have a NPE triggered breakpoint, because, usually, NPEs are bugs that should be fixed, and browsing around their execution context is mighty useful. But since the introduction of UAA it has become very annoying that my NPE breakpoint is constantly being hammered by a UAA thread.

      Stacktrace:

      Daemon Thread [Reporting Thread-1 (Spring UAA/1.0.2)] (Suspended (exception java.lang.NullPointerException))	
      	org.springframework.uaa.client.util.Base64$OutputStream(java.io.FilterOutputStream).flush() line: 123 [local variables unavailable]	
      	org.springframework.uaa.client.util.Base64$OutputStream(java.io.FilterOutputStream).close() line: 140	
      	org.springframework.uaa.client.util.Base64$OutputStream.close() line: 2027	
      	org.springframework.uaa.client.util.Base64.encodeBytesToBytes(byte[], int, int, int) line: 929	
      	org.springframework.uaa.client.util.Base64.encodeBytes(byte[], int, int, int) line: 831	
      	org.springframework.uaa.client.util.Base64.encodeBytes(byte[], int) line: 760	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension(org.springframework.uaa.client.internal.UaaServiceImpl).saveProductUse(org.springframework.uaa.client.protobuf.UaaClient$ProductUse$Builder) line: 550	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension(org.springframework.uaa.client.internal.UaaServiceImpl).registerProductUsage(org.springframework.uaa.client.protobuf.UaaClient$Product, byte[], java.lang.String, boolean, boolean) line: 672	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension(org.springframework.uaa.client.internal.UaaServiceImpl).registerInfrastructureProducts() line: 595	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension(org.springframework.uaa.client.internal.UaaServiceImpl).rebuildPersistedDetails(boolean) line: 309	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension(org.springframework.uaa.client.internal.UaaServiceImpl).getFeatureUseData(org.springframework.uaa.client.protobuf.UaaClient$Product, org.springframework.uaa.client.protobuf.UaaClient$FeatureUse) line: 193	
      	org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension.getFeatureUseData(org.springframework.uaa.client.protobuf.UaaClient$Product, org.springframework.uaa.client.protobuf.UaaClient$FeatureUse) line: 95	
      	org.springframework.ide.eclipse.internal.uaa.UaaManager$ExtensionProductDescriptor(org.springframework.ide.eclipse.internal.uaa.UaaManager$ProductDescriptor).registerFeature(java.lang.String, java.util.Map<java.lang.String,java.lang.String>) line: 901	
      	org.springframework.ide.eclipse.internal.uaa.UaaManager$ExtensionProductDescriptor(org.springframework.ide.eclipse.internal.uaa.UaaManager$ProductDescriptor).registerFeatureUseIfMatch(java.lang.String, java.util.Map<java.lang.String,java.lang.String>) line: 822	
      	org.springframework.ide.eclipse.internal.uaa.UaaManager$2.run() line: 187	
      	java.util.concurrent.ThreadPoolExecutor$Worker.runTask(java.lang.Runnable) line: 886	
      	java.util.concurrent.ThreadPoolExecutor$Worker.run() line: 908	
      	java.lang.Thread.run() line: 662	
      

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            kdvolder Kris De Volder
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: