You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2007/11/20 18:19:35 UTC

DO NOT REPLY [Bug 43916] New: - AC Trash and AC Archive throw an exception

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43916

           Summary: AC Trash and AC Archive throw an exception
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Access Control
        AssignedTo: dev@lenya.apache.org
        ReportedBy: rfrovarp@apache.org


There's a null pointer exception that is thrown when trying to access AC Trash
or AC Archive. It happens as admin and editor. Once fixed it would provide an
avenue of escalation discussed in bug #43915.

java.lang.NullPointerException
        at
org.apache.lenya.cms.ac.usecases.AccessControl.doCheckPreconditions(AccessControl.java:180)
        at
org.apache.lenya.cms.usecase.AbstractUsecase.checkPreconditions(AbstractUsecase.java:270)
        at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43916] - AC Trash and AC Archive throw an exception

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43916





------- Additional Comments From rfrovarp@apache.org  2007-11-20 09:40 -------
r596749 fixes the NPE bug. However, it is throwing another exception:

SocketListener0-9 ERROR flow - usecases.js::executeUsecase() with
lenya.usecase=[tab.acArchive]: Exception during loopFlow():
 JavaException: org.apache.cocoon.ResourceNotFoundException: Resource not found.
        at <map:serialize type="xhtml"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usec
ase.xmap:93:38
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:92:7
9
        at <map:transform type="proxy"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usec
ase.xmap:91:38
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:77:1
17
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:75:8
4
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:72:8
5
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:71:8
6
        at <map:transform type="i18n"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/useca
se.xmap:67:36
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:66:5
7
        at <map:transform> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:64:5
4
        at <map:transform type="usecase-proxy"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usec
ase/usecase.xmap:63:46
        at <map:transform type="forms"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usec
ase.xmap:61:39
        at <map:transform type="cinclude"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/u
secase.xmap:60:41
        at <map:transform type="browser-update"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/use
case/usecase.xmap:59:47
        at <map:generate type="jx"> -
file:///home/rfrovarp/asf/lenya-1.4.x/build/lenya/webapp/lenya/modules/usecase/usecase.
xmap:58:61

I'll take a look at it when I come back from lunch.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


DO NOT REPLY [Bug 43916] - AC Trash and AC Archive throw an exception

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43916>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43916


rfrovarp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From rfrovarp@apache.org  2007-11-20 10:20 -------
Was missing jx files. Added missing files in r596762.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org