Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

an error happens when browsing data #184

Closed
Jan-Marcek opened this issue Sep 23, 2014 · 3 comments
Closed

an error happens when browsing data #184

Jan-Marcek opened this issue Sep 23, 2014 · 3 comments

Comments

@Jan-Marcek
Copy link

  1. open https://cuni-test1.comsode.eea.sk/unifiedviews/#!ExecutionList/exec=1739
  2. choose browse/query
  3. pick up SKOS Concept - linker to skos:broader concepts temp...
  4. select dataunit: Input
  5. write query
prefix skos:     <http://www.w3.org/2004/02/skos/core#> 
SELECT ?s ?p ?o WHERE {?s  skos:prefLabel ?o} LIMIT 1000
2014-09-23 09:51:49,052 [http-bio-8080-exec-5] ERROR cz.cuni.mff.xrg.odcs.frontend.AppEntry - Uncaught exception
java.lang.NullPointerException: null
        at cz.cuni.mff.xrg.odcs.frontend.gui.components.RDFQueryView$4.getStyle(RDFQueryView.java:216) ~[RDFQueryView$4.class:na]
        at com.vaadin.ui.CustomTable.paintRow(CustomTable.java:3818) ~[filteringtable-0.9.4.v7.jar:7.1.8]
        at com.vaadin.ui.CustomTable.paintRows(CustomTable.java:3646) ~[filteringtable-0.9.4.v7.jar:7.1.8]
        at com.vaadin.ui.CustomTable.doPaintContent(CustomTable.java:3234) ~[filteringtable-0.9.4.v7.jar:7.1.8]
        at com.vaadin.ui.CustomTable.paintContent(CustomTable.java:3203) ~[filteringtable-0.9.4.v7.jar:7.1.8]
        at org.tepi.filtertable.FilterTable.paintContent(FilterTable.java:69) ~[filteringtable-0.9.4.v7.jar:0.9.4.v7]
        at com.vaadin.server.LegacyPaint.paint(LegacyPaint.java:65) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.communication.LegacyUidlWriter.write(LegacyUidlWriter.java:81) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.communication.UidlWriter.write(UidlWriter.java:106) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.communication.UidlRequestHandler.writeUidl(UidlRequestHandler.java:149) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:97) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:37) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1371) ~[vaadin-server-7.1.8.jar:7.1.8]
        at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:238) [vaadin-server-7.1.8.jar:7.1.8]
        at cz.cuni.mff.xrg.odcs.frontend.ODCSApplicationServlet.service(ODCSApplicationServlet.java:79) [ODCSApplicationServlet.class:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [tomcat-servlet-api-3.0.jar:na]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [tomcat-catalina-7.0.28.jar:7.0.28]
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) [tomcat-coyote-7.0.28.jar:7.0.28]
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) [tomcat-coyote-7.0.28.jar:7.0.28]
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [tomcat-coyote-7.0.28.jar:7.0.28]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65]
@Jan-Marcek
Copy link
Author

relates to #148

@skodapetr
Copy link
Member

Query looks invalid to me as ?p is not specified. However UV should rather show error about bad query then NullPointerException.

@mvi-eea-sk
Copy link

unable to simulate, probably was fixed in previous commits. Now it correctly shows Error:
"Query validator Query is not valid: QName 'skos:prefLabel' uses an undefined prefix"

@skrchnavy skrchnavy added this to the Release 1.4.0 milestone Oct 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants