Closed SkybuckFlying closed 6 months ago
I switch to different java version 17, running newcore.bat with default.config gives problems.
However following tutorial and running core.bat with a config file gives somewhat better results:
G:\Tools\Radix\Node\core-v1.1.2\bin>newcore
2024-03-21T20:14:42,670 [INFO/MemoryLeakDetector/main] - Starting memory leak detector...
2024-03-21T20:14:42,686 [OFF/RadixNodeApplication/main] - Radix distributed ledger 'HEAD-9188528' from branch 'HEAD' commit '9188528d9df8c96ed4cb6276e9996a8d28209f39'
2024-03-21T20:14:42,689 [INFO/RuntimeProperties/main] - Loaded properties from default.config
2024-03-21T20:14:43,189 [FATAL/RadixNodeApplication/main] - Unable to start
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) [Guice/ErrorInCustomProvider]: UnsupportedClassVersionError: Preview features are not enabled for com/radixdlt/lang/Option (class file version 61.65535). Try running with '--enable-preview'
at CryptoModule.hasher(CryptoModule.java:88)
\_ installed by: RadixNodeBootstrapperModule -> CryptoModule
at RadixNodeBootstrapper.<init>(RadixNodeBootstrapper.java:114)
\_ for 2nd parameter
at RadixNodeBootstrapperModule.configure(RadixNodeBootstrapperModule.java:98)
while locating RadixNodeBootstrapper
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
1 error
======================
Full classname legend:
======================
CryptoModule: "com.radixdlt.modules.CryptoModule"
RadixNodeBootstrapper: "com.radixdlt.bootstrap.RadixNodeBootstrapper"
RadixNodeBootstrapperModule: "com.radixdlt.bootstrap.RadixNodeBootstrapperModule"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[guice-5.0.1.jar:?]
at com.radixdlt.bootstrap.RadixNodeBootstrapper.runNewNode(RadixNodeBootstrapper.java:103) ~[core-v1.1.2.jar:?]
at com.radixdlt.RadixNodeApplication.main(RadixNodeApplication.java:92) [core-v1.1.2.jar:?]
Caused by: java.lang.UnsupportedClassVersionError: Preview features are not enabled for com/radixdlt/lang/Option (class file version 61.65535). Try running with '--enable-preview'
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
at com.radixdlt.serialization.ClassScanningSerializationPolicy.<init>(ClassScanningSerializationPolicy.java:150) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.core.ClasspathScanningSerializationPolicy.<init>(ClasspathScanningSerializationPolicy.java:99) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.core.ClasspathScanningSerializationPolicy.create(ClasspathScanningSerializationPolicy.java:94) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.DefaultSerialization$LazyHolder.<clinit>(DefaultSerialization.java:79) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.DefaultSerialization.getInstance(DefaultSerialization.java:90) ~[common-v1.1.2.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:57) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[guice-5.0.1.jar:?]
... 3 more
G:\Tools\Radix\Node\core-v1.1.2\bin>newcore --enable-preview
2024-03-21T20:15:04,430 [INFO/MemoryLeakDetector/main] - Starting memory leak detector...
2024-03-21T20:15:04,430 [OFF/RadixNodeApplication/main] - Radix distributed ledger 'HEAD-9188528' from branch 'HEAD' commit '9188528d9df8c96ed4cb6276e9996a8d28209f39'
2024-03-21T20:15:04,446 [FATAL/RadixNodeApplication/main] - Unable to start
org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --enable-preview
at org.apache.commons.cli.DefaultParser.handleUnknownToken(DefaultParser.java:360) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.handleLongOptionWithoutEqual(DefaultParser.java:407) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.handleLongOption(DefaultParser.java:384) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.handleToken(DefaultParser.java:239) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:120) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:76) ~[commons-cli-1.4.jar:1.4]
at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:60) ~[commons-cli-1.4.jar:1.4]
at com.radixdlt.utils.properties.RuntimeProperties.fromCommandLineArgs(RuntimeProperties.java:112) ~[core-v1.1.2.jar:?]
at com.radixdlt.RadixNodeApplication.main(RadixNodeApplication.java:90) [core-v1.1.2.jar:?]
G:\Tools\Radix\Node\core-v1.1.2\bin>newcore
2024-03-21T20:15:12,527 [INFO/MemoryLeakDetector/main] - Starting memory leak detector...
2024-03-21T20:15:12,535 [OFF/RadixNodeApplication/main] - Radix distributed ledger 'HEAD-9188528' from branch 'HEAD' commit '9188528d9df8c96ed4cb6276e9996a8d28209f39'
2024-03-21T20:15:12,535 [INFO/RuntimeProperties/main] - Loaded properties from default.config
2024-03-21T20:15:13,060 [FATAL/RadixNodeApplication/main] - Unable to start
com.google.inject.ProvisionException: Unable to provision, see the following errors:
1) [Guice/ErrorInCustomProvider]: UnsupportedClassVersionError: Preview features are not enabled for com/radixdlt/lang/Option (class file version 61.65535). Try running with '--enable-preview'
at CryptoModule.hasher(CryptoModule.java:88)
\_ installed by: RadixNodeBootstrapperModule -> CryptoModule
at RadixNodeBootstrapper.<init>(RadixNodeBootstrapper.java:114)
\_ for 2nd parameter
at RadixNodeBootstrapperModule.configure(RadixNodeBootstrapperModule.java:98)
while locating RadixNodeBootstrapper
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
1 error
======================
Full classname legend:
======================
CryptoModule: "com.radixdlt.modules.CryptoModule"
RadixNodeBootstrapper: "com.radixdlt.bootstrap.RadixNodeBootstrapper"
RadixNodeBootstrapperModule: "com.radixdlt.bootstrap.RadixNodeBootstrapperModule"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1103) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1138) ~[guice-5.0.1.jar:?]
at com.radixdlt.bootstrap.RadixNodeBootstrapper.runNewNode(RadixNodeBootstrapper.java:103) ~[core-v1.1.2.jar:?]
at com.radixdlt.RadixNodeApplication.main(RadixNodeApplication.java:92) [core-v1.1.2.jar:?]
Caused by: java.lang.UnsupportedClassVersionError: Preview features are not enabled for com/radixdlt/lang/Option (class file version 61.65535). Try running with '--enable-preview'
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]
at java.lang.ClassLoader.defineClass(ClassLoader.java:1017) ~[?:?]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) ~[?:?]
at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) ~[?:?]
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
at com.radixdlt.serialization.ClassScanningSerializationPolicy.<init>(ClassScanningSerializationPolicy.java:150) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.core.ClasspathScanningSerializationPolicy.<init>(ClasspathScanningSerializationPolicy.java:99) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.core.ClasspathScanningSerializationPolicy.create(ClasspathScanningSerializationPolicy.java:94) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.DefaultSerialization$LazyHolder.<clinit>(DefaultSerialization.java:79) ~[common-v1.1.2.jar:?]
at com.radixdlt.serialization.DefaultSerialization.getInstance(DefaultSerialization.java:90) ~[common-v1.1.2.jar:?]
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:57) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:113) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:296) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1100) ~[guice-5.0.1.jar:?]
... 3 more
G:\Tools\Radix\Node\core-v1.1.2\bin>java -version
openjdk version "17.0.10" 2024-01-16 LTS
OpenJDK Runtime Environment Microsoft-8902769 (build 17.0.10+7-LTS)
OpenJDK 64-Bit Server VM Microsoft-8902769 (build 17.0.10+7-LTS, mixed mode, sharing)
G:\Tools\Radix\Node\core-v1.1.2\bin>echo %JAVA_HOME%
C:\Program Files\Microsoft\jdk-17.0.10.7-hotspot\
G:\Tools\Radix\Node\core-v1.1.2\bin>core -config="H:\DATA\Radix\Config\mainnet.config"
2024-03-21T20:16:42,010 [INFO/MemoryLeakDetector/main] - Starting memory leak detector...
2024-03-21T20:16:42,010 [OFF/RadixNodeApplication/main] - Radix distributed ledger 'HEAD-9188528' from branch 'HEAD' commit '9188528d9df8c96ed4cb6276e9996a8d28209f39'
2024-03-21T20:16:42,010 [INFO/RuntimeProperties/main] - Loaded properties from H:\DATA\Radix\Config\mainnet.config
2024-03-21T20:16:43,247 [INFO/RadixNode/main] - Using a genesis of hash 4e7dbd2079a4e0c608a4437a0b51ca383c7f3081038161fa8b1b55d9686797e9
Exception in thread "main" java.lang.UnsatisfiedLinkError: no corerust in java.library.path: C:\Program Files\Microsoft\jdk-17.0.10.7-hotspot\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Microsoft\jdk-17.0.10.7-hotspot\bin;C:\Program Files\Microsoft\jdk-21.0.2.13-hotspot\bin;C:\Python312\Scripts\;C:\Python312\;C:\Program Files\Microsoft MPI\Bin\;C:\Program Files (x86)\Embarcadero\Studio\23.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\23.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\Win64;C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin;C:\Program Files (x86)\Embarcadero\Studio\22.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\22.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\22.0\Bpl\Win64;G:\Tools\VMWare Workstation 17 Pro\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Tools\Windows Kits\10\Windows Performance Toolkit\;C:\Tools\Git\cmd;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\dotnet\;C:\Tools\Meld\;C:\Tools\ChatWithRTX\Demo\env_nvd_rag\Lib\site-packages\torch\lib;G:\Tools\NodeJS\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Yarn\bin\;C:\Users\skybu\AppData\Local\Microsoft\WindowsApps;C:\Users\skybu\.dotnet\tools;P:\Tools\GnuWin32Modified;C:\Tools\Git\bin;C:\Tools\Microsoft VS Code\bin;C:\Users\skybu\AppData\Local\gitkraken\bin;C:\Users\skybu\AppData\Roaming\npm;C:\Users\skybu\AppData\Local\Yarn\bin;.
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2434)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
at java.base/java.lang.System.loadLibrary(System.java:1993)
at com.radixdlt.environment.NodeConstants.<clinit>(NodeConstants.java:76)
at com.radixdlt.RadixNodeModule.configure(RadixNodeModule.java:214)
at com.google.inject.AbstractModule.configure(AbstractModule.java:64)
at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409)
at com.google.inject.spi.Elements.getElements(Elements.java:108)
at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
at com.google.inject.Guice.createInjector(Guice.java:87)
at com.google.inject.Guice.createInjector(Guice.java:69)
at com.google.inject.Guice.createInjector(Guice.java:59)
at com.radixdlt.RadixNode.run(RadixNode.java:105)
at com.radixdlt.bootstrap.RadixNodeBootstrapper.bootstrapRadixNode(RadixNodeBootstrapper.java:193)
at com.radixdlt.bootstrap.RadixNodeBootstrapper.runNewNode(RadixNodeBootstrapper.java:104)
at com.radixdlt.RadixNodeApplication.main(RadixNodeApplication.java:92)
G:\Tools\Radix\Node\core-v1.1.2\bin>
Path "G:\Tools\Radix\Node\" to "G:\Tools\Radix\Node\corerust.dll" added to Path environment variable.
mainnet.config being used:
# The ID of the network to connect to (Mainnet=1, Stokenet=2), see above
# 1 = Mainnet,
# 2 = Stokenet
# 1 = Mainnet selected
network.id=1
# A comma-separated list of network seed nodes, copy-paste from above (must match network.id)
# mainnet seed nodes: radix://node_rdx1qf2x63qx4jdaxj83kkw2yytehvvmu6r2xll5gcp6c9rancmrfsgfw0vnc65@52.212.35.209,radix://node_rdx1qgxn3eeldj33kd98ha6wkjgk4k77z6xm0dv7mwnrkefknjcqsvhuu4gc609@54.79.136.139,radix://node_rdx1qwrrnhzfu99fg3yqgk3ut9vev2pdssv7hxhff80msjmmcj968487uugc0t2@43.204.226.50,radix://node_rdx1q0gnmwv0fmcp7ecq0znff7yzrt7ggwrp47sa9pssgyvrnl75tvxmvj78u7t@52.21.106.232
# stokenet seed nodes: radix://node_tdx_2_1qv89yg0la2jt429vqp8sxtpg95hj637gards67gpgqy2vuvwe4s5ss0va2y@13.126.248.88,radix://node_tdx_2_1qvtd9ffdhxyg7meqggr2ezsdfgjre5aqs6jwk5amdhjg86xhurgn5c79t9t@13.210.209.103,radix://node_tdx_2_1qwfh2nn0zx8cut5fqfz6n7pau2f7vdyl89mypldnn4fwlhaeg2tvunp8s8h@54.229.126.97,radix://node_tdx_2_1qwz237kqdpct5l3yjhmna66uxja2ymrf3x6hh528ng3gtvnwndtn5rsrad4@3.210.187.161
# mainnet seed nodes selected, if changed must also switch data folder
network.p2p.seed_nodes=radix://node_rdx1qf2x63qx4jdaxj83kkw2yytehvvmu6r2xll5gcp6c9rancmrfsgfw0vnc65@52.212.35.209,radix://node_rdx1qgxn3eeldj33kd98ha6wkjgk4k77z6xm0dv7mwnrkefknjcqsvhuu4gc609@54.79.136.139,radix://node_rdx1qwrrnhzfu99fg3yqgk3ut9vev2pdssv7hxhff80msjmmcj968487uugc0t2@43.204.226.50,radix://node_rdx1q0gnmwv0fmcp7ecq0znff7yzrt7ggwrp47sa9pssgyvrnl75tvxmvj78u7t@52.21.106.232
# not sure if keystore must be different per data folder... maybe... hmmm... can be changed later ! ;)
node.key.path=H:/DATA/Radix/KeyStore/KeyStore.ks
# must use forward slash apperently:
# data folder for mainnet: H:/DATA/Radix/Data/Mainnet
# data folder for stokenet: H:/DATA/Radix/Data/Stokenet
# mainnet data folder selected:
db.location=H:/DATA/Radix/Data/Mainnet
Run command:
G:\Tools\Radix\Node\core-v1.1.2\bin>core -config="H:\DATA\Radix\Config\mainnet.config"
2024-03-21T20:30:27,371 [INFO/MemoryLeakDetector/main] - Starting memory leak detector...
2024-03-21T20:30:27,371 [OFF/RadixNodeApplication/main] - Radix distributed ledger 'HEAD-9188528' from branch 'HEAD' commit '9188528d9df8c96ed4cb6276e9996a8d28209f39'
2024-03-21T20:30:27,386 [INFO/RuntimeProperties/main] - Loaded properties from H:\DATA\Radix\Config\mainnet.config
2024-03-21T20:30:28,583 [INFO/RadixNode/main] - Using a genesis of hash 4e7dbd2079a4e0c608a4437a0b51ca383c7f3081038161fa8b1b55d9686797e9
2024-03-21T20:30:29,566 [INFO/StandardHostIp/main] - Host's public IP address has been acquired from an external oracle (services queried: [https://ipecho.net/plain, https://ipv4.icanhazip.com/, https://www.trackip.net/ip, https://checkip.amazonaws.com/]). Consider setting a `network.host_ip` property instead to lessen reliance on external services.
2024-03-21T20:30:30,160 [FATAL/RadixNodeApplication/main] - Unable to start
com.google.inject.CreationException: Unable to create injector, see the following errors:
1) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configure(DispatcherModule.java:157)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
2) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configure(DispatcherModule.java:160)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
3) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configure(DispatcherModule.java:165)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
4) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configure(DispatcherModule.java:168)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
5) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configure(DispatcherModule.java:171)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
6) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureP2p(DispatcherModule.java:299)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
7) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureP2p(DispatcherModule.java:302)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
8) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureP2p(DispatcherModule.java:305)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
9) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureP2p(DispatcherModule.java:308)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
10) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureSync(DispatcherModule.java:314)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
11) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureSync(DispatcherModule.java:317)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
12) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureSync(DispatcherModule.java:320)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
13) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureSync(DispatcherModule.java:323)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
14) [Guice/ErrorInCustomProvider]: IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:88)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ for 1st parameter
at PersistedBFTKeyModule.key(PersistedBFTKeyModule.java:97)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ for 1st parameter
at PersistedBFTKeyModule.nodeId(PersistedBFTKeyModule.java:103)
\_ installed by: RadixNodeModule -> PersistedBFTKeyModule
at Dispatchers$RemoteDispatcherProvider.self(Dispatchers.java:140)
\_ for field self
at DispatcherModule.configureSync(DispatcherModule.java:327)
\_ installed by: RadixNodeModule -> DispatcherModule
Learn more:
https://github.com/google/guice/wiki/ERROR_IN_CUSTOM_PROVIDER
14 errors
======================
Full classname legend:
======================
DispatcherModule: "com.radixdlt.modules.DispatcherModule"
Dispatchers$RemoteDispatcherProvider: "com.radixdlt.environment.Dispatchers$RemoteDispatcherProvider"
PersistedBFTKeyModule: "com.radixdlt.keys.PersistedBFTKeyModule"
RadixNodeModule: "com.radixdlt.RadixNodeModule"
========================
End of classname legend:
========================
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:568) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:182) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:113) ~[guice-5.0.1.jar:?]
at com.google.inject.Guice.createInjector(Guice.java:87) ~[guice-5.0.1.jar:?]
at com.google.inject.Guice.createInjector(Guice.java:69) ~[guice-5.0.1.jar:?]
at com.google.inject.Guice.createInjector(Guice.java:59) ~[guice-5.0.1.jar:?]
at com.radixdlt.RadixNode.run(RadixNode.java:105) ~[core-v1.1.2.jar:?]
at com.radixdlt.bootstrap.RadixNodeBootstrapper.bootstrapRadixNode(RadixNodeBootstrapper.java:193) ~[core-v1.1.2.jar:?]
at com.radixdlt.bootstrap.RadixNodeBootstrapper.runNewNode(RadixNodeBootstrapper.java:104) ~[core-v1.1.2.jar:?]
at com.radixdlt.RadixNodeApplication.main(RadixNodeApplication.java:92) [core-v1.1.2.jar:?]
Caused by: java.lang.IllegalStateException: While loading node key from H:/DATA/Radix/KeyStore/KeyStore.ks
at com.radixdlt.keys.PersistedBFTKeyManager.loadNodeKeyFromFile(PersistedBFTKeyManager.java:93) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyManager.lambda$loadNodeKey$0(PersistedBFTKeyManager.java:86) ~[core-v1.1.2.jar:?]
at java.util.Optional.orElseGet(Optional.java:364) ~[?:?]
at com.radixdlt.keys.PersistedBFTKeyManager.loadNodeKey(PersistedBFTKeyManager.java:86) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyManager.<init>(PersistedBFTKeyManager.java:81) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:91) ~[core-v1.1.2.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at com.google.inject.internal.ProviderMethod$ReflectionProviderMethod.doProvision(ProviderMethod.java:284) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:50) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:101) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:245) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.Initializer.injectAll(Initializer.java:140) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180) ~[guice-5.0.1.jar:?]
... 8 more
Caused by: java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.
at org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
at org.bouncycastle.jcajce.provider.keystore.util.AdaptingKeyStoreSpi.engineLoad(Unknown Source) ~[bcprov-jdk15on-1.70.jar:1.70.0]
at java.security.KeyStore.load(KeyStore.java:1473) ~[?:?]
at com.radixdlt.crypto.RadixKeyStore.fromFile(RadixKeyStore.java:158) ~[common-v1.1.2.jar:?]
at com.radixdlt.keys.Keys.readKey(Keys.java:120) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.Keys.readNodeKey(Keys.java:97) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyManager.loadNodeKeyFromFile(PersistedBFTKeyManager.java:91) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyManager.lambda$loadNodeKey$0(PersistedBFTKeyManager.java:86) ~[core-v1.1.2.jar:?]
at java.util.Optional.orElseGet(Optional.java:364) ~[?:?]
at com.radixdlt.keys.PersistedBFTKeyManager.loadNodeKey(PersistedBFTKeyManager.java:86) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyManager.<init>(PersistedBFTKeyManager.java:81) ~[core-v1.1.2.jar:?]
at com.radixdlt.keys.PersistedBFTKeyModule.bftKeyManager(PersistedBFTKeyModule.java:91) ~[core-v1.1.2.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at com.google.inject.internal.ProviderMethod$ReflectionProviderMethod.doProvision(ProviderMethod.java:284) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:169) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:40) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:60) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.ProviderMethod.doProvision(ProviderMethod.java:171) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.provision(InternalProviderInstanceBindingImpl.java:185) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalProviderInstanceBindingImpl$CyclicFactory.get(InternalProviderInstanceBindingImpl.java:162) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:50) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:146) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.MembersInjectorImpl.injectAndNotify(MembersInjectorImpl.java:101) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.Initializer$InjectableReference.get(Initializer.java:245) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.Initializer.injectAll(Initializer.java:140) ~[guice-5.0.1.jar:?]
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:180) ~[guice-5.0.1.jar:?]
... 8 more
Keystore seems to be overwritten with binary data, I will try and re-generate keystore.
OH, this seems to be normal... I thought it contained text... but the keygen.bat seems to generate some kind of binary data.
Maybe I must pass some kind of password on command line to core.bat:
"Caused by: java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file."
Hope you've managed to solve this now.
If you're updating from an old pre-v1.0.4 keystore, it might be this issue you're seeing: https://github.com/radixdlt/babylon-node/releases/tag/v1.0.4
Otherwise, can I ask you to request help in the #node-runners channel on Discord? Our friendly community are very happy to support other node runners, and I know there are some node runners who have got things working on Windows.
Not solved yet.
I cannot chat in discord, it requires a mobile phone, I don't have a mobile phone and will most likely never own one.
I am mostly interested in Radix for the "better" virtual machine.
However I have also lost interest in running Radix because it is proof of work, which wastes energy and makes my PC unnecessarily hot.
Proof of Stake is more interesting for me. However other blockchains requires huge capital investments to stake which might be a mistake for them.
If Radix were to change or support both it or at least staking my interest in radix would return somewhat.
Java is also one of the most buggiest languages out there, lots of exploits in it, at least allegedly...
I intend to convert some of these blockchains to Delphi.
There is also free pascal for linux server support.
It's kinda strange that so many blockchains use these less proven and less quick language, but so be it ! ;)
Hi @SkybuckFlying . Sorry to hear you couldn't get it to work.
Just to correct a few inaccuracies in your post:
The radix dlt website is bad for windows users, no download links to windows software... the tutorial could also need some windows love, as far as I remember it was for linux and such mostly. With the recent Linux scare, reconsider windows ! ;)
I am not updating from an old whatever so I think this is a source code problem with Radix using some special java feature which is now gone...
I see a new release is available, I try that again but my memory how to do it is fading but maybe I can get somewhere.
I see there is also a gnu version, I think I tried the msvc version. Plus there is also somewhat without all that behind the name, not sure what that is pure java ?
Yeah ok, so there is a java thing and then there is a corerust.dll of which there are two different build versions.
However when I tried it it seemed to be a java issue, going to try the newer 1.1.3.1 version.
I followed this tutorial and adepted it to windows:
https://github.com/radixdlt/babylon-node/releases
Perhaps it's missing the keystore thing...
No it does explain something about keystore, but it seems a bit different keygen or it comes with it, unlike the other tutorials which mentioned to donwload it from some docker file... bit confusing... but I will try and follow some of this stuff, maybe mix it, not yet sure.
I'm trying to run this software from G: drive and using H: drive for data.
Seems like main problem is unsupported class version... I think this might be the latest java version for windows but not sure...
Seems like Java version 17 was used, it corresponds to class version 61:
https://stackoverflow.com/questions/9170832/list-of-java-class-file-format-major-version-numbers
Seems a bit old, could have security issues... hmmm...
I guess I can give it a try if I can still find a java 17 version.... but I think other classes might be compiled with newer versions... bit strange...
newcore batch file modified (not sure about the rest of the folder, but at least changed library path)