javax.ws.rs.ProcessingException: HTTP 500 Internal Server Error

GitHub | tmatveyeva | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. javax.ws.rs.InternalServerErrorException

    HTTP 500 Internal Server Error

    at org.glassfish.jersey.jaxb.internal.AbstractRootElementJaxbProvider.writeTo()
  2. org.glassfish.jersey
    AbstractRootElementJaxbProvider.writeTo
    1. org.glassfish.jersey.jaxb.internal.AbstractRootElementJaxbProvider.writeTo(AbstractRootElementJaxbProvider.java:182)
    1 frame
  3. Jersey Core
    MessageBodyFactory.writeTo
    1. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
    2. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
    3. org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
    4. org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:311)
    5. org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
    6. org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
    6 frames
  4. jersey-core-client
    JerseyInvocation$1.call
    1. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:502)
    2. org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:388)
    3. org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
    4. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
    5. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
    6. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
    6 frames
  5. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
    2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
    4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
    4 frames
  6. jersey-core-client
    JerseyInvocation$Builder.post
    1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
    2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:437)
    3. org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:343)
    3 frames
  7. com.jaspersoft.jasperserver
    VDSUsageTest.test_importExportNoReferencedVDS_verifyUpdated
    1. com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.executeRequest(JerseyRequest.java:185)
    2. com.jaspersoft.jasperserver.jaxrs.client.core.JerseyRequest.post(JerseyRequest.java:155)
    3. com.jaspersoft.jasperserver.jaxrs.client.apiadapters.importexport.exportservice.ExportTaskAdapter.create(ExportTaskAdapter.java:121)
    4. com.jaspersoft.jasperserver.qa.common.helpers.ImportExportService.export(ImportExportService.java:136)
    5. com.jaspersoft.jasperserver.qa.tests.resourcewizard.VDSUsageTest.test_importExportNoReferencedVDS_verifyUpdated(VDSUsageTest.java:929)
    5 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  9. TestNG
    MethodInvocationHelper$1.runTestMethod
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200)
    2 frames
  10. Spring TestContext
    AbstractTestNGSpringContextTests.run
    1. org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:175)
    1 frame
  11. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:652)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:845)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1153)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    7. org.testng.TestRunner.privateRun(TestRunner.java:771)
    8. org.testng.TestRunner.run(TestRunner.java:621)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:259)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1199)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1124)
    17. org.testng.TestNG.run(TestNG.java:1032)
    18. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)
    19. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121)
    19 frames
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame