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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14940

Exception Logged when User has nothing on screen

           Summary: Exception Logged when User has nothing on screen
           Product: Jetspeed
           Version: 1.4b1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Miscellaneous
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


FInally found where was this exception coming from :

java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
        at java.util.Vector.elementAt(Vector.java:417)
        at org.apache.jetspeed.portal.BasePortletSet.getPortletAt
(BasePortletSet.java:196)
        at 
org.apache.jetspeed.portal.controllers.VelocityPanedPortletController.retrievePa
neID(VelocityPanedPortletController.java:186)
        at 
org.apache.jetspeed.modules.actions.controllers.PanedControllerAction.buildNorma
lContext(PanedControllerAction.java:116)
        at 
org.apache.jetspeed.modules.actions.controllers.VelocityControllerAction.doPerfo
rm(VelocityControllerAction.java:157)
        at org.apache.turbine.modules.actions.VelocityAction.doPerform
(VelocityAction.java:88)

It's because I made the anonymous PSML empty (I removed everything in it, 
including panes). When there's a pane, it doesn't appear.

So every time someone is accessing my portal, before login, my Jetspeed.log is 
growing and growing with this exception...

To reproduce, simply remove everything on a user screen. Or modify the anon 
PSML with this one (created by customizer when removing everything) :

<?xml version="1.0" encoding="UTF-8"?>
<portlets id="P-f0d3bb50a4-1005d">
    <metainfo>
        <title>Default Jetspeed Page</title>
    </metainfo>
    <skin name="orange-grey"/>
    <control name="TabControl"/>
    <controller name="CardPortletController">
        <property name="parameter" value="pane"/>
    </controller>
</portlets>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to