org.mozilla.javascript.WrappedException: Wrapped java.lang.ArrayIndexOutOfBoundsException: 0 (/publisher/modules/api/add.jag#108)


Solutions on the web162

Solution icon of stackoverflow
Wrapped java.lang.ArrayIndexOutOfBoundsException: 0 (/publisher/modules/api/add.jag#108)

Solution icon of stackoverflow
Wrapped java.lang.ArrayIndexOutOfBoundsException: 0 (/publisher/modules/api/add.jag#99)

Solution icon of stackoverflow
Wrapped java.lang.NullPointerException (/publisher/modules/api/add.jag#125)

Solution icon of stackoverflow
Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error in adding API :PizzaShackAPI (/publisher/modules/api/add.jag#108)

Solution icon of stackoverflow
Wrapped java.lang.NullPointerException (/publisher/modules/api/add.jag#119)

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error while adding the API- mockAPI-1.0.0 (/publisher/modules/api/add.jag#50)

Solution icon of stackoverflow
Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Error while performing registry transaction operation (/publisher/modules/api/add.jag#133)

Solution icon of stackoverflow
Wrapped org.wso2.carbon.apimgt.api.APIManagementException: Failed to process the WSDL : http://system.dcm.allianz:25001/company/esb/api/pricing/eu/deferred/RatingPricingService?wsdl (/publisher/modules/api/add.jag#134)

Solution icon of stackoverflow
Wrapped org.jaggeryjs.scriptengine.exceptions.ScriptException: Requested resource /modules/tenant-api.js cannot be found (/publisher/extensions/app/greg_publisher/pages/greg-landing.jag#9)

Solution icon of bugzilla
Wrapped org.apache.lenya.cms.usecase.UsecaseException: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1 (file:///var/lib/tomcat5.5/webapps/lenya/lenya/modules/usecase/usecases.js#280)

Stack trace

org.mozilla.javascript.WrappedException: Wrapped java.lang.ArrayIndexOutOfBoundsException: 0 (/publisher/modules/api/add.jag#108)
	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	at org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO.addAPI(ApiMgtDAO.java:5394)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.