我试图重新启动SonarQube并遇到QProfile的问题但是我不知道如何解决这个问题。
2015.07.06 12:50:31 ERROR [o.s.s.p.PlatformServletContextListener] Fail to start server
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database. Cause: java.lang.NullPointerException: QProfile is missing
### The error may exist in org.sonar.core.qualityprofile.db.ActiveRuleMapper
### The error may involve org.sonar.core.qualityprofile.db.ActiveRuleMapper.selectAllKeysAfterTimestamp-Inline
### The error occurred while setting parameters
### SQL: SELECT r.plugin_rule_key as "rulefield", r.plugin_name as "repository", qp.kee as "profileKey" FROM active_rules a LEFT JOIN rules_profiles qp ON qp.id=a.profile_id LEFT JOIN rules r ON r.id = a.rule_id WHERE a.updated_at IS NULL or a.updated_at >= ?
### Cause: java.lang.NullPointerException: QProfile is missing