[dev] NullpointerException: XPathFactory.newInstance() with OODEV 300 m49

2009-06-03 Thread Oliver Brinzing
Hi,

can someone give me a hint why this fails in DEV300m49:

this.xFactory = javax.xml.xpath.XPathFactory.newInstance();

i get a NullpointerException at javax.xml.xpath.XPathFactoryFinder._newFactory()
uri is http://java.sun.com/jaxp/xpath/dom;

same extension runs without any problems with oo 3.1

JRE is 1.6_14 in both cases (vista 32)

Oliver

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


Re: [dev] NullpointerException: XPathFactory.newInstance() with OODEV 300 m49

2009-06-03 Thread Oliver Brinzing
Hi Marcin,

 Thread.currentThread().setContextClassLoader(getClass().getClassLoader());

yes this seems to help, classloader was indeed null ...

may i add your solution to issue 
http://www.openoffice.org/issues/show_bug.cgi?id=102164 ?

thanks a lot :-)

Oliver
-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


Re: [dev] Problem with dmake

2009-06-03 Thread Willy Sudiarto Raharjo
 So check whether you did completely apply the patch, or export it manually.

OK, re-applied the patch and here's what i got

Copying temporary distribution files...
Done!
Success: Executed LD_PRELOAD=/usr/lib/seamonkey/libnss3.so epm -f rpm
 ooobasis3.1-core01
/opt/ooo3/OOO310_m11/instsetoo_native/unxlngi6.pro/O
penOffice/rpm/listfile/en-US/epm_gid_Module_Root.lst --output-dir RPMS
-v  21 | successfully!
Success: Added line Prefix: /opt into file ooobasis3.1-core01.spec!
Info: Removed line %define _topdir
/opt/ooo3/OOO310_m11/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/install/en-US_inprogress/RPMS
from file
ooobasis3.1-core01.spec!
Success: Added line %define _topdir
/opt/ooo3/OOO310_m11/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/install/en-US_inprogress/RPMS/
into file
ooobasis3.1-core01.spec!
Success: Added line AutoReqProv: no into spec file!
Info: Changed Packager in spec file from will...@dosen to OpenOffice.org!
Info: Replaced Copyright with License: LGPL !
Systemcall: LD_PRELOAD=/usr/lib/seamonkey/libnss3.so rpm --version |
Success: rpm version: RPM version 4.7.0
Systemcall (Try 1): LD_PRELOAD=/usr/lib/seamonkey/libnss3.so rpmbuild
-bb RPMS/ooobasis3.1-core01.spec --target i586 21 |
Building target platforms: i586
Building for target i586
Processing files: ooobasis3.1-core01-3.1.0-9399.i586
PROBLEM: File not found:
/home/willysr/rpmbuild/BUILDROOT/ooobasis3.1-core01-3.1.0-9399.i386/opt/openoffice.org
PROBLEM: File not found:
/home/willysr/rpmbuild/BUILDROOT/ooobasis3.1-core01-3.1.0-9399.i386/opt/openoffice.org/basis3.1
PROBLEM: File not found:
/home/willysr/rpmbuild/BUILDROOT/ooobasis3.1-core01-3.1.0-9399.i386/opt/openoffice.org/basis3.1/presets
.
.
.


-- 
Willy Sudiarto Raharjo
Registered Linux User : 336579
Web : http://www.informatix.or.id/willy
Blog : http://willysr.blogspot.com http://slackblogs.blogspot.com

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org