{"action":"created","issue":{"url":"https://api.github.com/repos/SAP/openui5/issues/518","labels_url":"https://api.github.com/repos/SAP/openui5/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/SAP/openui5/issues/518/comments","events_url":"https://api.github.com/repos/SAP/openui5/issues/518/events","html_url":"https://github.com/SAP/openui5/issues/518","id":94300611,"number":518,"title":"Testsuite does not work on wildfly because DiscoveryServlet casts non File to File","user":{"login":"ManuelB","id":457641,"avatar_url":"https://avatars.githubusercontent.com/u/457641?v=3","gravatar_id":"","url":"https://api.github.com/users/ManuelB","html_url":"https://github.com/ManuelB","followers_url":"https://api.github.com/users/ManuelB/followers","following_url":"https://api.github.com/users/ManuelB/following{/other_user}","gists_url":"https://api.github.com/users/ManuelB/gists{/gist_id}","starred_url":"https://api.github.com/users/ManuelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManuelB/subscriptions","organizations_url":"https://api.github.com/users/ManuelB/orgs","repos_url":"https://api.github.com/users/ManuelB/repos","events_url":"https://api.github.com/users/ManuelB/events{/privacy}","received_events_url":"https://api.github.com/users/ManuelB/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SAP/openui5/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SAP/openui5/labels/enhancement","name":"enhancement","color":"0000ff"}],"state":"open","locked":false,"assignee":{"login":"petermuessig","id":1589419,"avatar_url":"https://avatars.githubusercontent.com/u/1589419?v=3","gravatar_id":"","url":"https://api.github.com/users/petermuessig","html_url":"https://github.com/petermuessig","followers_url":"https://api.github.com/users/petermuessig/followers","following_url":"https://api.github.com/users/petermuessig/following{/other_user}","gists_url":"https://api.github.com/users/petermuessig/gists{/gist_id}","starred_url":"https://api.github.com/users/petermuessig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermuessig/subscriptions","organizations_url":"https://api.github.com/users/petermuessig/orgs","repos_url":"https://api.github.com/users/petermuessig/repos","events_url":"https://api.github.com/users/petermuessig/events{/privacy}","received_events_url":"https://api.github.com/users/petermuessig/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-07-10T12:50:09Z","updated_at":"2015-07-14T21:36:07Z","closed_at":null,"body":"```\r\n14:46:58,960 ERROR [io.undertow.request] (default task-29) UT005023: Exception handling request to /testsuite/discovery/app_pages: java.lang.ClassCastException: org.jboss.vfs.VirtualFile cannot be cast to java.io.File\r\n\tat com.sap.openui5.DiscoveryServlet.listClasspathResources(DiscoveryServlet.java:243) [testsuite-utils-1.30.2.jar:]\r\n\tat com.sap.openui5.DiscoveryServlet.init(DiscoveryServlet.java:94) [testsuite-utils-1.30.2.jar:]\r\n\tat javax.servlet.GenericServlet.init(GenericServlet.java:244) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]\r\n\tat io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:79)\r\n\tat io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:220) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:163) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:84) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat com.sap.openui5.CORSFilter.doFilter(CORSFilter.java:64) [testsuite-utils-1.30.2.jar:]\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat com.sap.openui5.CacheControlFilter.doFilter(CacheControlFilter.java:55) [testsuite-utils-1.30.2.jar:]\r\n\tat io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:63) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]\r\n\tat java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]\r\n```"},"comment":{"url":"https://api.github.com/repos/SAP/openui5/issues/comments/121397992","html_url":"https://github.com/SAP/openui5/issues/518#issuecomment-121397992","issue_url":"https://api.github.com/repos/SAP/openui5/issues/518","id":121397992,"user":{"login":"ManuelB","id":457641,"avatar_url":"https://avatars.githubusercontent.com/u/457641?v=3","gravatar_id":"","url":"https://api.github.com/users/ManuelB","html_url":"https://github.com/ManuelB","followers_url":"https://api.github.com/users/ManuelB/followers","following_url":"https://api.github.com/users/ManuelB/following{/other_user}","gists_url":"https://api.github.com/users/ManuelB/gists{/gist_id}","starred_url":"https://api.github.com/users/ManuelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManuelB/subscriptions","organizations_url":"https://api.github.com/users/ManuelB/orgs","repos_url":"https://api.github.com/users/ManuelB/repos","events_url":"https://api.github.com/users/ManuelB/events{/privacy}","received_events_url":"https://api.github.com/users/ManuelB/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T21:36:07Z","updated_at":"2015-07-14T21:36:07Z","body":"Hi Peter,\r\nfrom an architecture perspective I would recommend to remove the whole need for a full blown java ee server with a web profile for testing a javascript client framework instead of implementing adapters for the different servers.\r\n\r\nCurrently I don't have the necessary time to make the test suite working without a server but being able to start the test suite with the cargo plugin would help me a lot.\r\n\r\n/Manuel"}}