Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] RE: Higgins STS NullPointerException

I'll send you tomorrow which libraries I use. I hope we can solve your problem soon.
---
David Campos


On Sun, Sep 27, 2009 at 22:27, Smadja Philippe <Philippe.Smadja@xxxxxxxxxxx> wrote:

I had a   "null pointer exception" problem.
I use tomcat 6 --  moving from Java 1.6 to Java 1.5 fixes the issue but I do no know why...

Cheers
Philippe.

-----Original Message-----
From: higgins-dev-bounces@xxxxxxxxxxx [mailto:higgins-dev-bounces@xxxxxxxxxxx] On Behalf Of Deinert, Florian
Sent: samedi 26 septembre 2009 19:58
To: Higgins (Trust Framework) Project developer discussions
Subject: AW: [higgins-dev] RE: Higgins STS NullPointerException

I added the Setting Name="IdentityAttributeService" to ManagedConfiguration.xml as described in the thread but unfortunately this didn't solve the problem. Strictly speaking this didn't change anything.

I checked out the current version of STS from SVN, added some additional log messages and built the TokenService.war with Ant. It seems like "this.profileService" in ProfileServiceServer.configure is always NULL. What's this "profileService"?

>> I have done  all proper configurations and add the right libraries (including the ones that  don't come into the war package).

Which libraries did you add?






[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 DEBUG LogHelper.trace (71): ProfileServiceServerBinding::createProfile
|#]

[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 DEBUG LogHelper.trace (71): ---ProfileServiceServer.createProfile User: test -- Pass: test
|#]

[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 DEBUG LogHelper.trace (71): ---profileService in ProfileServiceServer.createProfile is NULL :-(
|#]

[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 ERROR LogHelper.error (119): createProfile: null
|#]

[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 ERROR LogHelper.error (119): java.lang.NullPointerException
|#]

[#|2009-09-26T19:51:31.556+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;_RequestID=190361d4-4236-4539-917a-8d52e5fc8deb;|
org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile ProfileServiceServerBinding.java:123.|#]

[#|2009-09-26T19:51:31.556+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-2;|19:51:31,556 ERROR LogHelper.error (119): org.eclipse.higgins.sts.binding.axis1x.ProfileServiceServerBinding::createProfile ProfileServiceServerBinding.java:123.
|#]




-----Ursprüngliche Nachricht-----
Von: higgins-dev-bounces@xxxxxxxxxxx im Auftrag von David Campos
Gesendet: Sa 26.09.2009 16:39
An: Higgins (Trust Framework) Project developer discussions
Betreff: Re: [higgins-dev] RE: Higgins STS NullPointerException

Now I see :) That happened to me deploying Higgins TokenService M6 on Tomcat
6.0 with Java 6. If it's the same problem it comes from a bad configuration
file :)

Follow this topic and try the solution that worked for me:
http://www.nabble.com/Problem-deploying-TokenService-M6-to24516173.html#a24516173

I hope this solves your problem.

Regards,
---
David Campos


On Sat, Sep 26, 2009 at 15:09, Deinert, Florian <
Florian.Deinert@xxxxxxxxxxxxxxxxxxx> wrote:

> A complete stacktrace would be too long but this is where the error occurs.
> I think it's something with this JNDIContextFactory.
> Do I need any other additional jar files for JNDI?
>
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG LogHelper.trace (71): EncryptionKeyGeneratorSize: 256
> |#]
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG LogHelper.trace (71): EncryptionKeyGeneratorAlgorithmProvider: null
> |#]
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG LogHelper.trace (71): EncryptionKeyWrapAlgorithm:
> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p
> |#]
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG LogHelper.trace (71): EncryptionKeyWrapAlgorithmProvider: null
> |#]
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG MapHandler.getSetting (117): Adding Map Entry for Name:
> XMLSecurityExtension
> |#]
>
> [#|2009-09-26T14:30:53.612+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,612
> DEBUG ClassInstanceHandler.getSetting (80): Setting Name: JNDIContextFactory
> Value: org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory
> |#]
>
> [#|2009-09-26T14:30:53.627+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,627
> DEBUG MapHandler.getSetting (117): Adding Map Entry for Name:
> JNDIContextFactory
> |#]
>
> [#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,627
> DEBUG ClassSingletonHandler.getSetting (46): Setting Name:
> IdentityAttributeService Value:
> org.eclipse.higgins.idas.registry.IdASRegistry
> |#]
>
> [#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643
> ERROR ConfigurationHandler.configure (445):
> |#]
>
> [#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643
> ERROR LogHelper.error (119): createProfile: null
> |#]
>
> [#|2009-09-26T14:30:53.643+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,643
> ERROR LogHelper.error (119): java.lang.NullPointerException
> |#]
>
>
> [#|2009-09-26T14:30:53.658+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=08ad8227-17e2-461c-ac9a-e6cb12485fdd;|
> org.eclipse.higgins.idas.registry.IdASRegistry::registerContextFactory
> IdASRegistry.java:467.|#]
>
> [#|2009-09-26T14:30:53.658+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,658
> ERROR LogHelper.error (119):
> org.eclipse.higgins.idas.registry.IdASRegistry::registerContextFactory
> IdASRegistry.java:467.
> |#]
>
>
> [#|2009-09-26T14:30:53.658+0200|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=08ad8227-17e2-461c-ac9a-e6cb12485fdd;|
> org.eclipse.higgins.idas.registry.IdASRegistry::configure
> IdASRegistry.java:291.|#]
>
> [#|2009-09-26T14:30:53.658+0200|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-0;|14:30:53,658
> ERROR LogHelper.error (119):
> org.eclipse.higgins.idas.registry.IdASRegistry::configure
> IdASRegistry.java:291.
> |#]
>
>
>
>
>
> ....and this is the corresponding part of the ManagedConfiguration.xml
>
>                <!-- The name of the class that provides the factory for the
> class that implements the Apache XML Security Extension -->
>                <Setting Name="XMLSecurityExtension"
> Type="htf:singleton">org.eclipse.higgins.sts.xmlsecurity.apache.XMLSecurityApacheExtensionFactory</Setting>
>
>                <!-- The name of the class that provides the factory for the
> class that implements the JNDI Context Provider -->
>                <Setting Name="JNDIContextFactory"
> Type="htf:classinstance">org.eclipse.higgins.idas.cp.jndi.JNDIContextFactory</Setting>
>
>                <!-- The name of the class that provides the factory for the
> class that implements the IdASRegistry -->
>                <Setting Name="IdentityAttributeService"
> Type="htf:classsingleton">org.eclipse.higgins.idas.registry.IdASRegistry</Setting>
>
>                <!-- The name of the class that provides the factory for the
> class that implements the AppliesTo Mapper -->
>                <Setting Name="AppliesToMapper"
> Type="htf:singleton">org.eclipse.higgins.sts.server.mapper.appliesto.AppliesToMapperFactory</Setting>
>
> _______________________________________________
> higgins-dev mailing list
> higgins-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/higgins-dev
>
>

_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev


Back to the top