Hi,
in order to integrate blojsom 3.0 into an existing system I
implemented another version of BaseAdminPlugin. After
creating a new
blog I always get this error message when I'm trying to make
a new
blog entry or any other admin action:
java.lang.NullPointerException
org.blojsom.authorization.database.DatabaseAuthorizationPro
vider.checkPermission(DatabaseAuthorizationProvider.java:169
)
org.blojsom.plugin.admin.BaseAdminPlugin.checkPermission(Ba
seAdminPlugin.java:253)
org.blojsom.plugin.admin.EditBlogEntriesPlugin.process(Edit
BlogEntriesPlugin.java:244)
org.blojsom.servlet.BlojsomServlet.service(BlojsomServlet.j
ava:253)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802
)
org.blojsom.filter.PermalinkFilter.doFilter(PermalinkFilter
.java:207)
org.blojsom.filter.SkipEntriesFilter.doFilter(SkipEntriesFi
lter.java:103)
org.blojsom.filter.PageFilter.doFilter(PageFilter.java:167)
org.blojsom.filter.FeedFilter.doFilter(FeedFilter.java:198)
edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFil
ter.java:156)
My plugin is working for blog 21 but not for 112. I don't
know where I
should go on searching for this bug.
output of the console when trying to make a new blog entry
for blog 21:
Jul 26 10:24:49 DEBUG [http-8080-Processor23]
servlet.BlojsomServlet -
Adding last-modified header for current date
Jul 26 10:24:51 DEBUG [http-8080-Processor23]
velocity.VelocityDispatcher - Retrieved template for page:
org/blojsom/plugin/admin/templates/admin.vm
Jul 26 10:24:51 DEBUG [http-8080-Processor23]
velocity.VelocityDispatcher - Dispatched to flavor page
template:
org/blojsom/plugin/admin/templates/admin.vm
Jul 26 10:24:54 DEBUG [Thread-1] moblog.MoblogPlugin -
Moblog plugin
off to take a nap
Jul 26 10:25:23 DEBUG [http-8080-Processor24]
core.StandardWrapper -
Returning non-STM instance
Jul 26 10:25:23 DEBUG [http-8080-Processor24]
filter.FeedFilter -
Handling feed filter request: /21/
Jul 26 10:25:23 DEBUG [http-8080-Processor24]
filter.PageFilter -
Handling page filter request: /21/
Jul 26 10:25:23 DEBUG [http-8080-Processor24]
filter.SkipEntriesFilter
- Handling skip entries request: /21/
Jul 26 10:25:23 DEBUG [http-8080-Processor24]
filter.PermalinkFilter -
Handling permalink request: /21
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
database.DatabaseFetcher
- blojsom path info: /
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
database.DatabaseFetcher
- User requested category: /
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet -
blojsom plugin execution:
org.blojsom.plugin.admin.EditBlogEntriesPlugin
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
admin.EditBlogEntriesPlugin - User requested new blog entry
action
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
common.RSSEnclosurePlugin - Handling process blog entry
event
Jul 26 10:25:25 DEBUG [http-8080-Processor24]
language.LanguageSelectionPlugin - Handling process blog
entry event
Jul 26 10:25:28 DEBUG [http-8080-Processor24]
servlet.BlojsomServlet -
Adding last-modified header for current date
Jul 26 10:25:28 DEBUG [http-8080-Processor24]
velocity.VelocityDispatcher - Retrieved template for page:
org/blojsom/plugin/admin/templates/admin-add-blog-entry.vm
Jul 26 10:25:28 DEBUG [http-8080-Processor24]
velocity.VelocityDispatcher - Dispatched to flavor page
template:
org/blojsom/plugin/admin/templates/admin-add-blog-entry.vm
output of the console when trying to make a new blog entry
for blog 112:
Jul 26 10:27:57 DEBUG [http-8080-Processor22]
servlet.BlojsomServlet -
Adding last-modified header for current date
Jul 26 10:27:57 DEBUG [http-8080-Processor22]
velocity.VelocityDispatcher - Retrieved template for page:
org/blojsom/plugin/admin/templates/admin.vm
Jul 26 10:27:57 DEBUG [http-8080-Processor22]
velocity.VelocityDispatcher - Dispatched to flavor page
template:
org/blojsom/plugin/admin/templates/admin.vm
Jul 26 10:28:00 DEBUG [http-8080-Processor22]
core.StandardWrapper -
Returning non-STM instance
Jul 26 10:28:00 DEBUG [http-8080-Processor22]
filter.FeedFilter -
Handling feed filter request: /112/
Jul 26 10:28:00 DEBUG [http-8080-Processor22]
filter.PageFilter -
Handling page filter request: /112/
Jul 26 10:28:00 DEBUG [http-8080-Processor22]
filter.SkipEntriesFilter
- Handling skip entries request: /112/
Jul 26 10:28:00 DEBUG [http-8080-Processor22]
filter.PermalinkFilter -
Handling permalink request: /112
Jul 26 10:28:01 DEBUG [http-8080-Processor22]
database.DatabaseFetcher
- blojsom path info: /
Jul 26 10:28:01 DEBUG [http-8080-Processor22]
database.DatabaseFetcher
- User requested category: /
Jul 26 10:28:01 DEBUG [http-8080-Processor22]
servlet.BlojsomServlet -
blojsom plugin execution:
org.blojsom.plugin.admin.EditBlogEntriesPlugin
It would be very nice if someone can give me a hint how I
can solve
this problem. Thanks,
Ingo
------------------------------------------------------------
----
This message was sent using IMP, the Internet Messaging
Program.
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|