Error List

Error List for the ‘Java’ Category

ClassCastExceptions when hot deploying ears

Applies to:
JBoss

Description:
You have A.ear and B.ear, and B.ear relies upon an EJB that is packaged in A.ear. You update some code inside A.ear and redeploy it, and when you go to test the updated code using a method contained in B.ear, you get a ClassCastException.

Cause:
First off, this is not a bug with the JBoss classloader, this is normal expected behavior. What is happenning is when A.ear is redeployed any references that B.ear may have to classes contained inside A.ear are no longer valid.

JAVA-JBoss , , , , , , , ,

LoadContexts fail-safe cleanup

Applies to:
JBoss Portal, JBoss AS 4.2.1.GA

Description:
Occurs while using JBoss Portal:
WARN LoadContexts fail-safe cleanup (collections)… org.hibernate.engine.loading.CollectionLoadContext@cd7045

Cause:
Nothing’s wrong, it’s a small issue that will be resolved in future versions of Hibernate.

JAVA-JBoss , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Using format="xml", fails with a NoClassDefFoundError if forked.

Applies to:
Ant

Description:
Occurs while using Apache Ant.

Cause:
The XML formatter needs the DOM classes to work. If you are using JDK 1.4 or later they are included with your Java Runtime and this problem won’t occur. If you are running JDK 1.3 or earlier, the DOM classes have to be on your task’s .

JAVA-Tools , , , , ,

Can't invoke the ResultSet methods afterLast and beforeFirst

Applies to:
NA

Description:
Occurs while using invalid JDBC driver.

Cause:
You are probably using a driver implemented for the JDBC 1.0 API.

JAVA-JDBC , , , ,

StreamCorruptedException

Applies to:
JBoss

Description:
Occurs while using JBoss

Cause:
The most common cause of this error is due to missing a class on the client classpath that is unmarshalling a serialized object. This can happen in JNDI lookups, ejb calls, etc.



JAVA-JBoss , , , , , , , , , , , ,

AssertionFailedError: No tests found in xxx

Applies to:
NA

Description:
Occurs when running tests

Cause:
You have no methods for test in Your class.

JAVA-JUnit , , ,

SMTPSendFailedException: 530, Address requires authentication

Applies to:
NA

Description:
Occurs when trying to send a message

Cause:
You have tried to send a message.

JAVA-Mail , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

ClassNotFoundException when using JavaMail

Socket write error

Problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xalan}content-handler' property!

Applies to:
Jetspeed

Description:
Occurs while using Jetspeed RSS feeds in the portlet

Cause:
xalan.jar is missing.

JAVA-Jetspeed , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,