[appfuse-user] error: NullPointerException when using hibernate

2009-11-21 Thread QuanNH
hi i follow this tut http://appfuse.org/display/APF/Using+Hibernate and get error when Run the DAO Test: Running com.mycompany.dao.PersonDaoTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 testFindPersonByLastName(com.mycompany.dao.PersonDaoTest) Time elapsed: 0.356 sec <<< ERROR! java.l

Re: [appfuse-user] [ANN] AppFuse 2.1.0 Milestone 1 Released

2009-11-21 Thread Matt Raible
On Fri, Nov 20, 2009 at 11:43 PM, harps wrote: > > > Hi, > > I Just noticed a couple of issues with adding an entity and generating the > code with the latest version of Appfuse for JSF. I am not sure if this > thread is the best place to post them or if I should create their own one. > Sorry if

Re: [appfuse-user] [ANN] AppFuse 2.1.0 Milestone 1 Released

2009-11-21 Thread Matt Raible
It says it's fixed in 2.7 - are you saying that it's not? On Fri, Nov 20, 2009 at 5:32 PM, harps wrote: > > > This seems to be the problem > > http://jira.codehaus.org/browse/MECLIPSE-551 > > The workaround is to use > > mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5.1:eclipse > > or

Re: [appfuse-user] error: NullPointerException when using hibernate

2009-11-21 Thread Matt Raible
Adding @Autowired to your personDao should solve this problem. You'll also need a @Test annotation on your test method. I've updated the tutorial to reflect this. Matt On Sat, Nov 21, 2009 at 9:36 AM, QuanNH wrote: > > hi > > i follow this tut http://appfuse.org/display/APF/Using+Hibernate and

Re: [appfuse-user] [ANN] AppFuse 2.1.0 Milestone 1 Released

2009-11-21 Thread harps
Yes, it does not work with 2.7 or 2.6 I tried to create an account called harps so that I could log the jira, but it won't let me log in. Regards, Harps. mraible wrote: > > It says it's fixed in 2.7 - are you saying that it's not? > > > -- View this message in context: http://n4.nabble.

Re: [appfuse-user] [ANN] AppFuse 2.1.0 Milestone 1 Released

2009-11-21 Thread Matt Raible
On Sat, Nov 21, 2009 at 12:51 PM, harps wrote: > > Yes, it does not work with 2.7 or 2.6 > > I tried to create an account called harps so that I could log the jira, but > it won't let me log in. > I was able to reproduce the login issue. Hopefully we'll have it fixed soon. In the meantime, pleas