Nexpose Installation Error

When I try to install Nexpose as localhost , I get the error below
Exception:

java.io.NotSerializableException: com.rapid7.nexpose.install4j.InstallerLogger
at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.base/java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.base/java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.base/java.io.ObjectOutputStream.writeObject(Unknown Source)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.sendObject(HelperCommunication.java:506)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionWrapper(HelperCommunication.java:379)
at com.install4j.runtime.installer.helper.comm.HelperCommunication.access$200(HelperCommunication.java:28)
at com.install4j.runtime.installer.helper.comm.HelperCommunication$2.run(HelperCommunication.java:116)

System properties:

java.specification.version=17
sun.cpu.isalist=amd64
sun.jnu.encoding=Cp1252
java.class.path=C:\Users\GWEL\AppData\Local\install4j\t\e4jF84B.tmp_dir1761128238\i4jruntime.jar;C:\Users\GWEL\AppData\Local\install4j\t\e4jF84B.tmp_dir1761128238\user.jar
sun.awt.enableExtraMouseButtons=true
java.vm.vendor=Azul Systems, Inc.
sun.arch.data.model=64
install4j.exeDir=C:\Users\GWEL\Downloads
user.variant=
java.vendor.url=http://www.azul.com/
install4j.systemLanguage=en
user.timezone=Africa/Nairobi
java.vm.specification.version=17
os.name=Windows 11
user.country=US
sun.boot.library.path=c:\users\gwel\appdata\local\install4j\t\e4jf84b.tmp_dir1761128238\jre\bin
sun.java.command=C:\Users\GWEL\Downloads\Rapid7Setup-Windows64.exe
jdk.debug=release
sun.cpu.endian=little
exe4j.unextractedPosition=79204848
user.home=C:\Users\GWEL
user.language=en
jdk.http.auth.tunneling.disabledSchemes=
sun.stderr.encoding=cp437
install4j.keepLog=true
java.specification.vendor=Oracle Corporation
java.version.date=2025-04-15
java.home=c:\users\gwel\appdata\local\install4j\t\e4jf84b.tmp_dir1761128238\jre
file.separator=
java.vm.compressedOopsMode=Zero based
line.separator=

sun.stdout.encoding=cp437
java.vm.specification.vendor=Oracle Corporation
java.specification.name=Java Platform API Specification
jdk.lang.Process.allowAmbiguousCommands=false
exe4j.moduleName=C:\Users\GWEL\Downloads\Rapid7Setup-Windows64.exe
exe4j.tempDir=C:\Users\GWEL\AppData\Local\install4j\t\e4jF84B.tmp_dir1761128238
user.script=
exe4j.consoleCodepage=cp437
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
exe4j.isInstall4j=true
java.runtime.version=17.0.15+6-LTS
user.name=GWEL
path.separator=;
os.version=10.0
java.runtime.name=OpenJDK Runtime Environment
file.encoding=Cp1252
jnidispatch.path=C:\Users\GWEL\AppData\Local\Temp\jna-2200983\jna12458093122517537696.dll
java.vm.name=OpenJDK 64-Bit Server VM
java.vendor.version=Zulu17.58+21-CA
exe4j.semaphoreName=Local\c:_users_gwel_downloads_rapid7setup-windows64.exe
install4j.appDir=C:\Users\GWEL\AppData\Local\install4j\t
jna.loaded=true
java.vendor.url.bug=http://www.azul.com/support/
java.io.tmpdir=C:\Users\GWEL\AppData\Local\Temp
java.version=17.0.15
user.dir=C:\Users\GWEL\AppData\Local\install4j\t\e4jF84B.tmp_dir1761128238
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
sun.os.patch.level=
native.encoding=Cp1252
java.library.path=c:\users\gwel\appdata\local\install4j\t\e4jf84b.tmp_dir1761128238\jre\bin;C:\Users\GWEL\AppData\Local\install4j\t\e4jF84B.tmp_dir1761128238\user;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files\HP\HP One Agent;C:\Program Files\PuTTY;C:\Program Files\dotnet;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\GWEL\AppData\Local\Muse Hub\lib;C:\Program Files\WireGuard;C:\Program Files (x86)\AOMEI\AOMEI Backupper\7.4.0(1);C:\Program Files\MySQL\MySQL Shell 8.0\bin;C:\Users\GWEL\AppData\Local\Programs\Python\Python313\Scripts;C:\Users\GWEL\AppData\Local\Programs\Python\Python313;C:\Users\GWEL\AppData\Local\Microsoft\WindowsApps;C:\Users\GWEL\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\GWEL.dotnet\tools;C:\Users\GWEL\AppData\Local\Muse Hub\lib
java.vm.info=mixed mode, sharing
java.vendor=Azul Systems, Inc.
java.vm.version=17.0.15+6-LTS
java.specification.maintenance.version=1
sun.io.unicode.encoding=UnicodeLittle
java.class.version=61.0
exe4j.launchName=C:\Users\GWEL\Downloads\Rapid7Setup-Windows64.exe
What could be the problem?

Not sure if you were able to resolve this, but I ran into the same error when trying to reinstall and recover NeXpose on a new server. The error message is elusive. I ultimately got it installed with a LOT of trial and error since this is not documented anywhere. You have to make sure when it tells you to delete the R7 folder and try again that you also empty your trash as well. I finally got it to install after dancing with that elusive fix for far too long. However, once it completed install and rebooted server, it wouldn't recognize the user and pwd that I provided in the setup wizard. Resetting wasn't helping. So I had to start over..... still hit the same io error. Downloaded the install package again .... started from zero .... and it finally completed install. Hope you finally got yours to install as well.