Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16211

NPE if column type is null in the JmxSystemViewExporterSpi

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.13
    • None
    • Fixed NPE if column type is null in the JmxSystemViewExporterSpi.
    • Release Notes Required

    Description

      NPE if column type is null in the JmxSystemViewExporterSpi:

      Caused by: java.lang.NullPointerException
      	at org.apache.ignite.internal.managers.systemview.SystemViewMBean$AttributeToMapVisitor.accept(SystemViewMBean.java:291)
      	at org.apache.ignite.internal.managers.systemview.walker.SqlTableColumnViewWalker.visitAll(SqlTableColumnViewWalker.java:57)
      	at org.apache.ignite.internal.managers.systemview.walker.SqlTableColumnViewWalker.visitAll(SqlTableColumnViewWalker.java:29)
      	at org.apache.ignite.internal.managers.systemview.SystemViewMBean.viewContent(SystemViewMBean.java:254)
      	at org.apache.ignite.internal.managers.systemview.SystemViewMBean.getAttribute(SystemViewMBean.java:205)
      	at org.apache.ignite.spi.metric.jmx.ReadOnlyDynamicMBean.invoke(ReadOnlyDynamicMBean.java:47)
      	at org.apache.ignite.internal.managers.systemview.SystemViewMBean.invoke(SystemViewMBean.java:227)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:298)
      	at com.sun.proxy.$Proxy32.getAttribute(Unknown Source)
      	at org.apache.ignite.internal.metric.AbstractExporterSpiTest.systemView(AbstractExporterSpiTest.java:90)
      	... 11 more
      

      Attachments

        Issue Links

          Activity

            People

              NSAmelchev Nikita Amelchev
              NSAmelchev Nikita Amelchev
              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 - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m