[Yazd-developer] ForumFactory Object
Brought to you by:
aaflatooni
From: Krithika <kri...@es...> - 2002-07-15 05:25:21
|
HI, Created an admin user through the admin setup tool given, and used it to = get the Authorization Token in my code. When I attempted to get the = ForumFactory object using this authorization token, it does not do it. = I am using mysql. The error goes like this.... java.lang.NullPointerException at = com.Yasna.forum.database.DbForum.loadFromDb(DbForum.java:1201) at com.Yasna.forum.database.DbForum.<init>(DbForum.java:230) at = com.Yasna.forum.database.DbForumFactory.getForum(DbForumFactory.java: 255) at = com.Yasna.forum.database.DbForumFactoryIterator.next(DbForumFactoryIt erator.java:186) at = com.Yasna.forum.database.DbForumFactory.getPermissions(DbForumFactory .java:415) at = com.Yasna.forum.ForumFactory.getInstance(ForumFactory.java:183) at CreateForum.create(CreateForum.java:36) at CreateForum.main(CreateForum.java:56) This Exception java.lang.NullPointerException java.lang.NullPointerException at = com.Yasna.forum.database.DbForumFactory.getPermissions(DbForumFactory .java:416) at = com.Yasna.forum.ForumFactory.getInstance(ForumFactory.java:183) at CreateForum.create(CreateForum.java:36) at CreateForum.main(CreateForum.java:56) Is it something to do with permissions ? Is the mysql scripts that is provided complete with all entries ? What is at fault ....? Can anyone help ? Thanks in advance. -krithika |