[securesocial-0.2.3] Error when running from Eclipse

112 visualizzazioni
Passa al primo messaggio da leggere

Eric Jain

da leggere,
24 gen 2012, 18:07:2624/01/12
a play-framework
I can `play run` from the command line, but in Eclipse I get this
after installing the SecureSocial module:

Listening for transport dt_socket at address: 8000
14:32:24,946 INFO ~ Starting C:\xyz
14:32:24,952 INFO ~ Module secure is available (C:\Program Files\Play
\modules\secure)
14:32:24,952 INFO ~ Module securesocial is available (C:\xyz\modules
\securesocial-0.2.3)
14:32:26,218 WARN ~ You're running Play! in DEV mode
14:32:26,334 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start) ...
14:32:35,874 INFO ~ Registered Identity Provider: twitter
14:32:35,874 INFO ~ Registered Identity Provider: facebook
14:32:35,874 INFO ~ Registered Identity Provider: google
14:32:35,874 INFO ~ Registered Identity Provider: foursquare
14:32:35,875 INFO ~ Registered Identity Provider: myopenid
14:32:35,875 INFO ~ Registered Identity Provider: userpass
14:32:35,876 INFO ~ Using default user service
14:32:35,879 ERROR ~ Tried to register provider for type: twitter but
it is registered already. Providers: {twitter=twitter,
facebook=facebook, google=google, foursquare=foursquare,
myopenid=myopenid, userpass=userpass}
14:32:37,258 ERROR ~

@6972kkihb
Internal Server Error (500) for request GET /

Oops: RuntimeException
An unexpected error occured caused by exception RuntimeException:
There is already a provider registered for type: twitter

play.exceptions.UnexpectedException: Unexpected Error
at play.Play.start(Play.java:545)
at play.Play.detectChanges(Play.java:618)
at play.Invoker$Invocation.init(Invoker.java:198)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.RuntimeException: There is already a provider
registered for type: twitter
at
securesocial.provider.ProviderRegistry.register(ProviderRegistry.java:
46)
at
securesocial.plugin.SecureSocialPlugin.onApplicationStart(SecureSocialPlugin.java:
58)
at
play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:
480)
at play.Play.start(Play.java:515)
... 3 more


Steps to reproduce:

1. `play new xyz`
2. Append "- play -> securesocial 0.2.3" to dependencies.yaml
3. `play deps`
4. Fix path to jquery.js in modules/securesocial-0.2.3/app/views/.../
main.html
5. Insert "* / module:securesocial" in conf/routes above #Catch all
6. `play run`
7. `play eclipsify`
8. Import project into Eclipse
9. Run xyz.launch
10. Open localhost:9000/

Jorge Aliss

da leggere,
25 gen 2012, 04:33:5625/01/12
a play-fr...@googlegroups.com
Hi,

Do you see the same error using 0.2.2? Can you create a ticket on Github? We can follow this up better there.

Thanks,
Jorge
> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
>

Aleksandar Vukasinovic

da leggere,
25 gen 2012, 17:29:1725/01/12
a play-framework
I have completely the same setup and was able to reproduce the bug.

Then I switched to 0.2.2 version and it was working ok. So I guess
problem is in the latest version.

Mahamad El Tanahy

da leggere,
16 mar 2012, 21:28:4316/03/12
a play-fr...@googlegroups.com
Having this same problem on v0.2.4 and v0.2.3.  
> "play-framework" group.> To post to this group, send email to play-framework@googlegroups.com.
> > To unsubscribe from this group, send email to
>
> play-framework+unsubscribe@googlegroups.com.> For more options, visit this group at
>
> http://groups.google.com/group/play-framework?hl=en.
>
>
>
>
>
>
>
>
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi