abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H8H <...@dev-nu11.de>
Subject Creating an new abdera instance failed by using java 1.6.0 openjdk
Date Sat, 23 Nov 2013 13:07:16 GMT
Hi!

I'm writing some code for IBM and for this purpose i use the java 1.6.0
ibm jre, everything works fine. If i switch (or the user) the engine to
java 1.6.0 openjdk abdera throws an NullPointerException by creating its
instance.

Abdera abdera = new Abdera();
---> Throws NullPointerExc:
Discover$DefaultLoader<T>.init(boolean) line: 108	
Discover$DefaultLoader<T>.<init>(String, boolean, Object[], ClassLoader)
line: 91	
Discover$DefaultLoader<T>.<init>(String, boolean, Object[]) line: 85	
Discover.locate(String, boolean, Object...) line: 62	
Discover.locate(String, Object...) line: 54	
AbderaConfiguration.loadExtensionFactories() line: 100	
AbderaConfiguration.<init>(ResourceBundle) line: 92	
AbderaConfiguration.<init>() line: 87	
AbderaConfiguration.getDefault() line: 65	
Abdera.<init>() line: 73	

Variables State:
this	Discover$DefaultLoader<T>  (id=108)	
	args	null	
	id	"org.apache.abdera.factory.ExtensionFactory" (id=116)	
	iterator	null	
	loader	null	
t	NullPointerException  (id=110)	
	cause	NullPointerException  (id=110)	
	detailMessage	null	
	stackTrace	null	
classesonly	false	

Source-Code Snippet:
public Iterator<T> iterator() {
    return iterator;
}

Used libs:
abdera-1.1.3.jar
axiom-api-1.2.14.jar
axiom-impl-1.2.14.jar
commons-codec-1.4.jar
commons-httpclient-3.1.jar
commons-logging-1.0.4.jar
jaxen-1.1.1.jar
xalan-2.7.0.jar
----
The org.apache.abdera.factory.ExtensionFactory Services MetaINF file:
org.apache.abdera.protocol.error.ErrorExtensionFactory
org.apache.abdera.ext.thread.ThreadExtensionFactory
org.apache.abdera.ext.features.FeaturesExtensionFactory
org.apache.abdera.ext.tombstones.TombstonesExtensionFactory
org.apache.abdera.ext.media.MediaExtensionFactory

org.apache.abdera.ext.opensearch.model.OpenSearchExtensionFactory

org.apache.abdera.ext.sharing.SharingExtensionFactory
----

Meta-INF:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 2.4 (IBM Corporation)
Class-Path: abdera-1.1.3.jar axiom-api-1.2.14.jar axiom-impl-1.2.14.ja
 r commons-codec-1.4.jar commons-httpclient-3.1.jar commons-logging-1.
 0.4.jar jaxen-1.1.1.jar xalan-2.7.0.jar

Used Java Version
Java-1.6.0-openjdk-1.6.0.0.x86_64/jre - failed
Java-1.6.0-ibm-1.6.0.14.0.x86_64/jre - pass
---

Hope anybody could help :)

Thx in advance!

Best regardes
H8H 8)

Mime
View raw message