users streams not showing up

43 views
Skip to first unread message

Cesar Devera

unread,
Dec 20, 2010, 5:50:05 AM12/20/10
to Eureka Streams Development
hi,

I'm using Eureka in a development environment, and I created more
users with the CreatePerson stored procedure, as in:

select CreatePerson ('accountid1', 'firstname1', 'middlename1',
'lastname1', 'us...@email.com', 'opensocialid1');
select CreatePerson ('accountid2', 'firstname2', 'middlename2',
'lastname2', 'us...@email.com', 'opensocialid2');
...

and then populated some streams for each user.

everything was working fine, and I could access every profile and see
their posts.

but yesterday I got the latest codes from github, and now only the
posts from 'sysadmin' are showing up.
the posts from the other users I created are not appearing.

I'm not sure if this can help, but these are the logs I get in Jetty's
console when...

1. when I see the posts from 'sysadmin':

//
OK[22,21,0.0,0.0,20,1.1754943508222875E-38,19,0,0,0.0,15.0,0,18,0,-11,0.0,1.0,0,0,0.0,0.0,0,0,0
,
6,700000000,1.2884901888E12,4.2864699E9,17,0,0,0.0,0.0,0,0,0,6,0,0,0,-11,0,4,0,1,15,0.0,15.0,0,9,
-6,0.0,6.0,7,0.0,1.0,16,0,6,0,15,0,0,0,0,14,13,11,12,11,1,10,0,0,0,0,0,9,1,8,0.0,1.0,7,0,0,6,5,0,13,4,3,2,1,1,
["[Lorg.eurekastreams.commons.client.ActionRequest;/4132500750",
"org.eurekastreams.commons.client.ActionRequestImpl/34061766",
"postPersonActivityServiceActionTaskHandler","java.lang.Integer/
3438268394",
"org.eurekastreams.server.domain.stream.ActivityDTO/367646709",
"org.eurekastreams.server.domain.stream.StreamEntityDTO/
3144033023","Administrator
Administrator","org.eurekastreams.server.domain.EntityType/
1770288046","sysadmin",
"java.util.HashMap/962170901","java.lang.String/
2004016611","content","mlmlml",
"org.eurekastreams.server.domain.stream.BaseObjectType/3665099290",
"java.lang.Boolean/476441737","java.lang.Long/4227064769",
"java.sql.Timestamp/
1769758459","org.eurekastreams.server.domain.stream.ActivityVerb/
348460455","(value not returned by search query)","java.util.Date/
1659716317","Activity#15","1td5yfks3bvyv"],0,5]
...

2. when I try to see the posts from 'account1':

OK[7,6,5,0,11,4,3,2,1,1,
["[Lorg.eurekastreams.commons.client.ActionRequest;/4132500750",
"org.eurekastreams.commons.client.ActionRequestImpl/34061766",
"postPersonActivityServiceActionTaskHandler","java.lang.Integer/
3438268394",
"org.eurekastreams.commons.exceptions.GeneralException/1704786451",
"java.lang.NullPointerException","1j8u54i552duu"],0,5]
...


is there any broken code on github?

thanks in advance,
regards,

Cesar

chrismarx

unread,
Jan 5, 2011, 4:59:23 PM1/5/11
to eureka-st...@googlegroups.com
hi,
 how did u create streams? is there more sql to run, or is this just something you did in the app?  I created a new user, and can log in, like things, etc., but I can't post anything, the error is 

ERROR org.eurekastreams.commons.server.ActionExecutor - Caught exception while running postPersonActivityServiceActionTaskHandler for user: demo1. Parameters: org.eurekastreams.server.action.request.stream.PostActivityRequest@ea2fc0. 
org.eurekastreams.commons.exceptions.GeneralException: java.lang.NullPointerException
at org.eurekastreams.commons.server.service.ServiceActionController.execute(ServiceActionController.java:201)

did you make this work?

Steve T

unread,
Jan 7, 2011, 2:45:21 PM1/7/11
to Eureka Streams Development
I am looking into this now. I can see the error on my side too. We
don't use that db script to create new users, we use the LDAP import
through TaskQueueProcessor, so it looks like something was added to
the model that the createperson script is not handling. I will post
when I have a fix avail.

chrismarx

unread,
Jan 10, 2011, 9:42:27 AM1/10/11
to eureka-st...@googlegroups.com
Thank you! We'll be using the ldap support eventually (with CAS), but for the moment, I've just been testing through the open-access config, and it would be nice to be able to demo adding/using additional people in the app-

Steve T

unread,
Jan 14, 2011, 4:47:38 PM1/14/11
to Eureka Streams Development

chrismarx

unread,
Jan 17, 2011, 9:50:42 AM1/17/11
to eureka-st...@googlegroups.com
great! thanks so much, this fixed it. I'm wondering if as part of the future documentation plans if you've considered publishing documentation for all the database objects. Although the tables are thankfully mostly logically named, this would probably be of a lot of use to developers-

chrismarx

unread,
Mar 29, 2012, 12:57:31 PM3/29/12
to eureka-st...@googlegroups.com
I'm resurrecting this thread a bit, wondering about database documentation. For my own projects, I've taken to using the built-in "Comment" fields for storing information about what a table does, what each column stores, etc., even something really short can be helpful to someone starting work with an application we've built. And at least for Oracle (what I normally work with), there's free tools to automatically generated database documentation that includes those comments-
Reply all
Reply to author
Forward
0 new messages