Can't import sectors

    Joined
    Dec 28, 2013
    Messages
    22
    Reaction score
    38
    Every time I try to import a sector it tells me:

    sector importing failed: IOException: NullPointerException: null
     

    MossyStone48

    Cmdr Deathmark
    Joined
    May 29, 2013
    Messages
    1,255
    Reaction score
    432
    We had this problem on a production server. The only fix we found for it was a fresh universe. Make a backup of your current universe and use a fresh one. Try the imports in the new one. If you still have issues then the sectors you are importing might be corrupted. The only option then is to go into the last universe they worked in, put a build block on the largest entity you need to save and use the /save command. Then /load them into your new-new-new universe.
     
    Joined
    Aug 30, 2013
    Messages
    221
    Reaction score
    329
    • Modder
    • Community Content - Silver 1
    • Legacy Citizen 2
    we have had this on our server we found that is you check the sector-export folder for the server, if you find a folder in there named "temp" delete it. There should be no folders in there just the sector export files. That might do the trick to get your imports back.

    The problem is that if StarMade encounters any problem with the sector it is trying to import that StarMade wont always remove its temp folder it created and the files it made in trying to import. So in a sense you are stuck until you manually remove the temp folder from the last attempt to import that failed.
     
    Joined
    Jan 28, 2015
    Messages
    492
    Reaction score
    149
    • Community Content - Bronze 1
    • Purchased!
    • Legacy Citizen 3
    export_sector
    DESCRIPTION: exports the whole sector. be sure to use /force_save before
    PARAMETERS: X(Integer), Y(Integer), Z(Integer), name(String)
    EXAMPLE: /export_sector 2 3 4 mySavedSector

    mySavedSector is the file name. Choose a name you can remember or write it down.

    /export_sector x y z purpleplanet

    import_sector
    DESCRIPTION: make sure that the target sector is unloaded
    PARAMETERS: toX(Integer), toY(Integer), toZ(Integer), name(String)
    EXAMPLE: /import_sector 2 3 4 mySavedSector

    Move yourself a few systems away of target with your admin teleport.

    Double check target sector to overwrite everything in it will be lost!

    /import_sector x y z purpleplanet