Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.4b1
-
None
-
None
-
Operating System: Other
Platform: Other
-
14940
Description
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>