Comments below...
On Aug 30, 2005, at 2:58 PM, Axel wrote:
If I update my website settings, I get the message:
" Saved changes to weblog settings"
and the following NPE:
java.lang.NullPointerException
at
org.roller.presentation.RollerSession.hasPermissions(RollerSession.java
:228)
at
org.roller.presentation.RollerSession.isUserAuthorizedToAdmin(RollerSes
sion.java:220)
at
org.roller.presentation.website.actions.WebsiteFormAction.edit(WebsiteF
ormAction.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.
java:276)
I found and fixed this one today. Are you on the latest code?
----
If I press the "customize" button I get the message
"Unexpected Exception
Roller has encountered and logged an unexpected exception.
Reason: 404"
If I'm selecting now the "custom" theme again, I get:
net.sf.hibernate.LazyInitializationException: Failed to lazily
initialize a collection - no session or session was closed
at
net.sf.hibernate.collection.PersistentCollection.initialize(PersistentC
ollection.java:209)
at
net.sf.hibernate.collection.PersistentCollection.read(PersistentCollect
ion.java:71)
at net.sf.hibernate.collection.Bag.iterator(Bag.java:256)
at
org.roller.pojos.WebsiteData.hasUserPermissions(WebsiteData.java:965)
at
org.roller.presentation.RollerSession.hasPermissions(RollerSession.java
:228)
at
org.roller.presentation.RollerSession.isUserAuthorizedToAdmin(RollerSes
sion.java:220)
at
org.roller.presentation.website.actions.ThemeEditorAction.preview(Theme
EditorAction.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.
java:276)
at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:
196)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
rocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
I can't duplicate this one either. The Preferences:Theme page is
working fine for me, but blogs don't seem to be rendering properly if
you "customize" a theme. I must have broken Allen's new theme stuff
when I did the merge.
Invite a User for your blog:
org.roller.RollerException: Website cannot be null
at
org.roller.business.UserManagerImpl.inviteUser(UserManagerImpl.java:
370)
at
org.roller.presentation.website.actions.InviteMemberAction.save(InviteM
emberAction.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.
java:276)
at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:
196)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestP
rocessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java
:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:
1164)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
I fixed that one today too. Make sure you get the latest code.
- Dave