Hi,
I am getting an UnsupportedOperationException at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.LiteralMember.getDate(LiteralMember.java:287) with Design Studio version 13.0.2.201403211108 (see log below for more details about the exception).
I already drilled the error down to a single datasource and a button that executes the following script:
APPLICATION.setVariableValueExt("VAR_DATERANGE", "01/01/2014 - 31/12/2014");
I also tried some other Design Studio versions without success. Interestingly, other colleagues of mine do not get an error using the same script and the same Design Studio version. Thus, I copied their Design Studio folder directly onto my PC and it produces the same error. So this seems to be a system related problem.
Furthermore, the error does not occur if I remove the whitespace around the hyphen in the variable value. However, the value without spaces is not accepted by the backend server - so this is no solution.
Did anyone see this error before and knows how to solve it?
Regards,
Sven
The log shows the following:
!ENTRY com.sap.ip.bi.zen 2 0 2014-04-24 15:51:31.786 !MESSAGE Value '31/12/2014' is not valid for variable DATERANGE or does not exist !ENTRY com.sap.ip.bi.base 4 0 2014-04-24 15:51:31.879 !MESSAGE ERROR [e8330a42-e034-47d3-9904-3ec1331babed]: Unknown Error !STACK 0 com.sap.ip.bi.base.exception.BIBaseRuntimeException: Unknown Error at com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:869) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:5069) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRequest(Page.java:5062) at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.doProcessRequest(Controller.java:1202) at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller._processRequest(Controller.java:1058) at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1026) at com.sap.ip.bi.webapplications.runtime.impl.controller.Controller.processRequest(Controller.java:1) at com.sap.ip.bi.server.runtime.sevice.impl.BIRuntimeServerService._handleRequest(BIRuntimeServerService.java:535) at com.sap.ip.bi.server.runtime.sevice.impl.BIRuntimeServerService.handleRequest(BIRuntimeServerService.java:940) at com.sap.ip.bi.server.execution.engine.runtime.BIExecutionEngineRuntime.executeRequest(BIExecutionEngineRuntime.java:48) at com.sap.ip.bi.framework.base.execution.impl.BIExecutionService.executeRequest(BIExecutionService.java:54) at com.sap.ip.bi.client.execution.AbstractExecutionServlet.handleRequest(AbstractExecutionServlet.java:161) at com.sap.ip.bi.client.servlet.BIPrivateServlet.handleRequest(BIPrivateServlet.java:36) at com.sap.ip.bi.client.execution.AbstractExecutionServlet.doGet(AbstractExecutionServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:38) at com.sap.ip.bi.zen.webserver.internal.ZenSessionFilter.doFilter(ZenSessionFilter.java:55) at org.eclipse.equinox.http.servlet.internal.FilterRegistration.doFilter(FilterRegistration.java:81) at org.eclipse.equinox.http.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:35) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:132) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:386) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.UnsupportedOperationException at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.LiteralMember.getDate(LiteralMember.java:287) at com.sap.ip.bi.zen.rt.components.filterpanel.bics.MemberWrapper.getDateKey(MemberWrapper.java:121) at com.sap.ip.bi.zen.rt.components.filterpanel.impl.AbstractFilterComponentBase.getMemberAttributes(AbstractFilterComponentBase.java:706) at com.sap.ip.bi.zen.rt.components.filterpanel.impl.AbstractFilterComponentBase.getRanges(AbstractFilterComponentBase.java:677) at com.sap.ip.bi.zen.rt.components.filterpanel.impl.AbstractFilterComponentBase.getFilters(AbstractFilterComponentBase.java:796) at com.sap.ip.bi.zen.rt.components.filterpanel.impl.AbstractFilterComponentBase.renderComponentContent(AbstractFilterComponentBase.java:1498) at com.sap.ip.bi.zen.rt.components.dialog.base.ZenUiDialog.renderComponentContent(ZenUiDialog.java:293) at com.sap.ip.bi.zen.rt.components.dialog.variable.ZenVariableDialog.renderComponent(ZenVariableDialog.java:305) at com.sap.ip.bi.webapplications.web.dialogs.framework.UiDialog.render(UiDialog.java:381) at com.sap.ip.bi.webapplications.ui.dialogs.framework.rendering.DialogRenderingRootNode.callTheSetterMethods(DialogRenderingRootNode.java:84) at com.sap.ip.bi.webapplications.ui.dialogs.framework.rendering.DialogRenderingRootNode.processRendering(DialogRenderingRootNode.java:66) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.buildRenderingTree(Page.java:1420) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRenderingRootNode(Page.java:5047) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.processRendering(Page.java:5013) at com.sap.ip.bi.webapplications.runtime.impl.page.Page.doProcessRequest(Page.java:2927) at com.sap.ip.bi.webapplications.runtime.impl.page.Page._processRequest(Page.java:764) ... 45 more !ENTRY com.sap.ip.bi.base 4 0 2014-04-24 15:51:31.895 !MESSAGE BI exception with class "BIBaseRuntimeException" and message "Unknown Error". See default trace for log ID "e8330a42-e034-47d3-9904-3ec1331babed". !ENTRY com.sap.ip.bi.web.runtime 4 0 2014-04-24 15:51:31.895 !MESSAGE Details of critical error in BI application added to log with ID "e8330a42-e034-47d3-9904-3ec1331babed". See SAP Notes 937697 and 948490.