Null Pointer Exceptions While Creating A Group Space In Webcenter Spaces (Doc ID 1117823.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.2.0 to 11.1.1.2.0 [Release 11g]
Information in this document applies to any platform.
Checked for relevance on 23-May-2013

Symptoms

The createGroupSpace api returns a null metadata object when:

1. Using the GSAPI, invoke the create group space api.
2. Print the GroupSpaceMetadata object.

Notice the object is null
A nullpointerexception is also thrown:

<May 6, 2010 4:06:43 PM EDT> <Warning> <oracle.webcenter.webcenterapp.error> <WCS-19349> <Couldn't find application role matching the search string Public-User due to Couldnt retrieve metadata for role {0}.>
<May 6, 2010 4:06:43 PM EDT> <Error> <oracle.webcenter.spaces.internal.view.ws> <BEA-000000> <
java.lang.NullPointerException
at oracle.webcenter.spaces.internal.view.ws.SpacesWebService.getGuid(SpacesWebService.java:1733)
at oracle.webcenter.spaces.internal.view.ws.SpacesWebService.getGroupSpaceMetadataWithoutSecurity(SpacesWebService.java:1849)
at oracle.webcenter.spaces.internal.view.ws.SpacesWebService.createGroupSpace(SpacesWebService.java:657)
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 oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:305)
at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:159)
at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:428)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1160)
at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:896)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47)
at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
(more)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms