Hi Raffaele, The Twlight Struggle problem is that it contains an (early) special version of the popup mouse viewer with features that have now been incorporated into Vassal.
Tim, you need to replace the custom mouse-over stack viewer in TS with the standard 3.0 version. The custom version added the sum(propName) feature which is now standard. Raffaele, Memoir '44 does not use this, so it must be generating a slightly different error, could you please post the log you get when getting the error? Thanks, Brent >*********** REPLY SEPARATOR *********** > >On 14/06/2007 at 5:39 PM Raffaele Porrini wrote: >I was trying to make a log file with VASSAL 3.0 I got a null pointer >exception. I tried both with Memoir '44 and Twilight Struggle. With the >second I also get a trap while passing the mouse over the nations. > >Raffaele > >(I only put the first trap report) > >---------- > >-- OS Windows XP >-- Java version 1.6.0_01 >-- VASSAL version 3.0b4 >-- Twilight Struggle versione 2.4BETA View the User guide for important >operating information at >http://wiki.vassalengine.org/doku.php?id=Twilight%20Struggle >java.lang.NoSuchMethodError: >VASSAL.tools.FormattedString.getText(LVASSAL/counters/GamePiece;)Ljava/lang/String; >at >viewer.CounterDetailViewer$SummingFormattedString.getText(CounterDetailViewer.java:1213) >at viewer.CounterDetailViewer.drawText(CounterDetailViewer.java:311) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:208) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:187) >at VASSAL.build.module.Map.drawDrawable(Map.java:1336) >at VASSAL.build.module.Map.paintRegion(Map.java:1280) >at VASSAL.build.module.Map$View.paint(Map.java:2210) >at javax.swing.JComponent.paintToOffscreen(Unknown Source) >at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) >at javax.swing.RepaintManager.paint(Unknown Source) >at javax.swing.JComponent._paintImmediately(Unknown Source) >at javax.swing.JComponent.paintImmediately(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) >at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown >Source) >at java.awt.event.InvocationEvent.dispatch(Unknown Source) >at java.awt.EventQueue.dispatchEvent(Unknown Source) >at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.run(Unknown Source) >java.lang.NoSuchMethodError: >VASSAL.tools.FormattedString.getText(LVASSAL/counters/GamePiece;)Ljava/lang/String; >at >viewer.CounterDetailViewer$SummingFormattedString.getText(CounterDetailViewer.java:1213) >at viewer.CounterDetailViewer.drawText(CounterDetailViewer.java:311) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:208) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:187) >at VASSAL.build.module.Map.drawDrawable(Map.java:1336) >at VASSAL.build.module.Map.paintRegion(Map.java:1280) >at VASSAL.build.module.Map$View.paint(Map.java:2210) >at javax.swing.JComponent.paintToOffscreen(Unknown Source) >at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) >at javax.swing.RepaintManager.paint(Unknown Source) >at javax.swing.JComponent._paintImmediately(Unknown Source) >at javax.swing.JComponent.paintImmediately(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) >at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown >Source) >at java.awt.event.InvocationEvent.dispatch(Unknown Source) >at java.awt.EventQueue.dispatchEvent(Unknown Source) >at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.run(Unknown Source) >java.lang.NoSuchMethodError: >VASSAL.tools.FormattedString.getText(LVASSAL/counters/GamePiece;)Ljava/lang/String; >at >viewer.CounterDetailViewer$SummingFormattedString.getText(CounterDetailViewer.java:1213) >at viewer.CounterDetailViewer.drawText(CounterDetailViewer.java:311) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:208) >at viewer.CounterDetailViewer.draw(CounterDetailViewer.java:187) >at VASSAL.build.module.Map.drawDrawable(Map.java:1336) >at VASSAL.build.module.Map.paintRegion(Map.java:1280) >at VASSAL.build.module.Map$View.paint(Map.java:2210) >at javax.swing.JComponent.paintToOffscreen(Unknown Source) >at javax.swing.BufferStrategyPaintManager.paint(Unknown Source) >at javax.swing.RepaintManager.paint(Unknown Source) >at javax.swing.JComponent._paintImmediately(Unknown Source) >at javax.swing.JComponent.paintImmediately(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) >at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) >at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown >Source) >at java.awt.event.InvocationEvent.dispatch(Unknown Source) >at java.awt.EventQueue.dispatchEvent(Unknown Source) >at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.run(Unknown Source) >java.lang.NullPointerException >at VASSAL.build.module.BasicLogger.beginOutput(BasicLogger.java:246) >at VASSAL.build.module.BasicLogger$3.actionPerformed(BasicLogger.java:352) >at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) >at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) >at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) >at javax.swing.DefaultButtonModel.setPressed(Unknown Source) >at javax.swing.AbstractButton.doClick(Unknown Source) >at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) >at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown >Source) >at java.awt.Component.processMouseEvent(Unknown Source) >at javax.swing.JComponent.processMouseEvent(Unknown Source) >at java.awt.Component.processEvent(Unknown Source) >at java.awt.Container.processEvent(Unknown Source) >at java.awt.Component.dispatchEventImpl(Unknown Source) >at java.awt.Container.dispatchEventImpl(Unknown Source) >at java.awt.Component.dispatchEvent(Unknown Source) >at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) >at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) >at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) >at java.awt.Container.dispatchEventImpl(Unknown Source) >at java.awt.Window.dispatchEventImpl(Unknown Source) >at java.awt.Component.dispatchEvent(Unknown Source) >at java.awt.EventQueue.dispatchEvent(Unknown Source) >at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) >at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.pumpEvents(Unknown Source) >at java.awt.EventDispatchThread.run(Unknown Source) > >[Non-text portions of this message have been removed] > > > ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED]
