java.io.FileNotFoundException: ./settings.cfg (No such file or directory)

    Joined
    Jun 18, 2013
    Messages
    69
    Reaction score
    13
    • Legacy Citizen 2
    • Legacy Citizen
    • Purchased!
    Hi,

    I'm seeing this in my log from time to time (but not always)

    java.io.FileNotFoundException: ./settings.cfg (No such file or directory)

    Obviously, I have checked if the file exists (it does) and the appropriate permissions (it's rw for the owner, which is the user running the process).

    I started looking at the logs after applying the most recent update because there are cases of people logging in and their ships are corrupted (blocks missing, yet stats are as though the blocks are there), etc.

    How do I begin to troubleshoot this ? What should I be looking for ? I've run diagnostics on the disk and it's all good.

    Somehow stuff is being corrupted and I don't know why. The error I posted above may be a clue, and when Googling that error I see some pastebins around of other StarMade logs with the same error... yet no discussion about it.

    Mike
     
    Joined
    Apr 22, 2014
    Messages
    11
    Reaction score
    3
    I'm trying to play the game, for the first time, and I get the same error. I tried to find the file, in Google, but no luck.
     
    Joined
    Apr 22, 2014
    Messages
    11
    Reaction score
    3
    Thanks to the user that gave me a settings.cfg file (I don't recall your name, it was 3am at the tme :/ sorry). I will append the file to this post. Don't forget to rename it to settings.cfg!

    I ran the starmade checker and this was the output:

    Starmade System Checker Report
    22-04-2014
    16:06:51,39

    RESULTS:
    Windows version: Windows 7 64-bit ....PASS
    Processor: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz (8 CPUs), ~2.2GHz
    Memory: 6144MB RAM
    Graphics Card name: Intel(R) HD Graphics 3000 ....PASS
    Java version: 64-bit Java 7 ....PASS
    Even after updating my Nvidia and Intel Graphic Card drivers, I still can't run the game.
    Steps I took in order to run it, after installing the drivers and copying the settings.cfg:

    1) Open the command prompt with admin privileges (just in case)

    2) Go to the StarMade-starter.exe directory and write, in the command prompt, java -jar StarMade-starter.exe

    I got this output in console but, still, managed to start the launcher:

    C:\Users\echo66\Desktop\starmade>java -jar StarMade-starter.exe
    ERROR, FILE DOES NOT EXIST: C:\Users\echo66\AppData\Roaming\.StarMade\settings.p
    roperties
    loaded files (sorted) [FileEntry [name=starmade-build_20130302_095500.zip, size=
    57708495], FileEntry [name=starmade-build_20130303_054907.zip, size=57708718], F
    ileEntry [name=starmade-build_20130306_145109.zip, size=57709440], FileEntry [na
    me=starmade-build_20130308_065753.zip, size=57709272], FileEntry [name=starmade-
    build_20130320_183639.zip, size=57801333], FileEntry [name=starmade-build_201303
    22_005009.zip, size=57808143], FileEntry [name=starmade-build_20130322_233810.zi
    p, size=57808849], FileEntry [name=starmade-build_20130323_223351.zip, size=5780
    8677], FileEntry [name=starmade-build_20130325_015156.zip, size=57835424], FileE
    ntry [name=starmade-build_20130325_123122.zip, size=57835444], FileEntry [name=s
    tarmade-build_20130325_230232.zip, size=57848200], FileEntry [name=starmade-buil
    d_20130329_173047.zip, size=57860264], FileEntry [name=starmade-build_20130330_2
    21547.zip, size=57860957], FileEntry [name=starmade-build_20130405_004518.zip, s
    ize=57890314], FileEntry [name=starmade-build_20130405_013717.zip, size=57890338
    ], FileEntry [name=starmade-build_20130408_051518.zip, size=57895411], FileEntry
    [name=starmade-build_20130408_061246.zip, size=57895271], FileEntry [name=starm
    ade-build_20130408_063458.zip, size=57895454], FileEntry [name=starmade-build_20
    130409_211658.zip, size=57905370], FileEntry [name=starmade-build_20130410_05325
    9.zip, size=57906707], FileEntry [name=starmade-build_20130411_093854.zip, size=
    57907454], FileEntry [name=starmade-build_20130412_102455.zip, size=57915104], F
    ileEntry [name=starmade-build_20130413_120946.zip, size=57920054], FileEntry [na
    me=starmade-build_20130414_173301.zip, size=57940006], FileEntry [name=starmade-
    build_20130414_195026.zip, size=57939788], FileEntry [name=starmade-build_201304
    14_201912.zip, size=57939465], FileEntry [name=starmade-build_20130414_211756.zi
    p, size=57939486], FileEntry [name=starmade-build_20130416_084546.zip, size=5831
    0154], FileEntry [name=starmade-build_20130416_194204.zip, size=58326974], FileE
    ntry [name=starmade-build_20130417_112047.zip, size=58327371], FileEntry [name=s
    tarmade-build_20130417_180003.zip, size=58328333], FileEntry [name=starmade-buil
    d_20130417_182203.zip, size=58328785], FileEntry [name=starmade-build_20130418_0
    10146.zip, size=58328710], FileEntry [name=starmade-build_20130418_181441.zip, s
    ize=58329053], FileEntry [name=starmade-build_20130418_213224.zip, size=58329941
    ], FileEntry [name=starmade-build_20130421_194708.zip, size=58052150], FileEntry
    [name=starmade-build_20130422_142824.zip, size=58429657], FileEntry [name=starm
    ade-build_20130422_182809.zip, size=58431182], FileEntry [name=starmade-build_20
    130423_172915.zip, size=58433693], FileEntry [name=starmade-build_20130425_19523
    7.zip, size=58443967], FileEntry [name=starmade-build_20130426_005303.zip, size=
    58443924], FileEntry [name=starmade-build_20130426_024740.zip, size=58443958], F
    ileEntry [name=starmade-build_20130427_200849.zip, size=58445618], FileEntry [na
    me=starmade-build_20130428_231056.zip, size=58462846], FileEntry [name=starmade-
    build_20130429_002542.zip, size=58462910], FileEntry [name=starmade-build_201304
    29_185952.zip, size=58463673], FileEntry [name=starmade-build_20130430_030714.zi
    p, size=58464489], FileEntry [name=starmade-build_20130502_221611.zip, size=5847
    5358], FileEntry [name=starmade-build_20130502_234617.zip, size=58475323], FileE
    ntry [name=starmade-build_20130503_031609.zip, size=58475326], FileEntry [name=s
    tarmade-build_20130504_031958.zip, size=58475089], FileEntry [name=starmade-buil
    d_20130504_042158.zip, size=58475096], FileEntry [name=starmade-build_20130505_2
    32647.zip, size=58482830], FileEntry [name=starmade-build_20130506_001954.zip, s
    ize=58482837], FileEntry [name=starmade-build_20130506_235428.zip, size=58378119
    ], FileEntry [name=starmade-build_20130508_001333.zip, size=58481899], FileEntry
    [name=starmade-build_20130508_025010.zip, size=58481650], FileEntry [name=starm
    ade-build_20130508_034914.zip, size=58481757], FileEntry [name=starmade-build_20
    130510_221710.zip, size=58486281], FileEntry [name=starmade-build_20130511_21370
    0.zip, size=58208299], FileEntry [name=starmade-build_20130514_025431.zip, size=
    58490886], FileEntry [name=starmade-build_20130514_171513.zip, size=58490878], F
    ileEntry [name=starmade-build_20130515_024556.zip, size=58494380], FileEntry [na
    me=starmade-build_20130515_032749.zip, size=58494598], FileEntry [name=starmade-
    build_20130601_012433.zip, size=58561982], FileEntry [name=starmade-build_201306
    01_040606.zip, size=58562381], FileEntry [name=starmade-build_20130601_051109.zi
    p, size=58562304], FileEntry [name=starmade-build_20130601_064900.zip, size=5856
    2958], FileEntry [name=starmade-build_20130601_180705.zip, size=58563729], FileE
    ntry [name=starmade-build_20130601_193603.zip, size=58564598], FileEntry [name=s
    tarmade-build_20130602_123841.zip, size=58566940], FileEntry [name=starmade-buil
    d_20130602_150615.zip, size=58566872], FileEntry [name=starmade-build_20130607_1
    10704.zip, size=58581692], FileEntry [name=starmade-build_20130607_224212.zip, s
    ize=58591065], FileEntry [name=starmade-build_20130607_225446.zip, size=58590931
    ], FileEntry [name=starmade-build_20130607_232538.zip, size=58591019], FileEntry
    [name=starmade-build_20130609_231508.zip, size=58591026], FileEntry [name=starm
    ade-build_20130610_113129.zip, size=58592163], FileEntry [name=starmade-build_20
    130611_212229.zip, size=58479396], FileEntry [name=starmade-build_20130612_15505
    5.zip, size=58483290], FileEntry [name=starmade-build_20130612_181220.zip, size=
    58483113], FileEntry [name=starmade-build_20130613_200412.zip, size=58485904], F
    ileEntry [name=starmade-build_20130613_222601.zip, size=58486039], FileEntry [na
    me=starmade-build_20130614_204718.zip, size=58487323], FileEntry [name=starmade-
    build_20130614_230802.zip, size=58487630], FileEntry [name=starmade-build_201306
    15_211627.zip, size=58979724], FileEntry [name=starmade-build_20130615_221410.zi
    p, size=58979970], FileEntry [name=starmade-build_20130616_070635.zip, size=5898
    0219], FileEntry [name=starmade-build_20130616_221416.zip, size=58982354], FileE
    ntry [name=starmade-build_20130617_212011.zip, size=58985129], FileEntry [name=s
    tarmade-build_20130621_202621.zip, size=58988070], FileEntry [name=starmade-buil
    d_20130623_004436.zip, size=58991101], FileEntry [name=starmade-build_20130625_2
    04549.zip, size=58995811], FileEntry [name=starmade-build_20130628_095220.zip, s
    ize=59004674], FileEntry [name=starmade-build_20130628_131402.zip, size=59004498
    ], FileEntry [name=starmade-build_20130628_230434.zip, size=58920432], FileEntry
    [name=starmade-build_20130706_211044.zip, size=58944194], FileEntry [name=starm
    ade-build_20130706_222413.zip, size=58943893], FileEntry [name=starmade-build_20
    130707_170345.zip, size=58948858], FileEntry [name=starmade-build_20130709_18234
    0.zip, size=58994199], FileEntry [name=starmade-build_20130709_211349.zip, size=
    58997838], FileEntry [name=starmade-build_20130720_225858.zip, size=59105265], F
    ileEntry [name=starmade-build_20130721_173356.zip, size=59105969], FileEntry [na
    me=starmade-build_20130724_025727.zip, size=59108029], FileEntry [name=starmade-
    build_20130724_172641.zip, size=59109547], FileEntry [name=starmade-build_201307
    24_220543.zip, size=59109842], FileEntry [name=starmade-build_20130731_051604.zi
    p, size=59111554], FileEntry [name=starmade-build_20130731_102551.zip, size=5911
    3202], FileEntry [name=starmade-build_20130805_213109.zip, size=59112064], FileE
    ntry [name=starmade-build_20130808_231642.zip, size=59181274], FileEntry [name=s
    tarmade-build_20130809_195544.zip, size=59290722], FileEntry [name=starmade-buil
    d_20130811_005720.zip, size=59305455], FileEntry [name=starmade-build_20130811_0
    33850.zip, size=59305787], FileEntry [name=starmade-build_20130812_235059.zip, s
    ize=59309313], FileEntry [name=starmade-build_20130816_005336.zip, size=59291745
    ], FileEntry [name=starmade-build_20130820_233035.zip, size=59328154], FileEntry
    [name=starmade-build_20130821_014847.zip, size=59328167], FileEntry [name=starm
    ade-build_20130821_030727.zip, size=59328185], FileEntry [name=starmade-build_20
    130827_060436.zip, size=59279452], FileEntry [name=starmade-build_20130827_08311
    4.zip, size=59280006], FileEntry [name=starmade-build_20130902_181250.zip, size=
    59290255], FileEntry [name=starmade-build_20130902_211458.zip, size=59291221], F
    ileEntry [name=starmade-build_20130902_220603.zip, size=59290929], FileEntry [na
    me=starmade-build_20130906_142953.zip, size=59298485], FileEntry [name=starmade-
    build_20130906_195713.zip, size=59299173], FileEntry [name=starmade-build_201309
    09_170320.zip, size=59302829], FileEntry [name=starmade-build_20130910_201202.zi
    p, size=59304806], FileEntry [name=starmade-build_20130914_224019.zip, size=5930
    7173], FileEntry [name=starmade-build_20130918_153848.zip, size=59327314], FileE
    ntry [name=starmade-build_20131003_180721.zip, size=59354011], FileEntry [name=s
    tarmade-build_20131015_173925.zip, size=59365700], FileEntry [name=starmade-buil
    d_20131028_111829.zip, size=59625879], FileEntry [name=starmade-build_20131028_2
    14147.zip, size=59625285], FileEntry [name=starmade-build_20131028_235629.zip, s
    ize=59624957], FileEntry [name=starmade-build_20131030_000351.zip, size=59625289
    ], FileEntry [name=starmade-build_20131111_164413.zip, size=59621207], FileEntry
    [name=starmade-build_20131111_192915.zip, size=59621235], FileEntry [name=starm
    ade-build_20131114_171141.zip, size=59732828], FileEntry [name=starmade-build_20
    140114_182618.zip, size=59735968], FileEntry [name=starmade-build_20140316_23463
    9.zip, size=160391269], FileEntry [name=starmade-build_20140317_031738.zip, size
    =160391417], FileEntry [name=starmade-build_20140323_003100.zip, size=160107313]
    , FileEntry [name=starmade-build_20140404_070016.zip, size=161445505], FileEntry
    [name=starmade-build_20140404_194643.zip, size=161445893]]
    java.io.FileNotFoundException: http://star-made.org/api/system/connect
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
    urce)
    at org.schema.game.common.api.ApiController.connect(ApiController.java:6
    1)
    at org.schema.game.common.updater.NewsRetriever.getNews(NewsRetriever.ja
    va:57)
    at org.schema.game.common.updater.NewsPanel.doUpdate(NewsPanel.java:101)
    at org.schema.game.common.updater.NewsPanel$2$1.run(NewsPanel.java:89)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    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)
    3) Click 'Start Game'

    The launcher closes and two lines are printed in the console:

    RUNNING COMMAND: [Ljava.lang.String;@59ac5471
    Exiting because updater staring game
    (yes, the dev got 'starting' wrong :p but no problem with that)

    4) After that, I checked the log.txt0 file, in the logs directory, and this was the content I found:

    [2014-04-22 16:19:45] [VERSION] VERSION: 0.1421
    [2014-04-22 16:19:45] [VERSION] BUILD: 20140404_194643
    [2014-04-22 16:19:45] #################### StarMade #######################
    [2014-04-22 16:19:45] # version 0.1421 - build 20140404_194643 #
    [2014-04-22 16:19:45] #####################################################
    [2014-04-22 16:19:45] [SERIAL] "BAN0BC160937428"
    [2014-04-22 16:19:46] [LIBLOADER] OS ARCHITECTURE amd64
    [2014-04-22 16:19:46] [LIBLOADER] LOADED WINDOWS 64bit NATIVE LIBRARIES
    [2014-04-22 16:19:46] [LIBLOADER] LOADED NATIVE LIBRARIES
    [2014-04-22 16:19:46] [MAIN] LOADED ENGINE SETTINGS
    [2014-04-22 16:19:46] [INITIALIZE] REMOTE CLASSES REGISTERED
    [2014-04-22 16:19:46] [INITIALIZE] RESOURCE MANAGER INITIALIZED
    [2014-04-22 16:19:46] ERROR: no content in Resource: C:\Users\echo66\Desktop\starmade\StarMade\file:\C:\Users\echo66\Desktop\starmade\StarMade\StarMade.jar!\org\schema\game\network\commands
    [2014-04-22 16:19:46] ################# Loading from JAR #####################
    [2014-04-22 16:19:46] ########################################################
    [2014-04-22 16:19:46] [INITIALIZE] REMOTE COMMANDS REGISTERED
    [2014-04-22 16:19:46] [INITIALIZE] SECURITY MANAGER SET
    [2014-04-22 16:19:46] [INITIALIZE] COMMAND ID's ASSIGNED
    [2014-04-22 16:19:47] Exception in thread "main"
    [2014-04-22 16:19:47] java.lang.AbstractMethodError: org.apache.xerces.dom.DeferredAttrImpl.getTextContent()Ljava/lang/String;
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.parseInt(SourceFile:713)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleElementNode(SourceFile:182)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleBaicElementNode(SourceFile:145)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleTypeNode(SourceFile:312)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleBaicElementNode(SourceFile:143)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleTypeNode(SourceFile:312)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.handleBaicElementNode(SourceFile:143)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.parse(SourceFile:349)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementParser.loadAndParseDefault(SourceFile:328)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementKeyMap.load(SourceFile:1147)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementKeyMap.initializeData(SourceFile:448)
    [2014-04-22 16:19:47] at org.schema.game.common.data.element.ElementKeyMap.initializeData(SourceFile:437)
    [2014-04-22 16:19:47] at org.schema.game.common.Starter.e(SourceFile:700)
    [2014-04-22 16:19:47] at org.schema.game.common.Starter.main(SourceFile:804)
    So...what's going on? o_O

    I REALLY want to try out the game, before considering the purchase, even if it's only 6 dollars.
     

    Attachments

    Last edited:
    Joined
    Apr 22, 2014
    Messages
    11
    Reaction score
    3
    Guys, take a look at this log line:

    [2014-04-22 16:19:46] ERROR: no content in Resource: C:\Users\echo66\Desktop\starmade\StarMade\file:\C:\Users\echo66\Desktop\starmade\StarMade\StarMade.jar!\org\schema\game\network\commands
    What kind of resource is the program referring to? I opened the jar with 7zip and, seriously, there are 11 compiled java classes in that package. :|
     
    Joined
    Apr 22, 2014
    Messages
    11
    Reaction score
    3
    I forgot to mention the game and launcher version.

    Game version: v0.1421, build 20140404_194643
    Launcher version: 9