Title: InvocationTargetException for constructors with UtMock.assume() and Fuzzing on · Issue #1117 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: InvocationTargetException for constructors with UtMock.assume() and Fuzzing on · Issue #1117 · UnitTestBot/UTBotJava
X Title: InvocationTargetException for constructors with UtMock.assume() and Fuzzing on · Issue #1117 · UnitTestBot/UTBotJava
Description: Description InvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea Install release 2022.10 build Find utbot-sample/src/main/java/org/...
Open Graph Description: Description InvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea Install release 2022.10 bu...
X Description: Description InvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea Install release 20...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1117
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"InvocationTargetException for constructors with UtMock.assume() and Fuzzing on","articleBody":"**Description**\r\n\r\nInvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on.\r\n\r\n**To Reproduce**\r\n\r\n1. Run the 'UTBotJava' project in IntelliJ Idea \r\n2. Install release 2022.10 build\r\n3. Find utbot-sample/src/main/java/org/utbot/examples/make/symbolic/ClassWithComplicatedMethods.java\r\n4. Use plugin to generate tests for sqrt2()\r\n5. Open the generated test\r\n\r\n**Expected behavior**\r\n\r\n Tests are supposed to be generated.\r\n\r\n**Actual behavior**\r\n\r\nAn error test is generated with information about errors in the concrete executor.\r\nInvocationTargetException is present in Concrete Executor logs.\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n~~~java\r\n ///region Errors report for sqrt2\r\n\r\n public void testSqrt2_errors() {\r\n // Couldn't generate some tests. List of errors:\r\n // \r\n // 83 occurrences of:\r\n // Default concrete execution failed\r\n\r\n }\r\n ///endregion\r\n~~~\r\n\r\n**Environment**\r\n\r\nWindows 10 Pro\r\nIntelliJ IDEA 2022.1.4\r\n\r\n**Additional context**\r\n\r\nReproducing on Release 2022.10 (branch unit-test-bot/rc2992022) and on latest main\r\n\r\n_Originally posted by @alisevych in https://github.com/UnitTestBot/UTBotJava/issues/1102#issuecomment-1269990058_\r\n","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2022-10-07T14:10:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1117/UTBotJava/issues/1117"}
| 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:0f305de5-38a1-4248-80eb-dc78ebc24d17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDC0:136205:F14BA5:14C71DE:698DA4DE |
| html-safe-nonce | 879ae66fd57a3d971cabadcf8c08b821cf1561fdc54198e332eb0a0827ccc05d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREMwOjEzNjIwNTpGMTRCQTU6MTRDNzFERTo2OThEQTRERSIsInZpc2l0b3JfaWQiOiIxMTQxMjUzNDgwMzkzODQzOTM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dbeab05975802914d613fb1062bba9b6c318483b8bbf082ee2e25ff6581f49d0 |
| hovercard-subject-tag | issue:1401243921 |
| 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/UnitTestBot/UTBotJava/1117/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cbbab22d94d35aef304a3a6598290a06767d5438669409588dee5b79b2774b0/UnitTestBot/UTBotJava/issues/1117 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cbbab22d94d35aef304a3a6598290a06767d5438669409588dee5b79b2774b0/UnitTestBot/UTBotJava/issues/1117 |
| og:image:alt | Description InvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea Install release 2022.10 bu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alisevych |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| 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 | 0562b88b05bab6c9b1cf780b4a66b9334b3a602a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width