Reset Search
 

 

Article

Could not load report error while accessing the Network > Firmware tab in Extreme Management

« Go Back

Information

 
TitleCould not load report error while accessing the Network > Firmware tab in Extreme Management
Symptoms
Could not load report error while accessing the Network > Firmware tab in Extreme Management
Clicking the Show Details button for that error window displays:

ERROR [com.ets.netsight.inv.database.InvFirmwareCache] FirmwareTree - Error in buildFirmwareTree: java.lang.NullPointerException
    at com.ets.netsight.inv.database.InvFirmwareCache.populateDeviceTypeGroups(InvFirmwareCache.java:249)
    at com.ets.netsight.inv.database.InvFirmwareCache.populateDeviceTypeGroups(InvFirmwareCache.java:243)
    at com.ets.netsight.inv.database.InvFirmwareCache.populateDeviceTypeGroups(InvFirmwareCache.java:243)
    at com.ets.netsight.inv.database.InvFirmwareCache.loadFirmwareCaches(InvFirmwareCache.java:188)
    at com.ets.netsight.inv.database.InvDatabase.setUpDatabase(InvDatabase.java:293)
    at com.ets.netsight.inv.database.InvDatabase.<init>(InvDatabase.java:259)
    at com.ets.netsight.inv.database.InvDatabase.initDBInstance(InvDatabase.java:937)
    at com.ets.netsight.inv.server.InvServerManager.createSchema(InvServerManager.java:199)
    at com.ets.netsight.inv.server.InvServerManager.createService(InvServerManager.java:62)
    at com.extreme.services.ServiceMain.createService(ServiceMain.java:229)
    at com.extreme.services.ServiceMain.createServices(ServiceMain.java:101)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptor.java:96)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doLifecycleInterception(Jsr299BindingsInterceptor.java:114)
    at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:103)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
    at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
    at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.weld.injection.WeldInjectionInterceptor.processInvocation(WeldInjectionInterceptor.java:53)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.AroundConstructInterceptorFactory$1.processInvocation(AroundConstructInterceptorFactory.java:28)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.weld.injection.WeldInterceptorInjectionInterceptor.processInvocation(WeldInterceptorInjectionInterceptor.java:56)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.weld.ejb.Jsr299BindingsCreateInterceptor.processInvocation(Jsr299BindingsCreateInterceptor.java:100)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:103)
    at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:58)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.as.ejb3.component.singleton.StartupCountDownInterceptor.processInvocation(StartupCountDownInterceptor.java:25)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
    at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
    at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
    at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
    at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)
    at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
    at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
    at org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:124)
    at org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:138)
    at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    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)
    at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Environment
Extreme Management
Cause
Bad table entry in the database.

Run the following command on the Extreme Management server:

/usr/local/Extreme_Networks/NetSight/mysql/bin/mysql -unetsight -penterasys --socket=/tmp/netsight_mysql.sock -e "use netsight; select devicetypeid,devicetypename from invdevicetypes where devicetypename is NULL or devicetypename='';"

If this is the issue you will see NULL entries similar to the following:
+--------------+----------------+
| devicetypeid | devicetypename |
+--------------+----------------+
|         1478 | NULL           |
+--------------+----------------+

 
Resolution
1. Stop the server with this command:    service nsserver stop 

2. Delete NULL Entries. Use the following command: 

/usr/local/Extreme_Networks/NetSight/mysql/bin/mysql -unetsight -penterasys --socket=/tmp/netsight_mysql.sock -e "use netsight; delete from invdevicetypes where devicetypename is null;" 

3. Restart Server with this command:   service nsserver start
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255