Actions
Bug #12463
openAPIForNG. Ошибка при вызове метода 24. Генерации отчета
Start date:
06/13/2023
Due date:
% Done:
100%
Estimated time:
Detected in build:
1.4.794
Platform:
Published in build:
1.4.795
Description
24. Вызов генерации отчета
Method POST
Path http://localhost:9988/projects/{project}/reportSettings/{r}/generate {r}-uuid настроек генерации
При вызове метода в версии 1.4.794:
POST http://127.0.0.1:9988/projects/example_project/reportSettings/a8700931-105f-465f-adc2-86a82e4988a9/generate HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: application/json Content-Length: 0 Host: 127.0.0.1:9988 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.5 (Java/12.0.1)
возвращается ошибка:
HTTP/1.1 500 Internal Server Error Date: Tue, 13 Jun 2023 13:37:06 GMT Content-Type: application/json Transfer-Encoding: chunked Server: Jetty(9.4.50.v20221201) { "success" : false, "error" : { "code" : "class com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler cannot be cast to class com.unitesk.requality.core.operation.GenerateReportHandler (com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler and com.unitesk.requality.core.operation.GenerateReportHandler are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @6e7fa4b0)", "message" : "java.lang.ClassCastException: class com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler cannot be cast to class com.unitesk.requality.core.operation.GenerateReportHandler (com.unitesk.requality.eclipse.handlers.report.GenerateReportHandler and com.unitesk.requality.core.operation.GenerateReportHandler are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @6e7fa4b0)\r\n\tat com.unitesk.requality.api.services.report.ReportSettingsService.httpGen(ReportSettingsService.java:261)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\r\n\tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:568)\r\n\tat org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)\r\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:134)\r\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:177)\r\n\tat org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)\r\n\tat org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:81)\r\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:478)\r\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:400)\r\n\tat org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:81)\r\n\tat org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)\r\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)\r\n\tat org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)\r\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:292)\r\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:274)\r\n\tat org.glassfish.jersey.internal.Errors.process(Errors.java:244)\r\n\tat org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)\r\n\tat org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)\r\n\tat org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:684)\r\n\tat org.glassfish.jersey.jetty.JettyHttpContainer.handle(JettyHttpContainer.java:175)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:516)\r\n\tat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)\r\n\tat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)\r\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)\r\n\tat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)\r\n\tat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)\r\n\tat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)\r\n\tat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)\r\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)\r\n\tat java.base/java.lang.Thread.run(Thread.java:833)\r\n", "extra" : { } } }
Updated by Denis Kildishev over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset req-ws|bc70d937552a34744bb548c2a5543b5472e1a6ec.
Updated by Denis Kildishev over 1 year ago
- Detected in build changed from git to 1.4.794
Actions