Just increase the maximum heap size of the compiler(Setting->Compiler->Java Compiler) That should solve it.
Posts Tagged ‘bug fixes’
Intellij Idea – Compiler internal error. Process terminated with exit code 3
Posted in Java, Weird Errors, tagged bug fixes, Java on May 16, 2012 | Leave a Comment »
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.
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
Rails UTF-8 problem [utf 8 chars are not showing up properly -Rails 2.3.2 ]
Posted in Ruby on Rails, Weird Errors, tagged bug fixes, Ruby on Rails on August 12, 2009 | Leave a Comment »
Faced this isuue after upgrading to Rails-2. Removing “encoding: utf8″ from database.yml fixed the problem. Don’t know the exact reason. May be included with the rails core?. Suggestions welcome.
load_missing_constant’: uninitialized constant ActionController::AbstractRequest (NameError) [Mongrel - Ruby on Rails]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, installations, Ruby on Rails on August 5, 2009 | Leave a Comment »
The –prefic option in mongrel configuration causes this error. Go to RAILS_APP/config/mogrel_cluster.yml and remove the “prefix” option If you are having problem in starting the server, without “–prefix” option. Pls refer the workaroung suggested. (http://www.nabble.com/Problem-when-migrating-from-rails-2.2.2-to-rails-2.3.2-on-linux–SLES10-%2B-apache-2-td22961256.html) Copy this file in my_rails_app/config/initializers : abstract_request.rb module ActionController class AbstractRequest < ActionController::Request def self.relative_url_root=(path) ActionController::Base.relative_url_root=(path) end def self.relative_url_root ActionController::Base.relative_url_root [...]
`require_frameworks’: no such file to load — openssl (RuntimeError) [Ruby on Rails]
Posted in installations, Ruby on Rails, Weird Errors, tagged bug fixes, installations, Ruby on Rails on July 28, 2009 | 2 Comments »
If you face an error like this; /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:269:in `require_frameworks’: no such file to load — openssl (RuntimeError) from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:134:in `process’ Follow these steps: 1. yum install openssl 2. yum install openssl-devel 3. cd /ruby_install_dir/ext/openssl 4. ruby extconf.rb 5. make 6. make install