[AC-1512] Toggle Comment Not Work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2015-06-01T15:29:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | Ethan Chen |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-06-01T02:30:39.000+0000 |
Updated | 2016-03-08T07:37:57.000+0000 |
Description
I checked my java version:
{noformat}
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
{noformat}
But my Appcelerator Studio still shows up exception when I pressed
⌘+/
:
{noformat}
[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
[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
org.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
at org.jruby.javasupport.JavaUtilities.get_proxy_or_package_under_package(org/jruby/javasupport/JavaUtilities.java:54)
at Module.method_missing(classpath:/jruby/java/java_package_module_template.rb:14)
at RUBY.styled_text(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:237)
at RUBY.caret_offset(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:269)
at RUBY.caret_line(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/71/0/.cp/framework/ruble/editor.rb:258)
at RUBY.offset(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:254)
at RUBY.add(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/lib/comment.rb:230)
at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:56)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:53)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.define_command(/Applications/Appcelerator Studio/configuration/org.eclipse.osgi/116/0/.cp/bundles/source.ruble/commands/toggle_comment.rb:52)
{noformat}
Hi Ethan Chen , Toggle Comment is working fine on my Appcelerator Studio, build: 4.0.0.201505202026. Please Try to reinstall Appcelerator Studio. 1. [Download Appcelerator Studio](https://web.appcelerator.com/product/studio) 2. [Download Appcelerator CLI](https://web.appcelerator.com/product/cli) *My Test Environment*
Thanks
Still not working, same exception {noformat} Operating System Name = Mac OS X Version = 10.10.3 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.10.33 npm Version = 2.1.9 Titanium CLI CLI Version = 4.0.0 Titanium SDK SDK Version = 4.0.0.GA SDK Path = /Users/
After I reinstall the studio again without subversion plugin (yes, it's gone...), the problem is still there.
After I uninstall my Appcelerator Studio, reinstall node, create a pure test project, and I see the problem is still there. {noformat} Operating System Name = Mac OS X Version = 10.10.3 Architecture = 64bit # CPUs = 4 Memory = 8589934592 Node.js Node.js Version = 0.10.33 => 0.10.37 npm Version = 2.1.9 => 1.4.28 Titanium CLI CLI Version = 4.0.0 Titanium SDK SDK Version = 4.0.0.GA SDK Path = /Users/
I update my Titanium CLI to 4.0.1, the problem is still there.