Exception (java.lang.IllegalArgumentException) encountered during startup: Unknown CF b4a136b0-1e84-11e7-a3cb-f5a2feb33aff - cassandra

While starting Cassandra I ran into the following error:
Exception (java.lang.IllegalArgumentException) encountered during startup: Unknown CF b4a136b0-1e84-11e7-a3cb-f5a2feb33aff
java.lang.IllegalArgumentException: Unknown CF b4a136b0-1e84-11e7-a3cb-f5a2feb33aff
I searched a lot but couldn't find any fruitful solution other than to drop the data.

Related

Getting error java.lang.IllegalArgumentException: when running feature file

When I am running my feature file i am getting the below error:-
Exception in thread "main" java.lang.IllegalArgumentException: path must exist: C:\Users\bajaj\eclipse-workspace\cucumberpractices\src\test\java\AppFeatures\Search.Feature
Please find attached screenshot of feature file and step definition file
Error came because it was taking incorrect feature file

cassandra not working on ubuntu 18.04 LTS

I followed instruction for installing cassandra:
http://cassandra.apache.org/doc/latest/getting_started/installing.html
then i checked for cassandra service and it is active but when i try nodetool status it throws following error:
error: null
-- StackTrace --
java.lang.NullPointerException
at org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1955)
at org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:82)
at org.apache.cassandra.io.util.FileUtils.(FileUtils.java:80)
at org.apache.cassandra.utils.FBUtilities.getToolsOutputDirectory(FBUtilities.java:869)
at org.apache.cassandra.tools.NodeTool.printHistory(NodeTool.java:200)
at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:168)
moreover when i run cqlsh 127.0.0.1:9042 it throws this:
error: null
-- StackTrace --
java.lang.NullPointerException
at org.apache.cassandra.config.DatabaseDescriptor.getDiskFailurePolicy(DatabaseDescriptor.java:1955)
at org.apache.cassandra.utils.JVMStabilityInspector.inspectThrowable(JVMStabilityInspector.java:82)
at org.apache.cassandra.io.util.FileUtils.(FileUtils.java:80)
at org.apache.cassandra.utils.FBUtilities.getToolsOutputDirectory(FBUtilities.java:869)
at org.apache.cassandra.tools.NodeTool.printHistory(NodeTool.java:200)
at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:168)

CassandraDaemon.java:709 - Exception encountered during startup java.lang.IllegalArgumentException: Unknown CF

We have a 15 node cassandra setup across 3 DC's.
Using cassandra 3.0.9
One of the nodes in one of our DCs has died with the below startup error
CassandraDaemon.java:709 - Exception encountered during startup
java.lang.IllegalArgumentException: Unknown CF 111111-111111111-11111111
What we have tried -
Bootstrap replacing the node -https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/operations/opsReplaceNode.html
This works for a while and then the bootstrap process hangs with the SAME error in the logs -
CassandraDaemon.java:709 - Exception encountered during startup
java.lang.IllegalArgumentException: Unknown CF
Provision a new blank node,
https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/operations/opsAddNodeToCluster.html
and try to join this to the cluster (with the intention of removing the dead node after). It refuses to start, with the same error.
has anyone ever ran across this before?

Liferay Build Services failed

I've created a configuration for the Liferay Service Builder. After this I tried to build services, but I received the following error:
Buildfile: C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\guestbook-portlet\build.xml
BUILD FAILED
C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\guestbook-portlet\build.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\portlets\build-common-portlet.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-plugin.xml:5: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common.xml:60: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-ivy.xml:71: The following error occurred while executing this line:
C:\LiferayNew\liferay-plugins-sdk-6.2\build-common-ivy.xml:55: java.net.MalformedURLException: no protocol: ${ivy.jar.url}
Total time: 1 second.
How I can solve this issue?

Primefaces 500 Error on starting server

I'm not sure what I've done, but after a recent build on the Server I'm getting this error:
HTTP ERROR 500
Problem accessing /. Reason:
Server Error
Caused by:
java.lang.NullPointerException
at org.primefaces.context.PrimeFacesContext.release(PrimeFacesContext.java:26)
at org.primefaces.context.PrimeFacesContext.release(PrimeFacesContext.java:28)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:612)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:558)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:488)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:973)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:417)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:907)
Anyone seen this before or any idea what might have caused it?

Resources