This is the error my most recent attempt to fixing it has caused.
Spoiler
Caused by: org.codehaus.commons.compiler.CompileException: File data/scripts/world/instrumentalityGen.java, Line 104, Column 25: No applicable constructor/method found for actual parameters "com.fs.starfarer.api.campaign.SectorAPI, com.fs.starfarer.api.campaign.StarSystemAPI, int, int, com.fs.starfarer.api.campaign.SectorEntityToken, com.fs.starfarer.api.campaign.PlanetAPI, com.fs.starfarer.api.campaign.SectorEntityToken"; candidates are: "data.scripts.world.instrumentalitySpawnPoint(com.fs.starfarer.api.campaign.SectorAPI, com.fs.starfarer.api.campaign.LocationAPI, float, int, com.fs.starfarer.api.campaign.SectorEntityToken)"
at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:9403)
at org.codehaus.janino.UnitCompiler.findMostSpecificIInvocable(UnitCompiler.java:6994)
at org.codehaus.janino.UnitCompiler.invokeConstructor(UnitCompiler.java:5975)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3797)
at org.codehaus.janino.UnitCompiler.access$69(UnitCompiler.java:3721)
at org.codehaus.janino.UnitCompiler$11.visitNewClassInstance(UnitCompiler.java:2978)
at org.codehaus.janino.Java$NewClassInstance.accept(Java.java:2918)
at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:2993)
at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4017)
at org.codehaus.janino.UnitCompiler.compileGet2(UnitCompiler.java:3629)
at org.codehaus.janino.UnitCompiler.access$63(UnitCompiler.java:3552)
at org.codehaus.janino.UnitCompiler$11.visitMethodInvocation(UnitCompiler.java:2967)
at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:2831)
at org.codehaus.janino.UnitCompiler.compileGet(UnitCompiler.java:2993)
at org.codehaus.janino.UnitCompiler.compileGetValue(UnitCompiler.java:4017)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:2413)
at org.codehaus.janino.UnitCompiler.access$38(UnitCompiler.java:2412)
at org.codehaus.janino.UnitCompiler$8.visitMethodInvocation(UnitCompiler.java:2381)
at org.codehaus.janino.Java$MethodInvocation.accept(Java.java:2831)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:2407)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:1426)
at org.codehaus.janino.UnitCompiler.access$8(UnitCompiler.java:1425)
at org.codehaus.janino.UnitCompiler$5.visitExpressionStatement(UnitCompiler.java:926)
at org.codehaus.janino.Java$ExpressionStatement.accept(Java.java:1447)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:946)
at org.codehaus.janino.UnitCompiler.compileStatements(UnitCompiler.java:972)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:2083)
at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:851)
at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:832)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:528)
at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:421)
at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java:376)
at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:765)
at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:383)
at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:352)
at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:210)
... 5 more
Well, this is caused by the method definition (in this case the constructor of instrumentalitySpawnPoint) not matching what you are attempting to pass into it.
As per your previous post the constructor definition is:
public instrumentalitySpawnPoint(SectorAPI sector, LocationAPI location, float daysInterval, int maxFleets, SectorEntityToken anchor)
note the types (SectorAPI, LocationAPI, float, int, SectorEntityToken).
It seems you are attempting to pass in (SectorAPI, StarSystemAPI, int, int, SectorEntityToken, PlanetAPI, SectorEntityToken).
Now StarSystemAPI extends LocationAPI so that is OK (you can use a StarSystemAPI object where it specifies a LocationAPI). Likewise, PlanetAPI extends SectorEntityToken.
I think you need to check where you are creating the instrumentalitySpawnPoint in your generator file and make sure that the objects you are attempting to pass to the constuctor are correct nin both number and types.