{ "id": "148360", "key": "AC-1512", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-06-01T15:29:54.000+0000", "created": "2015-06-01T02:30:39.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:57.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "I checked my java version:\r\n{noformat}\r\njava version \"1.8.0_45\"\r\nJava(TM) SE Runtime Environment (build 1.8.0_45-b14)\r\nJava HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)\r\n{noformat}\r\n\r\nBut my Appcelerator Studio still shows up exception when I pressed {{⌘+/}}:\r\n{noformat}\r\n[2015-06-01 10:11:00] An error occurred while building environment variables for the 'editor' context property in the 'Comment Line / Selection' command (/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb): (NameError) missing class or uppercase package name (`org.eclipse.swt.widgets.Control'), caused by (NameError) cannot load Java class org.eclipse.swt.widgets.Control\r\n[2015-06-01 10:11:06] An error occurred while processing the invoke block for the command Comment Line / Selection in /Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb: (NameError) missing class or uppercase package name (`org.eclipse.swt.widgets.Control'), caused by (NameError) cannot load Java class org.eclipse.swt.widgets.Control\r\norg.jruby.exceptions.RaiseException: (NameError) missing class or uppercase package name (`org.eclipse.swt.widgets.Control'), caused by (NameError) cannot load Java class org.eclipse.swt.widgets.Control\r\n\tat org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54)\r\n\tat Module.method_missing(classpath:/jruby/java/java_package_module_template.rb:14)\r\n\tat RUBY.styled_text(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:237)\r\n\tat RUBY.caret_offset(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:269)\r\n\tat RUBY.caret_line(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:258)\r\n\tat RUBY.offset(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:254)\r\n\tat RUBY.add(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:230)\r\n\tat RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56)\r\n\tat org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)\r\n\tat RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53)\r\n\tat org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)\r\n\tat RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52)\r\n{noformat}", "attachment": [], "flagged": false, "summary": "Toggle Comment Not Work", "creator": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "subtasks": [], "reporter": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "environment": "Appcelerator Studio build 4.0.0.201505202026\r\nTitanium SDK 4.0.0.GA\r\nTitanium CLI 4.0.0\r\nMac OS X Yosemite 10.10.3\r\nJava SDK 1.8.0_45\r\n\r\n\r\n", "comment": { "comments": [ { "id": "353950", "author": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hi Ethan Chen ,\r\n\r\nToggle Comment is working fine on my Appcelerator Studio, build: 4.0.0.201505202026. \r\nPlease Try to reinstall Appcelerator Studio. \r\n\r\n1. [Download Appcelerator Studio|https://web.appcelerator.com/product/studio]\r\n2. [Download Appcelerator CLI|https://web.appcelerator.com/product/cli]\r\n\r\n\r\n*My Test Environment*\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.37\r\n npm Version = 1.4.28\r\nTitanium CLI\r\n CLI Version = 4.0.1\r\nTitanium SDK\r\n SDK Version = 4.0.0.GA\r\n SDK Path = /Users/Titanium/mobilesdk/osx/4.0.0.GA\r\n Target Platform = android\r\n{code}\r\n\r\nThanks ", "updateAuthor": { "name": "hmrida", "key": "hmrida", "displayName": "Harish Mridha", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-06-01T06:01:58.000+0000", "updated": "2015-06-01T06:01:58.000+0000" }, { "id": "353959", "author": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "body": "Still not working, same exception\r\n\r\n{noformat}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.33\r\n npm Version = 2.1.9\r\nTitanium CLI\r\n CLI Version = 4.0.0\r\nTitanium SDK\r\n SDK Version = 4.0.0.GA\r\n SDK Path = /Users//Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA\r\n{noformat}", "updateAuthor": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "created": "2015-06-01T08:50:05.000+0000", "updated": "2015-06-01T08:50:05.000+0000" }, { "id": "353961", "author": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "body": "After I reinstall the studio again without subversion plugin (yes, it's gone...),\r\nthe problem is still there.", "updateAuthor": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "created": "2015-06-01T09:02:16.000+0000", "updated": "2015-06-01T09:02:16.000+0000" }, { "id": "353963", "author": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "body": "After I uninstall my Appcelerator Studio, reinstall node, create a pure test project,\r\nand I see the problem is still there.\r\n\r\n{noformat}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.33 => 0.10.37\r\n npm Version = 2.1.9 => 1.4.28\r\nTitanium CLI\r\n CLI Version = 4.0.0\r\nTitanium SDK\r\n SDK Version = 4.0.0.GA\r\n SDK Path = /Users//Library/Application Support/Titanium/mobilesdk/osx/4.0.0.GA\r\n{noformat}", "updateAuthor": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "created": "2015-06-01T09:22:06.000+0000", "updated": "2015-06-01T09:22:06.000+0000" }, { "id": "353964", "author": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "body": "I update my Titanium CLI to 4.0.1, the problem is still there.", "updateAuthor": { "name": "ethancfchen", "key": "ethancfchen", "displayName": "Ethan Chen", "active": true, "timeZone": "Asia/Taipei" }, "created": "2015-06-01T09:32:36.000+0000", "updated": "2015-06-01T09:32:36.000+0000" }, { "id": "353977", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-06-01T15:29:54.000+0000", "updated": "2015-06-01T15:29:54.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }