NPE throws when starting axis2server if NIO https transport is enabled in 
axis2.xml
-----------------------------------------------------------------------------------

                 Key: AXIS2-3309
                 URL: https://issues.apache.org/jira/browse/AXIS2-3309
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: winxp, jdk15
            Reporter: Charitha Kankanamge
            Priority: Critical


- Uncomment <!-- the non-blocking https transport sender based on HttpCore + 
NIO SSL extensions--> section and NIO https transport receiver section in 
axis2.xml
- Restart Axis2 server

Startup fails with the following exception.
[FATAL] [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
java.lang.NullPointerException
        at 
org.apache.axis2.transport.nhttp.HttpCoreNIOSSLSender.getSSLContext(HttpCoreNIOSSLSender.
java:81)
        at 
org.apache.axis2.transport.nhttp.HttpCoreNIOSender.init(HttpCoreNIOSender.java:96)
        at 
org.apache.axis2.context.ConfigurationContextFactory.initTransportSenders(ConfigurationCo
ntextFactory.java:270)
        at 
org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.jav
a:201)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(Configura
tionContextFactory.java:76)
        at 
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSy
stem(ConfigurationContextFactory.java:180)
        at 
org.apache.axis2.transport.SimpleAxis2Server.<init>(SimpleAxis2Server.java:50)
        at 
org.apache.axis2.transport.SimpleAxis2Server.main(SimpleAxis2Server.java:101)
[SimpleAxisServer] Shutting down. Error starting SimpleAxisServer

in this case, Axis2server cannot be started due to absence of the default trust 
store and keystore files. However the error does not indicate anything about 
the actual reason.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to