Title: Realtime reporter produces no output · Issue #985 · utPLSQL/utPLSQL · GitHub
Open Graph Title: Realtime reporter produces no output · Issue #985 · utPLSQL/utPLSQL
X Title: Realtime reporter produces no output · Issue #985 · utPLSQL/utPLSQL
Description: Describe the bug Running the realtime reporter from the SQL Developer extension produces sometimes no output due to a ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) violated Provide version info 19.0.0.0.0...
Open Graph Description: Describe the bug Running the realtime reporter from the SQL Developer extension produces sometimes no output due to a ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) ...
X Description: Describe the bug Running the realtime reporter from the SQL Developer extension produces sometimes no output due to a ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) ...
Opengraph URL: https://github.com/utPLSQL/utPLSQL/issues/985
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Realtime reporter produces no output","articleBody":"**Describe the bug**\r\n\r\nRunning the realtime reporter from the SQL Developer extension produces sometimes no output due to a `ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) violated`\r\n\r\n**Provide version info**\r\n\r\n```\r\n19.0.0.0.0\r\n19.0.0\r\n\r\n\r\nPL/SQL procedure successfully completed.\r\n\r\n\r\nUT_VERSION \r\n------------------------------------------------------------\r\nv3.1.8.3169-develop\r\n\r\n\r\nBANNER BANNER_FULL BANNER_LEGACY CON_ID\r\n-------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ----------\r\nOracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production 0\r\n Version 19.4.0.0.0 \r\n\r\n\r\n\r\nPARAMETER VALUE \r\n------------------------------ ----------------------------------------------------------------\r\nNLS_LANGUAGE ENGLISH \r\nNLS_TERRITORY SWITZERLAND \r\nNLS_CURRENCY SFr. \r\nNLS_ISO_CURRENCY SWITZERLAND \r\nNLS_NUMERIC_CHARACTERS .' \r\nNLS_CALENDAR GREGORIAN \r\nNLS_DATE_FORMAT DD.MM.YYYY HH24:MI:SS \r\nNLS_DATE_LANGUAGE ENGLISH \r\nNLS_SORT BINARY \r\nNLS_TIME_FORMAT HH24:MI:SSXFF \r\nNLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF \r\n\r\nPARAMETER VALUE \r\n------------------------------ ----------------------------------------------------------------\r\nNLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR \r\nNLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR \r\nNLS_DUAL_CURRENCY SF \r\nNLS_COMP BINARY \r\nNLS_LENGTH_SEMANTICS BYTE \r\nNLS_NCHAR_CONV_EXCP FALSE \r\n\r\n17 rows selected. \r\n\r\n\r\nPORT_STRING \r\n------------------------------------------------------------\r\nx86_64/Linux 2.4.xx\r\n```\r\n\r\n**Information about client software**\r\n\r\nutPLSQL for SQL Developer 1.0.0 (or current development version)\r\n\r\n**To Reproduce**\r\n\r\n1. Run a small test in SQL Developer's realtime reporter\r\n2. Rerun test\r\n3. Repeat step 2 until the test is not executed anmore, you get an `initializing...` message for \r\n\r\nIn the SQL Developer logs I find the following:\r\n\r\n```\r\n2019-07-28 11:00:51 SEVERE org.utplsql.sqldev.runner.UtplsqlRunner: Error while producing events for reporter id 1c8f3d5e77a64bbdb523d52c91c47e72: PreparedStatementCallback; SQL [DECLARE\r\n l_reporter ut_realtime_reporter := ut_realtime_reporter();\r\nBEGIN\r\n l_reporter.set_reporter_id(?);\r\n l_reporter.output_buffer.init();\r\n sys.dbms_output.enable(NULL);\r\n ut_runner.run(\r\n a_paths =\u003e ut_varchar2_list(\r\n 'PLSCOPE.test_dd_util.test_get_view_source'\r\n ),\r\n a_reporters =\u003e ut_reporters(l_reporter)\r\n );\r\n sys.dbms_output.disable;\r\nEND;\r\n]; ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) violated\r\nORA-06512: at \"UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_BASE\", line 32\r\nORA-06512: at \"UT3_LATEST_RELEASE.UT_OUTPUT_REPORTER_BASE\", line 34\r\nORA-06512: at line 4\r\n; nested exception is java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) violated\r\nORA-06512: at \"UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_BASE\", line 32\r\nORA-06512: at \"UT3_LATEST_RELEASE.UT_OUTPUT_REPORTER_BASE\", line 34\r\nORA-06512: at line 4\r\n```\r\nas a consequence of this failure the consumer thread does not find result rows.\r\n\r\n**Expected behavior**\r\n\r\nRepeat test runs without technical issues.\r\n","author":{"url":"https://github.com/PhilippSalvisberg","@type":"Person","name":"PhilippSalvisberg"},"datePublished":"2019-07-28T09:13:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/985/utPLSQL/issues/985"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:954834f4-7018-7f2d-f2b3-92bac2e3037f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE10:115133:62954:886AF:69693C70 |
| html-safe-nonce | f223c783888d9155a2c5c772e74ae68a531b0b49e99689509961854c9a9f41e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTEwOjExNTEzMzo2Mjk1NDo4ODZBRjo2OTY5M0M3MCIsInZpc2l0b3JfaWQiOiIyMzkwNTA5ODQzMDIyMTY3MTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c7828f2ea248f69c199ee9ff60a417e1419f8e1b21abc589c08dddea360aa181 |
| hovercard-subject-tag | issue:473723294 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/utPLSQL/utPLSQL/985/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a6bf3d8b05f4eebd7e921e256480e55a5b0274778c63fffafb25173fd38e4a17/utPLSQL/utPLSQL/issues/985 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a6bf3d8b05f4eebd7e921e256480e55a5b0274778c63fffafb25173fd38e4a17/utPLSQL/utPLSQL/issues/985 |
| og:image:alt | Describe the bug Running the realtime reporter from the SQL Developer extension produces sometimes no output due to a ORA-00001: unique constraint (UT3_LATEST_RELEASE.UT_OUTPUT_BUFFER_INFO_TMP_PK) ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PhilippSalvisberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL git https://github.com/utPLSQL/utPLSQL.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 50728220 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50728220 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width