Thanks, this fixes the error.

On a related note, I also found that the UES jaggery apps that made use of
SSO were also no longer working in the trunk pack. I found that the reason
for this is that in trunk the class
org.wso2.carbon.identity.sso.saml.ui.SAMLSSOProviderConstants which the
apps are referring to is missing from the
org.wso2.carbon.identity.sso.saml.ui bundle, where it was previously
located. (UES team please note)

Is there a reason why this class was removed? Please let me know where is
this class now located.

Thanks,

On 8 August 2013 15:44, Dulanja Liyanage <[email protected]> wrote:

> Hi,
>
> This is occurring due to a missing property file. We will be fixing this.
>
> In the meantime, you could copy:
>
>
> https://svn.wso2.org/repos/wso2/carbon/platform/trunk/features/identity/sso-saml/org.wso2.carbon.identity.sso.saml.server.feature/resources/saml2.federation.properties
>
> to:
> {CARBON_SERVER}/repository/conf/security/
>
> ...and try.
>
> Thanks,
> Dulanja
>
>
>  On Thu, Aug 8, 2013 at 3:29 PM, Balakrishnan Gokulakrishnan <
> [email protected]> wrote:
>
>>  Hi IS team,
>>
>> I added the org.wso2.carbon.identity.authenticator.saml2.sso.feature to
>> the BAM P2 profile gen, but I am seeing the following error when I start
>> the pack built from the trunk. Am I missing something? Please advise on how
>> to resolve this.
>>
>> [2013-08-08 15:00:39,088] ERROR
>> {org.wso2.carbon.identity.authenticator.saml2.sso.common.Util} -  Error
>> while loading SAML2 IdPs
>> java.lang.NullPointerException
>> at java.util.Properties$LineReader.readLine(Properties.java:418)
>>  at java.util.Properties.load0(Properties.java:337)
>> at java.util.Properties.load(Properties.java:325)
>>  at
>> org.wso2.carbon.identity.authenticator.saml2.sso.common.Util.loadFederatedIdPConfiguration(Util.java:544)
>> at
>> org.wso2.carbon.identity.authenticator.saml2.sso.common.Util.initSSOConfigParams(Util.java:355)
>>  at
>> org.wso2.carbon.identity.sso.saml.internal.IdentitySAMLSSOServiceComponent.activate(IdentitySAMLSSOServiceComponent.java:74)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>  at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>  at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>  at
>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>  at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>  at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>> at
>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>  at
>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>  at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>> at
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>>  at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>>  at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>  at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>> at java.lang.Thread.run(Thread.java:662)
>>
>> Thanks,
>>
>> --
>> *Balakrishnan Gokulakrishnan*
>> Software Engineer,
>> WSO2, Inc.; http://wso2.com
>>
>> Twitter:  http://twitter.com/gokulbs
>> Mobile: +94775935789
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dulanja Liyanage
> Senior Software Engineer - WSO2 Inc.
> M: +94776764717
>



-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/gokulbs
Mobile: +94775935789
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to