Title: Array index out of bounds error using java-processing in terminal · Issue #2152 · processing/processing · GitHub
Open Graph Title: Array index out of bounds error using java-processing in terminal · Issue #2152 · processing/processing
X Title: Array index out of bounds error using java-processing in terminal · Issue #2152 · processing/processing
Description: Hi, I keep getting the following error whenever I try and run any sketch: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at processing.app.Sketch.getCode(Sketch.java:1374) at processing.mode.java.Commander.statusE...
Open Graph Description: Hi, I keep getting the following error whenever I try and run any sketch: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at processing.app.Sketch.getCode(Sketch.java:1374) a...
X Description: Hi, I keep getting the following error whenever I try and run any sketch: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at processing.app.Sketch.getCode(Sketch.ja...
Opengraph URL: https://github.com/processing/processing/issues/2152
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Array index out of bounds error using java-processing in terminal","articleBody":"Hi,\n\nI keep getting the following error whenever I try and run any sketch:\n\n```\nException in thread \"main\" java.lang.ArrayIndexOutOfBoundsException: 0\n at processing.app.Sketch.getCode(Sketch.java:1374)\n at processing.mode.java.Commander.statusError(Commander.java:319)\n at processing.mode.java.Commander.\u003cinit\u003e(Commander.java:291)\n at processing.mode.java.Commander.main(Commander.java:97)\n[Finished in 2.5s with exit code 1]\n[cmd: ['processing-java', '--sketch=/Users/Hugh/Documents/Software Development/Processing/perception+multimedia+computing/week3lab/1', '--output=/Users/Hugh/Documents/Software Development/Processing/perception+multimedia+computing/week3lab/1/build-tmp', '--run', '--force']]\n[dir: /Users/Hugh/Documents/Software Development/Processing/perception+multimedia+computing/week3lab/1]\n[path: /usr/bin:/bin:/usr/sbin:/sbin]\n```\n\nThis happens when I'm not even using arrays with my code. I made sure it wasn't my code by testing with the following sketch:\n\n``` java\nvoid setup(){\n size(200,200);\n}\nvoid draw(){\n // do nothing\n}\n```\n\nThe weird thing is though, it works sporadically. When I was using it today in class, it worked fine. When I got home though, it started giving me this error.\n\nAny help would be much appreciated. Thanks!\n","author":{"url":"https://github.com/hughrawlinson","@type":"Person","name":"hughrawlinson"},"datePublished":"2013-10-19T01:57:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2152/processing/issues/2152"}
| 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:39e91309-648e-3e24-1b24-fcf9cfd2d56c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 90E4:36AF38:986BAF:C84A85:69801B03 |
| html-safe-nonce | f76ad37e908e859d60d5865d1ee8ef6859c9753ca9655f750478f0cefaf764a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU0OjM2QUYzODo5ODZCQUY6Qzg0QTg1OjY5ODAxQjAzIiwidmlzaXRvcl9pZCI6IjU1NTE1NDk1MzAyODI5MjQ4MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 14c46a6d849ccffd5bb07158b92319644e4bebd7e34006414c182e10cddef1a8 |
| hovercard-subject-tag | issue:21254448 |
| 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/processing/processing/2152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61adacaf072078782848f157c94024d1d42822a1d19d4a64a1ff39b22d3d751f/processing/processing/issues/2152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61adacaf072078782848f157c94024d1d42822a1d19d4a64a1ff39b22d3d751f/processing/processing/issues/2152 |
| og:image:alt | Hi, I keep getting the following error whenever I try and run any sketch: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at processing.app.Sketch.getCode(Sketch.java:1374) a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hughrawlinson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width