Mittwoch, 19. Januar 2011

iPhone Maps: 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named MKMapView'

*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named MKMapView'


Solution:

in XCode - 
1 . press ctrl on the keyboard + click "Frameworks" folder under "Groups & Files" 
2. Add -> Existing Frameworks...
3. Select MapKit.framework and click Add


Montag, 17. Januar 2011

ERROR [main] 2011-01-14 15:37:49,965 DatabaseDescriptor.java (line 388) Fatal error: null; mapping values are not allowed here

When starting cassandra

ERROR [main] 2011-01-14 15:37:49,965 DatabaseDescriptor.java (line 388) Fatal error: null; mapping values are not allowed here


Solution:
This means you have a problem with the configuration file(cassandra.yaml). make sure the changes you have made to the file are correct

org.apache.cassandra.config.ConfigurationException: Saved cluster name X != configured name Test Cluster

Cassandra refuses to start:
org.apache.cassandra.config.ConfigurationException: Saved cluster name X != configured name Test Cluster

Explanation:
this means, "cluster_name" value in you cassandra configuration fille(Ubuntu: /etc/cassandra/cassandra.yaml) does not match the cluster name found in the data files..

Solution:
1. change the value of cluster_name in cassandra.yaml to fit the cluster name found in your data directory

2. OR delete all files in your data directory (Ubunut: /var/lib/cassandra/data/)... YOU WILL LOSE ALL data stored in cassandra!