Showing posts with label exception. Show all posts
Showing posts with label exception. Show all posts

Dec 4, 2018

CassandraRoleManager skipped default role setup: some nodes were not ready



Hi

I had this issue with my Cassandra 3.11.3 cluster.
'CassandraRoleManager skipped default role setup: some nodes were not ready'

Actually i didn't raised one of my nodes. The status was:



Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address        Load       Tokens       Owns (effective)  Host ID                               Rack
UN  X.X.15.141  279.12 KiB  256          49.1%             65b80558-219d-478b-ad24-083a79d78348  rack1
UN  X.X.15.140  235.39 KiB  256          49.2%             0efb432f-0789-455f-op24-29c6e2cce9ac  rack1
UN  X.X.15.142  287.49 KiB  256          49.6%             3558e3f0-717d-783UI-a22c-6891a3bd427f  rack1
DN  X.X.15.144  ?          256          52.2%             8e8cdbac-9088-3421-963d-4857a78087d3  rack1



To solve it, i used the nodetool with 'removenode' method. Reference


Removing this node solved the problem for me.

Regards,
Dor

Aug 7, 2018

Refusing to serve hidden directory, via 404 Error on AWS EC2

Refusing to serve hidden directory, via 404 Error

I got this error while running jupyter notebook inside my EC2

My Solution --> when i first run it, i was inside .jupyter directory.

I created my own 'workspace' directory, switching into it and then run it again the 'jupyter notbook'

Now all ok.


Hoped it helped,

Dor


Feb 16, 2015

The BPEL process deployment session is already active.

Hi All,

Happens with Oracle Service Bus and Eclipse.

I have found, that stopping coherence and osb and then starting coherence and starting osb solved for me the issue.


Hoped it helped,
Dor

Sep 18, 2014

org.hsqldb.HsqlException: data exception: string data, right truncation; table

Hi,

I had this exception while testing (junit) my code.

It seems that when you use +Hibernate.org  Lob annotation and use HsqlDB, the default column size is probably less than the actual size you are trying to insert. In my case i annotated String with Lob (hibernate knows it should be clob) while my string length was huge -> got this exception.

To fix this, add hibernate column annotation with column length bigger like 15000 , this will solve it  (for example of course).


Hoped it helped,


Dor

Jun 24, 2014

May 21, 2014

NoClassDefFoundError: jersey/repackaged/com/google/common/collect/Maps

Hi,

I am working with spring 4.0.4 and jersey 2.7 and Gradle 1.11 suddelny out of nowhere i build and deployed to my tomcat 7 (latest release) and got the above error.
Worked to figure out what went wrong about an hour.
Than i saw that they released a new 2.8 lately, decided to try it - it worked +


Problem solved for me after upgrading from jersey 2.7 to 2.8
and adding this to my gradle dependencies
"org.glassfish.jersey.bundles.repackaged:jersey-guava:2.8"



Hopefully it will help you too,

Dor

Apr 2, 2014

Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages

I am using Ubuntu 12.04 LTS 64bit , Must say that i am having a lot of error issues.

Got this error above when i tried to update.

This solved that :

sudo rm -vf /var/lib/apt/lists/*

Dec 27, 2012

EmptyResultDataAccessException: Incorrect result size: expected 1, actual 0

Hi,
Lately i had this exception in my spring jdbc part of code. What it
actually means is that your query probably doesn't return any value while you are trying to assign the query result into let's say 'int'.

Change the query from queryForInt to regular query that returns a list. Use row mapper also.
Check the list, if it's empty, nothing returned from the query, decide what to do, else if the list isn't empty
and contain data, also, decide what to do.
It then will work for you.



Hoped i helped,
Dor

Jun 13, 2011

Skype has stopped working on windows 7

Had this once with the current version, 5.3.011.

I think that they already know about this issue and working to solve it.

I thought it's something with the firewall but it doesn't looks like.

My solution that worked for me, founded among many forums is:
Start -> Run -> write '%appdata%\Skype' in this directory, delete a file named 'shared.xml'
Restart skype.

But i know it doesn't solve the problem for all cases, meaning you may have like me windows 7 64bit, do the same solution but it won't work, why ? Don't really know.

Dor

May 16, 2011

Problems encountered while moving resources

Hi,

It appears that changing a capital letter package name like:
MONITOR into monitor
Is impossible in eclipse helios version. This happen to me on Windows 7 64bit.

Solution: Change this "MONITOR" into something like this "MONITORa" as a temporary name.
Then change the temporary name to "monitor" this should work.

In case you are using svn or subclipse plugin for eclipse, i thinks that you will need to do commit between changes.

Hoped i helped,
Dor

Jan 4, 2011

org.postgresql.util.PSQLException: ERROR: syntax error at or near

This happen when you have a name which is a reserved name or already exists by a table for example.

Lets say your are trying to add a new table and the error was:
org.postgresql.util.PSQLException: ERROR: syntax error at or near "User"

You got this error since the postgresql in the current schema has already a User table and this name is reserved.
Change your table (if in your case like this example, it's a table issue) name to a different.

Hoped it helps.

Dor

Dec 6, 2010

An internal error occurred during: "Refreshing external folders". java.lang.NullPointerException

Exception occurred to me after upgrading and using the eclipse helios with gwt 2.1 new plugin.
Don't know if both connected or not or maybe it's subversion problem.
I have looked and googled for solutions but nothing yet over the web.

What's helped me:
Closing all the projects in eclipse.
Opening all the projects.
This probably synchronize eclipse with the file system. Then Project->Clean all.

That's it, worked for me, hoped that it will help you also.

Dor

Nov 23, 2010

at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:111)

Hi,
My Configuration is as follow: WebSphere Application Server 6.1.0.19, it seems that this is sort of bug they have.
Offered solutions:
Hopefully it helps,
Recommended link to look over : Click Here.
Dor

Exception in thread "main" Java.lang.NoSuchFieldError: TRACE

Exception in thread "main" Java.lang.NoSuchFieldError: TRACE
at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:622)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.cognizant.util.ServiceHelper.initQueueService(ServiceHelper.java:153)
at com.cognizant.main.StartUp.(StartUp.java:28)
at com.cognizant.main.StartUp.main(StartUp.java:46)
solution
Upgrade your log4j version to 1.2.12 or higher in your classpath.

Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

Hi,
This exception might occur in:
1) Your key store file is corrupt and you should create it again.
(send a post if you need any help)
2) Your application failed loading the certificates key store (mentioned above).
Hoped i helped,
Dor

Uncaught exception: java.lang.OutOfMemoryError: PermGen space

Hi,
Cause:
Memory leak or imperfect memory management of one of your modules.
Solutions:
  1. Restart what you have done all over, if it was a server for example. This may happen when one of your    modules failed to be removed from memory.
  2. Increasing your heap memory buy running with 
Dor