org.apache.axis2.AxisFault: Failed to populate the CarbonContext for tenant whose tenantDomain :null and tenantID: -1


Samebug tips2

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"


,
via GitHub by Omertron

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859


5 months ago
Expert tip

Solutions on the web1

Solution icon of stackoverflow
Failed to populate the CarbonContext for tenant whose tenantDomain :null and tenantID: -1

Stack trace

org.apache.axis2.AxisFault: Failed to populate the CarbonContext for tenant whose tenantDomain :null and tenantID: -1
	at org.wso2.carbon.server.admin.module.handler.CarbonContextCreatorHandler.invoke(CarbonContextCreatorHandler.java:78)
	at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
	at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
	at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
	at org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:319)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:152)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(String.java:1967)
	at org.wso2.carbon.server.admin.module.handler.CarbonContextCreatorHandler.invoke(CarbonContextCreatorHandler.java:72)
	... 10 more

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

Once, 1 month ago
Once, 4 months ago
7 times, 5 months ago
2 times, 9 months ago
2 times, 10 months ago
103 more bugmates