[drbd-mc] LCMC 1.0.2 java NPE

Rasto Levrinc rasto.levrinc at gmail.com
Thu Oct 27 18:38:54 CEST 2011


On Thu, Oct 27, 2011 at 12:22 PM, Trevor Hemsley <themsley at voiceflex.com> wrote:
> I downloaded LCMC 1.0.2 to try it out. Pointed it to my existing
> DRBD/Corosync/Pacemaker cluster and had it retrieve all the details and then
> it crashed with a null pointer exception. If I fire it up now, it has
> remembered the details of the cluster and asks for my ssh passphrase to
> connect to both machines, asks for my sudo password for both nodes, pulls a
> bunch of info, paints some icons then crashes with
>
> AppError.Text
> release: 1.0.2
> java: Sun Microsystems Inc. 1.6.0_26
>
> uncaught exception
> java.lang.NullPointerException
> null
> edu.uci.ics.jung.visualization.renderers.BasicEdgeRenderer.drawSimpleEdge(BasicEdgeRenderer.java:116)

Hi,

it could be that there are some colocation or order constraints, that
don't point to any resource and LCMC doesn't handle it right. Can you
send your Pacemaker config?

Rasto


> edu.uci.ics.jung.visualization.renderers.BasicEdgeRenderer.paintEdge(BasicEdgeRenderer.java:62)
> edu.uci.ics.jung.visualization.renderers.BasicRenderer.renderEdge(BasicRenderer.java:78)
> edu.uci.ics.jung.visualization.renderers.BasicRenderer.render(BasicRenderer.java:38)
> edu.uci.ics.jung.visualization.BasicVisualizationServer.renderGraph(BasicVisualizationServer.java:367)
> edu.uci.ics.jung.visualization.BasicVisualizationServer.paintComponent(BasicVisualizationServer.java:321)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JSplitPane.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JSplitPane.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JSplitPane.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JLayeredPane.paint(Unknown Source)
> javax.swing.JComponent.paintChildren(Unknown Source)
> javax.swing.JComponent.paint(Unknown Source)
> javax.swing.JComponent.paintToOffscreen(Unknown Source)
> javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
> javax.swing.RepaintManager.paint(Unknown Source)
> javax.swing.JComponent._paintImmediately(Unknown Source)
> javax.swing.JComponent.paintImmediately(Unknown Source)
> javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
> javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
> javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown
> Source)
> java.awt.event.InvocationEvent.dispatch(Unknown Source)
> java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> java.awt.EventQueue.access$000(Unknown Source)
> java.awt.EventQueue$1.run(Unknown Source)
> java.awt.EventQueue$1.run(Unknown Source)
> java.security.AccessController.doPrivileged(Native Method)
> java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
> java.awt.EventQueue.dispatchEvent(Unknown Source)
> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> java.awt.EventDispatchThread.run(Unknown Source)
>
> --
> Trevor
> Voiceflex
> www.voiceflex.com
>
>
> _______________________________________________
> drbd-mc mailing list
> drbd-mc at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-mc
>



-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/


More information about the drbd-mc mailing list