Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] Stack after setting PKI env

Greetings and Happy New year,

I have a set up that loads all of the javax.net.ssl properties for TrustStore and KeyStore.

javax.net.ssl.trustStore=cacerts
javax.net.ssl.encryptedPassword=true
javax.net.ssl.cfgFileLocation=NONE
javax.net.ssl.keyStorePassword=D6OQCGToO/eGbmP/ry1koJqjVPWfdN04uWyiXPCv22Y\=
javax.net.ssl.trustStoreType=JKS
javax.net.ssl.trustStorePassword=changeit
javax.net.ssl.keyStoreProvider=PKCS12
javax.net.ssl.keyStoreType=PKCS12
javax.net.ssl.keyStore=my.p12



I successfully load the SSLContext, but see  a bunch of stack traces come out with two
major errors;
1) Repository registration initialization
2) Updating Maven Dependencies

java.lang.ExceptionInInitializerError
    at org.apache.maven.properties.internal.EnvironmentUtils.addEnvVars(EnvironmentUtils.java:51)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.populateSystemProperties(MavenExecutionContext.java:447)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.createExecutionRequest(MavenExecutionContext.java:203)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.newExecutionRequest(MavenExecutionContext.java:152)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:241)
    at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:214)
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryRefreshJob.run(ProjectRegistryRefreshJob.java:106)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.NullPointerException: Cannot invoke "String.toLowerCase(java.util.Locale)" because the return value of "java.lang.System.getProperty(String)" is null
    at org.codehaus.plexus.util.Os.<clinit>(Os.java:101)



Back to the top