Title: bindingsEngine.containsKey throws Exception when key is not found · Issue #7 · scijava/scripting-clojure · GitHub
Open Graph Title: bindingsEngine.containsKey throws Exception when key is not found · Issue #7 · scijava/scripting-clojure
X Title: bindingsEngine.containsKey throws Exception when key is not found · Issue #7 · scijava/scripting-clojure
Description: If no variable called ten is defined, the following Scala code throws java.lang.NullPointerException: new ScriptEngineManager() .getEngineByName("clojure") .getContext .getBindings(ScriptContext.ENGINE_SCOPE) .containsKey("ten") Similar ...
Open Graph Description: If no variable called ten is defined, the following Scala code throws java.lang.NullPointerException: new ScriptEngineManager() .getEngineByName("clojure") .getContext .getBindings(ScriptContext.EN...
X Description: If no variable called ten is defined, the following Scala code throws java.lang.NullPointerException: new ScriptEngineManager() .getEngineByName("clojure") .getContext .getBindings(Script...
Opengraph URL: https://github.com/scijava/scripting-clojure/issues/7
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bindingsEngine.containsKey throws Exception when key is not found","articleBody":"If no variable called `ten` is defined, the following Scala code throws `java.lang.NullPointerException`:\r\n```\r\nnew ScriptEngineManager()\r\n .getEngineByName(\"clojure\")\r\n .getContext\r\n .getBindings(ScriptContext.ENGINE_SCOPE)\r\n .containsKey(\"ten\")\r\n```\r\n\r\nSimilar code works for `scripting-scala`. However, this bug can is also present for `scripting-java`","author":{"url":"https://github.com/mslinn","@type":"Person","name":"mslinn"},"datePublished":"2017-12-05T04:06:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/7/scripting-clojure/issues/7"}
| 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:0b007c37-d2ef-3052-e674-6354113d642a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFBE:32E262:26D0DAE:343BCE0:69706CB0 |
| html-safe-nonce | 9bae83d78700ab1d0ef23f5f3bc490ab6121a544dcbf83e119d2b3d0e1f6c046 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkJFOjMyRTI2MjoyNkQwREFFOjM0M0JDRTA6Njk3MDZDQjAiLCJ2aXNpdG9yX2lkIjoiMzUxOTI1OTI5MzE2MjQzMzcxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a193f6a38bf9910dbbf8d2160a462f7c7a90a4f28f936a3e116e0c6b12f45cd7 |
| hovercard-subject-tag | issue:279239033 |
| 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/scijava/scripting-clojure/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/085d833f3d08f6c4faaca7ffe7649f6d813d9fcb095c6fe3e8854c0028b415a1/scijava/scripting-clojure/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/085d833f3d08f6c4faaca7ffe7649f6d813d9fcb095c6fe3e8854c0028b415a1/scijava/scripting-clojure/issues/7 |
| og:image:alt | If no variable called ten is defined, the following Scala code throws java.lang.NullPointerException: new ScriptEngineManager() .getEngineByName("clojure") .getContext .getBindings(ScriptContext.EN... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mslinn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scripting-clojure git https://github.com/scijava/scripting-clojure.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 19124509 |
| octolytics-dimension-repository_nwo | scijava/scripting-clojure |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19124509 |
| octolytics-dimension-repository_network_root_nwo | scijava/scripting-clojure |
| 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 | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width