java.lang.RuntimeException: org.olap4j.OlapException: This connection encountered an exception while executing a query.


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by vahidreza
, 8 months ago
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of stackoverflow
via Stack Overflow by Aaron
, 1 year ago
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
via olap4j by mydcoyne
, 1 year ago
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of stackoverflow
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of stackoverflow
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Solution icon of sourceforge
org.olap4j.OlapException: This connection encountered an exception while executing a query.

Stack trace

java.lang.RuntimeException: org.olap4j.OlapException: This connection encountered an exception while executing a query.
	at org.olap4j.driver.xmla.DeferredNamedListImpl.getList(DeferredNamedListImpl.java:96)
	at org.olap4j.driver.xmla.DeferredNamedListImpl.size(DeferredNamedListImpl.java:116)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.getOlapDatabase(XmlaOlap4jConnection.java:451)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.getOlapCatalog(XmlaOlap4jConnection.java:501)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.getCatalog(XmlaOlap4jConnection.java:496)
	at org.olap4j.driver.xmla.XmlaOlap4jStatement.executeOlapQuery(XmlaOlap4jStatement.java:291)
	at Main.main(Main.java:33)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
Caused by: org.olap4j.OlapException: This connection encountered an exception while executing a query.
	at org.olap4j.driver.xmla.XmlaHelper.createException(XmlaHelper.java:43)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.executeMetadataRequest(XmlaOlap4jConnection.java:878)
	at org.olap4j.driver.xmla.XmlaOlap4jDatabaseMetaData.getMetadata(XmlaOlap4jDatabaseMetaData.java:137)
	at org.olap4j.driver.xmla.XmlaOlap4jDatabaseMetaData.getMetadata(XmlaOlap4jDatabaseMetaData.java:67)
	at org.olap4j.driver.xmla.XmlaOlap4jDatabaseMetaData.getDatabaseProperties(XmlaOlap4jDatabaseMetaData.java:1044)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.makeConnectionPropertyList(XmlaOlap4jConnection.java:324)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.generateRequest(XmlaOlap4jConnection.java:1037)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.populateList(XmlaOlap4jConnection.java:849)
	at org.olap4j.driver.xmla.DeferredNamedListImpl.populateList(DeferredNamedListImpl.java:136)
	at org.olap4j.driver.xmla.DeferredNamedListImpl.getList(DeferredNamedListImpl.java:90)
	... 11 more
Caused by: org.olap4j.driver.xmla.proxy.XmlaOlap4jProxyException: This proxy encountered an exception while processing the query.
	at org.olap4j.driver.xmla.proxy.XmlaOlap4jHttpProxy.getResponse(XmlaOlap4jHttpProxy.java:167)
	at org.olap4j.driver.xmla.proxy.XmlaOlap4jAbstractHttpProxy.get(XmlaOlap4jAbstractHttpProxy.java:181)
	at org.olap4j.driver.xmla.proxy.XmlaOlap4jHttpProxy.get(XmlaOlap4jHttpProxy.java:41)
	at org.olap4j.driver.xmla.XmlaOlap4jConnection.executeMetadataRequest(XmlaOlap4jConnection.java:876)
	... 19 more
Caused by: java.io.FileNotFoundException: http://SER.VER.I.P/OLAP/msmdpump.dll
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
	at org.olap4j.driver.xmla.proxy.XmlaOlap4jHttpProxy.getResponse(XmlaOlap4jHttpProxy.java:130)
	... 22 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

4 times, 4 months ago
366 times, 9 months ago
120 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
14 more bugmates