Go to Window/Preferences/Server/Runtime Environments, remove the broken reference. Click ‘Add’ to create a new reference, select the appropriate server version, click next and you’ll see the incorrect path reference. Fix it. All should be OK.
Archive for the ‘Weird Errors’ Category
Eclipse – Cannot create a server using the selected type
Posted in installations, Weird Errors on January 29, 2012 | Leave a Comment »
Eclipse – Server JBoss/Tomcat at localhost was unable to start within .. seconds. If the server requires more time, try increasing the timeout in the server editor
Posted in installations, Weird Errors on January 21, 2012 | Leave a Comment »
Server JBoss/Tomcat at localhost was unable to start within .. seconds. If the server requires more time, try increasing the timeout in the server editor If you find the above error; open eclipse and double click on the server in “server tab”. In the options screen edit the “Timeout field” to the required one.
Sqldeveloper – Unable to launch the Java Virtual Machine – windows 7 – 64 bit machine
Posted in installations, Weird Errors on January 15, 2012 | Leave a Comment »
I got the following error while trying sqldeveloper though I have the jvm.dll file in the required location. All I had to do was to install 32 bit jdk and all went well. Looks like sqldeveloper has issue with 64 bit jdk. ————————— Oracle SQL Developer ————————— Unable to launch the Java Virtual Machine Located [...]
CSV parsing issues – MalformedCSVError, “Unquoted fields do not allow ” + “\\r or \\n
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on September 30, 2011 | Leave a Comment »
Here, you need to consider 2 things. CSV’s auto line ending detection may be failing for some reason. A likely cause could be fields that contain line endings different from those used to end lines. You should be able to solve this by setting the :row_sep manually. CSV.open(…, :row_sep => “\r\n”) If that doesn’t work, [...]
uninitialized constant CSV/FasterCSV
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on September 30, 2011 | Leave a Comment »
Ruby 1.9 has adopted FasterCSV as its built-in CSV library. However, it’s in the standard library rather than Ruby 1.9′s core, so you need to manually require it in the application. After adding a require ‘csv’ to your code, you can then do things such as CSV.parse(“this,is,my,data”) require ‘csv’ CSV.parse(“this,is,my,data”)
FasterCSV plus support for Ruby 1.9 issue fix
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on September 30, 2011 | Leave a Comment »
If you see the beow issue; Please switch to Ruby 1.9′s standard CSV library. It’s FasterCSV plus support for Ruby 1.9′s m17n encoding engine. Remove fasterCSV from your Gemfile in the application. Bundler is trying to require FasterCSV because you have it specified in the Gemfile.
[Rails] ActiveRecord::AssociationTypeMismatch Object expected got String error – Solution
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on September 23, 2011 | Leave a Comment »
If you are using select (or similar helpers such as collection_select, select_tag) to set a belongs_to association you must pass the name of the foreign key (in the example below blog_id), not the name of association itself. If you specify blog instead of blog_id Active Record will raise an error along the lines of ActiveRecord::AssociationTypeMismatch: [...]
[Rails] Undefined method `select_tag’ for ActionView::Helpers::FormBuilder on f.select_tag
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on September 23, 2011 | Leave a Comment »
Try; f.select not f.select_tag That should work.
[FB App] Facebook developer issues – solutions
Posted in Lessons I have learnt, Web apps, Weird Errors on September 15, 2011 | 1 Comment »
At first, if your app is based on FBML, go and update it to iframe based immediately. Because FBML are no longer supported by Facebook. So you should switch your app from canvas to iframe and use graph API function to fetch and display data. Recently people are facing “document.getElementById is null” issue. Also, Ajax/Javascript [...]
uninitialized constant TwitterAuth::BasicUser::ClassMethods::JSON – [Ruby on Rails]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, lessons, Ruby on Rails, tips on August 25, 2009 | Leave a Comment »
Got this issue. No worries. Open up environment.rb and Add; config.gem ‘twitter-auth’, :lib => ‘twitter_auth’ That should fix ur issue