I just did some play testing (finally!) on a machine I normally do not
use.  Almost immediately I found a crash that should now be fixed.
However in the process I ran "ant test" as usual and found that there
was an unrelated error, which I was not seeing on my normal machine.
git bisect allowed me to quickly track this down to git.7e4c75f which
is one of yours.  What was going on in that patch?  Here is the
relevant section of .../build/report/net/sf/freecol/0_AllTests-err.html.

Cheers,
Mike Pope

    [junit] INFO: Server starting game: PRE_GAME
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.client.ClientTestHelper 
startClient
    [junit] INFO: Debug value: true
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.client.FreeColClient 
loadClientOptions
    [junit] INFO: Load default client options.
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.common.option.OptionGroup 
load
    [junit] INFO: Load OptionGroup(clientOptions) from 
data/base/client-options.xml succeeded
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.client.FreeColClient 
loadClientOptions
    [junit] INFO: Load client options from the action manager.
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.client.gui.GUI startGUI
    [junit] INFO: It seems that the GraphicsEnvironment is headless!
    [junit] Exception in thread "AWT-EventQueue-0" 
java.lang.NullPointerException
    [junit]     at 
net.sf.freecol.common.io.FreeColDirectories.getLocaleFileNames(FreeColDirectories.java:869)
    [junit]     at 
net.sf.freecol.common.io.FreeColDirectories.getModMessageFileNames(FreeColDirectories.java:982)
    [junit]     at 
net.sf.freecol.common.i18n.Messages.loadActiveModMessageBundle(Messages.java:282)
    [junit]     at 
net.sf.freecol.client.control.ConnectController.startSinglePlayerGame(ConnectController.java:328)
    [junit]     at 
net.sf.freecol.client.FreeColClient.lambda$startClient$4(FreeColClient.java:316)
    [junit]     at 
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    [junit]     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    [junit]     at java.awt.EventQueue.access$500(EventQueue.java:97)
    [junit]     at java.awt.EventQueue$3.run(EventQueue.java:709)
    [junit]     at java.awt.EventQueue$3.run(EventQueue.java:703)
    [junit]     at java.security.AccessController.doPrivileged(Native Method)
    [junit]     at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    [junit]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    [junit]     at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    [junit]     at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    [junit]     at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    [junit]     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    [junit]     at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    [junit]     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.client.control.ConnectController connect
    [junit] INFO: Connected to 0.0.0.0:3542 as test
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.client.control.ConnectController requestLogin
    [junit] INFO: Login request for client mpope
    [junit] Aug 30, 2017 10:33:53 AM net.sf.freecol.server.FreeColServer 
addNewUserConnection
    [junit] INFO: Client connected from /10.110.15.101:41722
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.common.networking.ReceivingThread askToStop
    [junit] INFO: ReceivingThread-FreeColServer:/10.110.15.101:41722: stopped 
receiving thread: connection closing
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.common.networking.ReceivingThread askToStop
    [junit] INFO: ReceivingThread-FreeColClient:test: stopped receiving thread: 
listen-disconnect
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.common.networking.ReceivingThread run
    [junit] INFO: ReceivingThread-FreeColServer:/10.110.15.101:41722: finished
    [junit] Aug 30, 2017 10:33:53 AM 
net.sf.freecol.common.networking.ReceivingThread run
    [junit] INFO: ReceivingThread-FreeColClient:test: finished
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testSimpleMove(net.sf.freecol.client.control.MoveTest):   
Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at 
net.sf.freecol.common.io.FreeColDirectories.getLocaleFileNames(FreeColDirectories.java:869)
    [junit]     at 
net.sf.freecol.common.io.FreeColDirectories.getModMessageFileNames(FreeColDirectories.java:982)
    [junit]     at 
net.sf.freecol.common.i18n.Messages.loadActiveModMessageBundle(Messages.java:282)
    [junit]     at 
net.sf.freecol.client.control.ConnectController.startSinglePlayerGame(ConnectController.java:328)
    [junit]     at 
net.sf.freecol.client.ClientTestHelper.startClient(ClientTestHelper.java:67)
    [junit]     at 
net.sf.freecol.client.control.MoveTest.testSimpleMove(MoveTest.java:60)
    [junit]     at 
junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
    [junit]     at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
    [junit]     at junit.extensions.TestSetup.run(TestSetup.java:27)
    [junit] 
    [junit] 
    [junit] Test net.sf.freecol.AllTests FAILED
     [echo] For more detailed information about this test run see:
     [echo] /home/mpope/src/fc/git/build/TEST-net.sf.freecol.AllTests.txt

BUILD SUCCESSFUL
Total time: 9 seconds


-- 
The .signature hits!  You have mail.

Attachment: pgp6rBWlxRIn_.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to