openSuSE 11_64 - java.lang.NullPointerException

Hier finden YaCy User Hilfe wenn was nicht funktioniert oder anders funktioniert als man dachte. Bei offensichtlichen Fehlern diese bitte gleich in die Bugs (http://bugs.yacy.net) eintragen.
Forumsregeln
In diesem Forum geht es um Benutzungsprobleme und Anfragen für Hilfe. Wird dabei ein Bug identifiziert, wird der thread zur Bearbeitung in die Bug-Sektion verschoben. Wer hier also einen Thread eingestellt hat und ihn vermisst, wird ihn sicherlich in der Bug-Sektion wiederfinden.

openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Mo Okt 13, 2008 6:47 am

Moin,

hab hier YaCy unter openSuSE 11 64bit am laufen. Zuerst wurde YaCy wie bei den FAQs beschrieben mit zypper installiert. Da dies jedoch irgend eine seltsame Dev version ist (die Web-Konsole zeigt dev/0000 an), funktioniert das automatische Update nicht (Developer version - Update omitted).

Wenn ich versuche eine (irgend) eine andere Version manuell einzuspielen, bricht YaCy nach kurzer Zeit mit folgender Fehlermeldung ab:

Auszug aus dem Log:
Code: Alles auswählen
S 2008/10/13 07:32:55 STARTUP Java version: 1.6.0_07
S 2008/10/13 07:32:55 STARTUP Operation system: Linux
S 2008/10/13 07:32:55 STARTUP Application root-path: /usr/share/yacy
S 2008/10/13 07:32:55 STARTUP Time zone: UTC+0200; UTC+0000 is 1223875975149
S 2008/10/13 07:32:55 STARTUP Maximum file system path length: 65535
I 2008/10/13 07:32:55 PLASMA This is the pro-version of YaCy
I 2008/10/13 07:32:55 PLASMA restoring dump for rwi heap 'index.dhtout.heap'
I 2008/10/13 07:32:56 PLASMA finished rwi heap restore: 24834 words, 1165496 word/URL relations in 0 seconds
I 2008/10/13 07:32:56 PLASMA restoring dump for rwi heap 'index.dhtin.heap'
I 2008/10/13 07:32:56 PLASMA finished rwi heap restore: 85 words, 1405 word/URL relations in 0 seconds
D 2008/10/13 07:32:56 STARTUP OPENING COLLECTION INDEX
I 2008/10/13 07:32:56 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index: available RAM: 551MB, allocating space for 5160380 entries
I 2008/10/13 07:32:56 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index has table copy DISABLED
I 2008/10/13 07:32:56 ECOTABLE initializing RAM index for EcoTable collection.index, please wait.
D 2008/10/13 07:33:04 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.06.00.kca with 4653 RWIs

[.............]

I 2008/10/13 07:28:31 YACY BOOTSTRAP: 3 seeds from seed-list URL http://www.lulabad.de/seed.txt, AGE=0h
I 2008/10/13 07:28:31 YACY BOOTSTRAP: 2 new seeds while bootstraping.
I 2008/10/13 07:28:33 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db: available RAM: 345MB, allocating space for 0 entries
I 2008/10/13 07:28:33 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db has table copy DISABLED
I 2008/10/13 07:28:33 ECOTABLE initializing RAM index for EcoTable urlNoticeRemoteStack9.db, please wait.
I 2008/10/13 07:28:33 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlError2.db: available RAM: 345MB, allocating space for 0 entries
I 2008/10/13 07:28:33 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlError2.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlError2.db has table copy DISABLED
I 2008/10/13 07:28:33 ECOTABLE initializing RAM index for EcoTable urlError2.db, please wait.
I 2008/10/13 07:28:33 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db: available RAM: 345MB, allocating space for 0 entries
I 2008/10/13 07:28:33 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db has table copy DISABLED
I 2008/10/13 07:28:33 ECOTABLE initializing RAM index for EcoTable urlDelegated2.db, please wait.
I 2008/10/13 07:28:33 RESOURCE OBSERVER initializing the resource observer
E 2008/10/13 07:28:33 STARTUP FATAL ERROR: null
java.lang.NullPointerException
        at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:241)
        at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:257)
        at de.anomic.tools.diskUsage.init(diskUsage.java:109)
        at de.anomic.crawler.ResourceObserver.<init>(ResourceObserver.java:72)
        at de.anomic.plasma.plasmaSwitchboard.<init>(plasmaSwitchboard.java:560)
        at yacy.startup(yacy.java:224)
        at yacy.main(yacy.java:1037)
S 2008/10/13 07:28:33 SHUTDOWN goodbye. (this is the last line)


java version:
Code: Alles auswählen
# java -version
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)


Kernel:
Code: Alles auswählen
Linux 2.6.25.16-0.1-xen #1 SMP 2008-08-21 00:34:25 +0200 x86_64 x86_64 x86_64 GNU/Linux


Was tun?
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Lotus » Mo Okt 13, 2008 10:10 am

r5267 sollte das Problem beheben.
Lotus
 
Beiträge: 1699
Registriert: Mi Jun 27, 2007 3:33 pm
Wohnort: Hamburg

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Mo Okt 13, 2008 10:04 pm

nope, mit http://www.findenstattsuchen.info/YaCy/ ... 267.tar.gz tritt der gleiche Fehler auf

PS: Platz ist genug vorhanden, 22G auf der Partition auf der YaCy installiert ist, 68G für die DATA...

Code: Alles auswählen
I 2008/10/13 23:01:39 RESOURCE OBSERVER initializing the resource observer
E 2008/10/13 23:01:39 STARTUP FATAL ERROR: null
java.lang.NullPointerException
        at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:241)
        at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:257)
        at de.anomic.tools.diskUsage.init(diskUsage.java:109)
        at de.anomic.crawler.ResourceObserver.<init>(ResourceObserver.java:72)
        at de.anomic.plasma.plasmaSwitchboard.<init>(plasmaSwitchboard.java:560)
        at yacy.startup(yacy.java:224)
        at yacy.main(yacy.java:1037)
S 2008/10/13 23:01:39 SHUTDOWN goodbye. (this is the last line)
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Orbiter » Mo Okt 13, 2008 11:00 pm

Lotus ist jetzt in Urlaub...
ich probiers mal: fix in svn 5269
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Mo Okt 13, 2008 11:24 pm

hat leider nicht geholfen - der 5269 bringt den gleichen Fehler wie zuvor...
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 1:31 pm

Gibts in der Angelegenheit was neues ?
Die letzte Version SVN 5289 bringt den (gleichen) Fehler...
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Orbiter » Di Okt 21, 2008 1:39 pm

bitte nochmal den Fehler posten, im aktuellen SVN steht an der Fehlerstelle (diskUsage.java:241) nur ein '}' in der angegebenen Zeile. Das heisst das der Fehler jetzt entweder woanders ist oder was bei dir beim Update fehlgeschlagen ist.
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 2:00 pm

Wie gesagt, es ist genau der gleiche Fehler. Update kann eigentlich nicht fehlschlagen, da ich manuell neue Versionen installier(en muss).
Das Verzeichnis /usr/share/yacy wird bereinigt und das neueste SVN release reinkopiert - keine alten Dateien vorhanden, die Probleme machen könnten.

Version
Code: Alles auswählen
# svn up
At revision 5289.


Der Fehler in kürze
Code: Alles auswählen
E 2008/10/21 14:53:56 STARTUP FATAL ERROR: null
java.lang.NullPointerException
   at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:241)
   at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:257)
   at de.anomic.tools.diskUsage.init(diskUsage.java:109)
   at de.anomic.crawler.ResourceObserver.<init>(ResourceObserver.java:72)
   at de.anomic.plasma.plasmaSwitchboard.<init>(plasmaSwitchboard.java:560)
   at yacy.startup(yacy.java:224)
   at yacy.main(yacy.java:1037)
S 2008/10/21 14:53:56 SHUTDOWN goodbye. (this is the last line)


Log (Der Komplettheit halber)
Code: Alles auswählen
S 2008/10/21 14:53:42 STARTUP Java version: 1.6.0_07
S 2008/10/21 14:53:42 STARTUP Operation system: Linux
S 2008/10/21 14:53:42 STARTUP Application root-path: /usr/share/yacy
S 2008/10/21 14:53:42 STARTUP Time zone: UTC+0200; UTC+0000 is 1224593622100
S 2008/10/21 14:53:42 STARTUP Maximum file system path length: 65535
I 2008/10/21 14:53:42 PLASMA This is the pro-version of YaCy
I 2008/10/21 14:53:42 PLASMA restoring dump for rwi heap 'index.dhtout.heap'
I 2008/10/21 14:53:43 PLASMA finished rwi heap restore: 24834 words, 1165496 word/URL relations in 0 seconds
I 2008/10/21 14:53:43 PLASMA restoring dump for rwi heap 'index.dhtin.heap'
I 2008/10/21 14:53:43 PLASMA finished rwi heap restore: 85 words, 1405 word/URL relations in 0 seconds
D 2008/10/21 14:53:43 STARTUP OPENING COLLECTION INDEX
I 2008/10/21 14:53:43 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index: available RAM: 551MB, allocating space for 5160380 entries
I 2008/10/21 14:53:43 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.index has table copy DISABLED
I 2008/10/21 14:53:43 ECOTABLE initializing RAM index for EcoTable collection.index, please wait.
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.06.00.kca with 4653 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.03.00.kca with 69187 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.02.00.kca with 187791 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.04.00.kca with 26660 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.07.00.kca with 2187 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.01.00.kca with 530531 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.05.00.kca with 10406 RWIs
D 2008/10/21 14:53:50 STARTUP opened array file /usr/share/yacy/DATA/INDEX/freeworld/TEXT/RICOLLECTION/collection.04.0028.00.00.kca with 4330111 RWIs
I 2008/10/21 14:53:51 kelondroSplitTable opening partial eco table /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200810
I 2008/10/21 14:53:51 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200810: available RAM: 470MB, allocating space for 521344 entries
I 2008/10/21 14:53:51 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200810: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200810 has table copy DISABLED
I 2008/10/21 14:53:51 ECOTABLE initializing RAM index for EcoTable urls.200810, please wait.
I 2008/10/21 14:53:52 kelondroSplitTable opening partial eco table /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200809
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200809: available RAM: 460MB, allocating space for 52282 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200809: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/TEXT/urls.200809 has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable urls.200809, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesActive.db: available RAM: 453MB, allocating space for 8 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesActive.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesActive.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable crawlProfilesActive.db, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesPassive.db: available RAM: 452MB, allocating space for 14 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesPassive.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/QUEUES/crawlProfilesPassive.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable crawlProfilesPassive.db, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.new.db: available RAM: 452MB, allocating space for 270 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.new.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.new.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable seed.new.db, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.old.db: available RAM: 441MB, allocating space for 225 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.old.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.old.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable seed.old.db, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.pot.db: available RAM: 431MB, allocating space for 164 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.pot.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/seed.pot.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable seed.pot.db, please wait.
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/news.db: available RAM: 452MB, allocating space for 2918 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/news.db: EcoTable /usr/share/yacy/DATA/INDEX/freeworld/NETWORK/news.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable news.db, please wait.
I 2008/10/21 14:53:52 YACY BOOTSTRAP: 186 seeds known from previous run
I 2008/10/21 14:53:52 PLASMA HTCACHE Path = /usr/share/yacy/DATA/HTCACHE
I 2008/10/21 14:53:52 PLASMA RELEASE Path = /usr/share/yacy/DATA/RELEASE
I 2008/10/21 14:53:52 ECOTABLE initialization of /usr/share/yacy/DATA/WORK/blogComment.db: available RAM: 450MB, allocating space for 0 entries
I 2008/10/21 14:53:52 ECOTABLE /usr/share/yacy/DATA/WORK/blogComment.db: EcoTable /usr/share/yacy/DATA/WORK/blogComment.db has table copy ENABLED
I 2008/10/21 14:53:52 ECOTABLE initializing RAM index for EcoTable blogComment.db, please wait.
I 2008/10/21 14:53:52 BOOKMARKS autoReCrawl - serverBusyThread initialized checking every 60 minutes for recrawls
I 2008/10/21 14:53:52 PARSER Searching for additional content parsers in package de.anomic.plasma.parser
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/bzip2'.
   Name:    Bzip 2 UNIX Compressed File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.bzip.bzipParser
   Dependencies: bzip2.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-bz2'.
   Name:    Bzip 2 UNIX Compressed File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.bzip.bzipParser
   Dependencies: bzip2.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-bzip2'.
   Name:    Bzip 2 UNIX Compressed File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.bzip.bzipParser
   Dependencies: bzip2.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/msword'.
   Name:    Word Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.doc.docParser
   Dependencies: tm-extractors-0.4.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-gzip'.
   Name:    GNU Zip Compressed Archive Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.gzip.gzipParser
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/gzip'.
   Name:    GNU Zip Compressed Archive Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.gzip.gzipParser
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'text/xml'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/xml'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-compressed'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-compress'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-xml'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/octet-stream'.
   Name:    MimeType Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.mimeType.mimeTypeParser
   Dependencies: commons-logging-1.1.1.jar,jmimemagic-0.1.0.jar,jakarta-oro-2.0.7.jar,log4j-1.2.9.jar,xerces.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/x-vnd.oasis.opendocument.text'.
   Name:    OASIS OpenDocument V2 Text Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.odt.odtParser
   Dependencies: odf_utils_05_11_29.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/vnd.oasis.opendocument.text'.
   Name:    OASIS OpenDocument V2 Text Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.odt.odtParser
   Dependencies: odf_utils_05_11_29.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/pdf'.
   Name:    Acrobat Portable Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.pdf.pdfParser
   Dependencies: PDFBox-0.7.3.jar,FontBox-0.1.0-dev.jar,bcprov-jdk14-139.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/mspowerpoint'.
   Name:    Microsoft Powerpoint Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.ppt.pptParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/vnd.ms-powerpoint'.
   Name:    Microsoft Powerpoint Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.ppt.pptParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:52 PARSER Found functional parser for mimeType 'application/powerpoint'.
   Name:    Microsoft Powerpoint Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.ppt.pptParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/postscript'.
   Name:    PostScript Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.ps.psParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'text/postscript'.
   Name:    PostScript Document Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.ps.psParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-rpm'.
   Name:    rpm Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rpm.rpmParser
   Dependencies: jrpm-head.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-redhat-package-manager'.
   Name:    rpm Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rpm.rpmParser
   Dependencies: jrpm-head.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-redhat packet manager'.
   Name:    rpm Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rpm.rpmParser
   Dependencies: jrpm-head.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/atom+xml'.
   Name:    Rich Site Summary/Atom Feed Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rss.rssParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'text/rss'.
   Name:    Rich Site Summary/Atom Feed Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rss.rssParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/rss+xml'.
   Name:    Rich Site Summary/Atom Feed Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rss.rssParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/rdf+xml'.
   Name:    Rich Site Summary/Atom Feed Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rss.rssParser
D 2008/10/21 14:53:53 HTTPC executing 933233151 HEAD http://www.yacy.net/seed.txt
D 2008/10/21 14:53:53 HTTPC ->933233151 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'text/rtf'.
   Name:    Rich Text Format Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rtf.rtfParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/rtf'.
   Name:    Rich Text Format Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.rtf.rtfParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-7z-compressed'.
   Name:    7zip Archive Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.sevenzip.sevenzipParser
   Dependencies: J7Zip-modified.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-shockwave-flash2-preview'.
   Name:    Adobe Flash Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.swf.swfParser
   Dependencies: webcat-0.1-swf.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-shockwave-flash'.
   Name:    Adobe Flash Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.swf.swfParser
   Dependencies: webcat-0.1-swf.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-tar'.
   Name:    Tape Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.tar.tarParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/tar'.
   Name:    Tape Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.tar.tarParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/vcard'.
   Name:    vCard Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.vcf.vcfParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'text/x-vcard'.
   Name:    vCard Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.vcf.vcfParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/msexcel'.
   Name:    Microsoft Excel Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.xls.xlsParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-msexcel'.
   Name:    Microsoft Excel Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.xls.xlsParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/vnd.ms-excel'.
   Name:    Microsoft Excel Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.xls.xlsParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/excel'.
   Name:    Microsoft Excel Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.xls.xlsParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-excel'.
   Name:    Microsoft Excel Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.xls.xlsParser
   Dependencies: poi-3.0-alpha2-20060616.jar,poi-scratchpad-3.0-alpha2-20060616.jar
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-zip'.
   Name:    Compressed Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.zip.zipParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/java-archive'.
   Name:    Compressed Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.zip.zipParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/zip'.
   Name:    Compressed Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.zip.zipParser
I 2008/10/21 14:53:53 PARSER Found functional parser for mimeType 'application/x-zip-compressed'.
   Name:    Compressed Archive File Parser
   Version: 0.1
   Class:   de.anomic.plasma.parser.zip.zipParser
S 2008/10/21 14:53:53 CRAWLER Starting Crawling Management
I 2008/10/21 14:53:53 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlNoticeCoreStack9.db: available RAM: 444MB, allocating space for 29 entries
I 2008/10/21 14:53:53 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlNoticeCoreStack9.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlNoticeCoreStack9.db has table copy DISABLED
I 2008/10/21 14:53:53 ECOTABLE initializing RAM index for EcoTable urlNoticeCoreStack9.db, please wait.
I 2008/10/21 14:53:53 Balancer re-creating the urlNoticeCoreStack balancer stack, size = 29 (the old stack size was wrong)
D 2008/10/21 14:53:53 KELONDRO file '/opt/yacy_data/PLASMADB/urlNoticeCoreStack9.stack' closed.
W 2008/10/21 14:53:53 KELONDRO USEDC inconsistency at startup: calculated_used = 53364, USEDC = 0, FREEC = 0, recordsize = 20, file = /opt/yacy_data/PLASMADB/urlNoticeLimitStack9.stack
I 2008/10/21 14:53:53 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlNoticeLimitStack9.db: available RAM: 444MB, allocating space for 53941 entries
I 2008/10/21 14:53:53 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlNoticeLimitStack9.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlNoticeLimitStack9.db has table copy DISABLED
I 2008/10/21 14:53:53 ECOTABLE initializing RAM index for EcoTable urlNoticeLimitStack9.db, please wait.
I 2008/10/21 14:53:53 Balancer re-creating the urlNoticeLimitStack balancer stack, size = 53941 (the old stack size was wrong)
D 2008/10/21 14:53:53 KELONDRO file '/opt/yacy_data/PLASMADB/urlNoticeLimitStack9.stack' closed.
D 2008/10/21 14:53:53 HTTPC <-933233151 response headers [Date: Tue, 21 Oct 2008 12:53:53 GMT
, Server: Apache/1.3.37 (Unix)
, Last-Modified: Tue, 21 Oct 2008 12:31:50 GMT
, ETag: "2057634-c3fa-48fdcbb6"
, Accept-Ranges: bytes
, Content-Length: 50170
, Content-Type: text/plain
]
D 2008/10/21 14:53:53 HTTPC executing 314004658 GET http://www.yacy.net/seed.txt
D 2008/10/21 14:53:53 HTTPC ->314004658 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:53 HTTPC <-314004658 response headers [Date: Tue, 21 Oct 2008 12:53:53 GMT
, Server: Apache/1.3.37 (Unix)
, Last-Modified: Tue, 21 Oct 2008 12:31:50 GMT
, ETag: "2057634-c3fa-48fdcbb6"
, Accept-Ranges: bytes
, Content-Length: 50170
, Content-Type: text/plain
]
W 2008/10/21 14:53:53 YACY lookupByIP/Connected: address of seed &empty;/VdS2CP5LPtFb is null.
I 2008/10/21 14:53:54 YACY BOOTSTRAP: 41 seeds from seed-list URL http://www.yacy.net/seed.txt, AGE=0h
D 2008/10/21 14:53:54 HTTPC executing 593352976 HEAD http://home.arcor.de/hermens/yacy/seed.txt
D 2008/10/21 14:53:54 HTTPC ->593352976 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:54 HTTPC <-593352976 response headers [Date: Tue, 21 Oct 2008 12:53:54 GMT
, Server: Apache/2.0.61 (Unix)
, Last-Modified: Tue, 21 Oct 2008 12:46:12 GMT
, ETag: "288e3a-b433-d102ed00"
, Accept-Ranges: bytes
, Content-Length: 46131
, Connection: close
, Content-Type: text/plain
]
D 2008/10/21 14:53:54 HTTPC executing 1301078346 GET http://home.arcor.de/hermens/yacy/seed.txt
D 2008/10/21 14:53:54 HTTPC ->1301078346 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:54 HTTPC <-1301078346 response headers [Date: Tue, 21 Oct 2008 12:53:54 GMT
, Server: Apache/2.0.61 (Unix)
, Last-Modified: Tue, 21 Oct 2008 12:46:12 GMT
, ETag: "288e3a-b433-d102ed00"
, Accept-Ranges: bytes
, Content-Length: 46131
, Connection: close
, Content-Type: text/plain
]
I 2008/10/21 14:53:54 YACY BOOTSTRAP: 92 seeds from seed-list URL http://home.arcor.de/hermens/yacy/seed.txt, AGE=0h
D 2008/10/21 14:53:54 HTTPC executing 1783079124 HEAD http://low.audioattack.de/yacy/seed.txt
D 2008/10/21 14:53:54 HTTPC ->1783079124 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:55 HTTPC <-1783079124 response headers [Date: Tue, 21 Oct 2008 12:53:55 GMT
, Server: Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8a DAV/2 PHP/4.4.6 with Suhosin-Patch
, Last-Modified: Tue, 21 Oct 2008 11:59:03 GMT
, ETag: "c4cbb-b5cd-2863cfc0"
, Accept-Ranges: bytes
, Content-Length: 46541
, Content-Type: text/plain
]
D 2008/10/21 14:53:55 HTTPC executing 971840267 GET http://low.audioattack.de/yacy/seed.txt
D 2008/10/21 14:53:55 HTTPC ->971840267 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:55 HTTPC <-971840267 response headers [Date: Tue, 21 Oct 2008 12:53:55 GMT
, Server: Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8a DAV/2 PHP/4.4.6 with Suhosin-Patch
, Last-Modified: Tue, 21 Oct 2008 11:59:03 GMT
, ETag: "c4cbb-b5cd-2863cfc0"
, Accept-Ranges: bytes
, Content-Length: 46541
, Content-Type: text/plain
]
I 2008/10/21 14:53:55 YACY BOOTSTRAP: 2 seeds from seed-list URL http://low.audioattack.de/yacy/seed.txt, AGE=0h
D 2008/10/21 14:53:55 HTTPC executing 822054004 HEAD http://www.lulabad.de/seed.txt
D 2008/10/21 14:53:55 HTTPC ->822054004 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:55 HTTPC <-822054004 response headers [Date: Tue, 21 Oct 2008 12:53:55 GMT
, Server: Apache/2.0.54 (Debian GNU/Linux) mod_perl/1.99_14 Perl/v5.8.4 DAV/2 SVN/1.1.4 mod_jk2/2.0.4 PHP/5.1.2-Debian-0.1~sarge1 mod_ssl/2.0.54 OpenSSL/0.9.7d
, Last-Modified: Tue, 21 Oct 2008 12:19:28 GMT
, ETag: "2061eb4-c030-7167d400"
, Accept-Ranges: bytes
, Content-Length: 49200
, Content-Type: text/plain
]
D 2008/10/21 14:53:55 HTTPC executing 1190000432 GET http://www.lulabad.de/seed.txt
D 2008/10/21 14:53:55 HTTPC ->1190000432 request headers [Cache-Control: no-cache
, Pragma: no-cache
, User-Agent: yacy (amd64 Linux 2.6.25.16-0.1-xen; java 1.6.0_07; Europe/en) yacy.net
]
D 2008/10/21 14:53:55 HTTPC <-1190000432 response headers [Date: Tue, 21 Oct 2008 12:53:55 GMT
, Server: Apache/2.0.54 (Debian GNU/Linux) mod_perl/1.99_14 Perl/v5.8.4 DAV/2 SVN/1.1.4 mod_jk2/2.0.4 PHP/5.1.2-Debian-0.1~sarge1 mod_ssl/2.0.54 OpenSSL/0.9.7d
, Last-Modified: Tue, 21 Oct 2008 12:19:28 GMT
, ETag: "2061eb4-c030-7167d400"
, Accept-Ranges: bytes
, Content-Length: 49200
, Content-Type: text/plain
]
I 2008/10/21 14:53:55 YACY BOOTSTRAP: 3 seeds from seed-list URL http://www.lulabad.de/seed.txt, AGE=0h
I 2008/10/21 14:53:55 YACY BOOTSTRAP: 1 new seeds while bootstraping.
I 2008/10/21 14:53:56 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db: available RAM: 416MB, allocating space for 0 entries
I 2008/10/21 14:53:56 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlNoticeRemoteStack9.db has table copy DISABLED
I 2008/10/21 14:53:56 ECOTABLE initializing RAM index for EcoTable urlNoticeRemoteStack9.db, please wait.
I 2008/10/21 14:53:56 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlError2.db: available RAM: 416MB, allocating space for 0 entries
I 2008/10/21 14:53:56 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlError2.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlError2.db has table copy DISABLED
I 2008/10/21 14:53:56 ECOTABLE initializing RAM index for EcoTable urlError2.db, please wait.
I 2008/10/21 14:53:56 ECOTABLE initialization of /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db: available RAM: 416MB, allocating space for 0 entries
I 2008/10/21 14:53:56 ECOTABLE /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db: EcoTable /usr/share/yacy/DATA/PLASMADB/urlDelegated2.db has table copy DISABLED
I 2008/10/21 14:53:56 ECOTABLE initializing RAM index for EcoTable urlDelegated2.db, please wait.
I 2008/10/21 14:53:56 RESOURCE OBSERVER initializing the resource observer
E 2008/10/21 14:53:56 STARTUP FATAL ERROR: null
java.lang.NullPointerException
   at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:241)
   at de.anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:257)
   at de.anomic.tools.diskUsage.init(diskUsage.java:109)
   at de.anomic.crawler.ResourceObserver.<init>(ResourceObserver.java:72)
   at de.anomic.plasma.plasmaSwitchboard.<init>(plasmaSwitchboard.java:560)
   at yacy.startup(yacy.java:224)
   at yacy.main(yacy.java:1037)
S 2008/10/21 14:53:56 SHUTDOWN goodbye. (this is the last line)
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Orbiter » Di Okt 21, 2008 2:14 pm

nun, in diskUsage.java:241 kann trotzdem der Fehler nicht mehr sein.
Hast du nach dem svn up auch ein 'ant clean all' gemacht?
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 3:41 pm

Eins Vorweg: In Sachen Programmieren hab ich leider so gut wie keine Ahnung.

Die FAQ (http://www.yacy-websuche.de/wiki/index. ... :SVNAccess) erwähnt allerdings nicht dass nach dem Herunterladen von SVN-releases was zu machen ist.
Ich hab hier ein eigenes Verzeichnis unter /usr/share/yacy/SVN angelegt. Unter /usr/share/yacy/SVN/trunk landen die Dateien nach einem 'svn up' und werden komplett nach /usr/share/yacy kopiert. '/etc/init.d/yacy start' startet dann YaCy.

Keinerlei Änderung nach 'ant clean all', nachdem das Paket ant und ant-* installiert ist. Muss zusätzlich noch etwas gemacht/kompiliert werden??

Hier die Ausgabe von 'ant clean all'
Code: Alles auswählen
Buildfile: build.xml

clean:
   [delete] Deleting directory /usr/share/yacy/SVN/trunk/RELEASE/EXT
   [delete] Deleting: /usr/share/yacy/SVN/trunk/lib/svnRevNr.jar

buildSvnRevNr:
      [jar] Building jar: /usr/share/yacy/SVN/trunk/lib/svnRevNr.jar

determineRevisionNr:
     [echo] Trying to read Revision number from file /usr/share/yacy/SVN/trunk/.svn/entries
[svnrevnr] 5289
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk
   [delete] Deleting: /usr/share/yacy/SVN/trunk/build.properties
     [move] Moving 1 file to /usr/share/yacy/SVN/trunk

readBuildProperties:

determineExtensionTarget:

init:
     [echo] YaCy Version number: 0.612
     [echo] YaCy Revision number: 5289
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/classes

compileMain:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes
    [javac] Compiling 73 source files to /usr/share/yacy/SVN/trunk/classes
    [javac] Compiling 2 source files to /usr/share/yacy/SVN/trunk/classes
    [javac] Compiling 115 source files

compileParsers:

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/bzip
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/bzip

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/doc
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/doc

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/gzip
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/gzip

compile:
    [javac] Compiling 3 source files to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 4 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 5 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/mimeType
     [copy] Copying 3 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/mimeType

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/odt
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/odt

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 6 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/pdf
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/pdf

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/ppt
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/ppt

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/ps
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/ps

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/rpm
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/rpm

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/rss
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/rss

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/rtf
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/rtf

compile:
    [javac] Compiling 3 source files to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 4 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/sevenzip
     [copy] Copying 4 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/sevenzip

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/swf
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/swf

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/tar
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/tar

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/vcf
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/vcf

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/xls
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/xls

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/plasma/parser/zip
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/plasma/parser/zip

compileSeedUploaders:

compile:
    [javac] Compiling 1 source file to /usr/share/yacy/SVN/trunk/classes

copy:
     [copy] Copying 2 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/libx
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/source/de/anomic/yacy/seedUpload
     [copy] Copying 3 files to /usr/share/yacy/SVN/trunk/RELEASE/EXT/classes/de/anomic/yacy/seedUpload
     [copy] Copying 1 file to /usr/share/yacy/SVN/trunk/RELEASE/EXT/htroot/yacy/seedUpload

compileExtensions:

all:
   [delete] Deleting: /usr/share/yacy/SVN/trunk/classes/yacy.java

BUILD SUCCESSFUL
Total time: 9 seconds
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Orbiter » Di Okt 21, 2008 3:52 pm

svn access erklärt natürlich nur wie man an den source code kommt. ausführen tust du den compilierten code. Das compilieren hat ja nun auch geklappt. Der fehler sollte nun nicht mehr kommen denn die Codezeile die du dokumentierst gibt es nicht mehr. Wenn du die gleiche Fehlermeldung immer noch bekommst mit der gleichen zeile, dann hast du nicht deinen eben compilierten Code ausgeführt, sondern den alten.

Warum benutzt du nicht einfach den updater im Interface? Das wäre einfach.
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon DanielR » Di Okt 21, 2008 3:56 pm

Das Start-Skript muss dann natürlich auch die aktualisierte Version starten. Also das in .../SVN/trunk oder habe ich das falsch verstanden? Also dort wo die Datei 'build.xml' liegt und du 'ant clean all' gemacht hast. Am besten erstmal "per Hand" starten:
Code: Alles auswählen
./startYACY.sh

bzw. mit detailliertem Logfile:
Code: Alles auswählen
./startYACY.sh -l

Allerdings wird dann eine neue Konfiguration erstellt (in dem aktuellen Verzeichnis).

Alternativ musst du die ganzen Daten in die entsprechenden Verzeichnisse verschieben. Ich hab da kein Plan wie das OpenSUSE-Paket aufgebaut ist, sorry.
DanielR
 
Beiträge: 395
Registriert: Di Feb 12, 2008 2:22 pm

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 4:15 pm

@DanielR:
Wie beschrieben, werden alle Dateien aus '/usr/share/yacy/SVN/trunk' nach '/usr/share/yacy' per Hand kopiert (nach dem 'ant clean all'). Das Script startet dann die (aktuelle) Version in /usr/share/yacy.

Kurz vorweg:
Yacy ist auf der root-partition unter /usr/share/yacy installiert. Das '/usr/share/yacy/DATA' Verzeichnis ist ein symbolic-link, der nach '/opt/yacy_data' zeigt. 'yacy_data' ist eine eigene partition/platte(raid0). Die Struktur ist aber die gleiche, wie ohne eingehängtes Verzeichnis (also '/usr/share/yacy/DATA/SETTTINGS' z.B. bleibt an der gleichen relativen Stelle - wenn nicht würde YaCy ja alles neu erstellen).

Hab allerdings gerade durch rumprobieren eine Entdeckung gemacht:
Wenn ich das '/usr/share/yacy/DATA' Verzeichnis auf ein leeres Umbiege, startet YaCy nach anlegen der neuen Struktur ohne Probleme. Ich hab auch schon die './DATA/SETTINGS/yacy.conf' gelöscht und neu anlegen lassen, allerdings scheint hier der Fehler nicht zu liegen.
Was ist hier der beste Ansatzpunkt, also wo fange ich an im DATA-Verzeichnis nach einem Fehler zu suchen (wenn hier einer zu finden ist)?
Von vorne Anfangen will ich nicht, da die DB mittlerweile gut 21GB (5+ Millionen Words, 560.000+ Links) groß ist.
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Orbiter » Di Okt 21, 2008 4:24 pm

das Basteln am DATA-Ordner ist kontraproduktiv wenn dadurch verhindert wird das wir wissen ob du eine gefixte Version ausführst oder eine alte. Das sollte erst mal rausgefunden werden, sonst dreht sich die Diskussion hier noch sehr lange im Kreis.
Orbiter
 
Beiträge: 5787
Registriert: Di Jun 26, 2007 10:58 pm
Wohnort: Frankfurt am Main

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 4:27 pm

Wie ich bereits öfters beschrieben habe, wird die gefixte/aktuelle (SVN 5289) Version ausgeführt. Würde yacy im logfile seine Version melden, würde diese auch bei den geposteten logfiles auftauchen.
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon Lotus » Di Okt 21, 2008 5:29 pm

Deine Versionsangabe stammt vom SVN. Was steht denn im Web Interface rechts in der Status-Anzeige?
Das sieht ungefähr so aus:
Code: Alles auswählen
Process
    0.612/05288
    Uptime: 0 days 06:55

Du scheinst nämlich nachwievor mit dem selben Code unterwegs zu sein.
Lotus
 
Beiträge: 1699
Registriert: Mi Jun 27, 2007 3:33 pm
Wohnort: Hamburg

Re: openSuSE 11_64 - java.lang.NullPointerException

Beitragvon fl6 » Di Okt 21, 2008 6:51 pm

Konnte ich Dir nicht sagen, da ich nicht bis zur Weboberfläche kam - YaCy beendete sich vorher mit dem genannten Fehler. Wenn ich das DATA Verzeichnis auf den ursprünglichen Pfad lege (unten dazu mehr), funktionierts und "Current installed Release 0.610/05289" wird angezeigt.


YaCy funktioniert
    - DATA zeigt 'per Symbolic Link auf /var/lib/yacy, YaCy wird mit /etc/init.d/yacy gestartet
    - DATA zeigt irgendwohin z.B. "/1" (permission 40755, owner yacy), YaCy wird mit etc/init.d/yacy gestartet
    - DATA zeigt auf "/opt/yacy_data", YaCy wird aber mit dem mitgelieferten script als user "yacy" gestartet und "/var/run" wird für user yacy beschreibbar gemacht

YaCy funktioniert nicht(NullPointerException)
    - DATA zeigt auf "/opt/yacy_data" und wird mit /etc/init.d/yacy gestartet
    - DATA zeigt auf "/var/lib/yacy", "/var/lib/yacy" ist ein symbolic-link auf "/opt/yacy_data" ("/var/lib/yacy" ist also nirgends fest eingetragen)

"/opt/yacy_data" hat als owner yacy.root und yacy darf lesen/schreiben/ausführen\suchen (permission 40755)

Eintrag aus fstab für "/opt/yacy_data" (78GB frei) und root (22GB frei):
Code: Alles auswählen
/dev/md0    /                ext3    acl,user_xattr,usrquota,grpquota 1 1
/dev/md2    /opt/yacy_data   ext3    data=writeback,acl,user_xattr 1 2



Abschließend noch das "etc/init.d/yacy" Script, vielleicht fällt jemandem was auf:
(Abgesehen vom unterschiedlichen "generating the proper classpath"; die Variable "DATA_HOME" hab ich vorsichtshalber mal geändert, auch wenn sie nirgends benutzt wird)
Code: Alles auswählen
#!/bin/bash
#
# init script for YaCy
#
# Provided by Matthias Kempka, 26.12.2004
# Updated by Florian Richter, 17.7.2008
#
### BEGIN INIT INFO
# Provides:          yacy
# Required-Start:    $network
# Required-Stop:     $network
# Default-Start:     3 5
# Default-Stop:
# Short-Description: Distributed web search engine
# Description:       yacy is a distributed search engine
#                    config-file is /etc/yacy/yacy.conf
### END INIT INFO

NAME="yacy"
DESC="YaCy P2P Web Search"
YACY_HOME="/usr/share/yacy"
DATA_HOME="/opt/yacy_data"
#DATA_HOME="/var/lib/yacy"
PID_FILE="/var/run/yacy.pid"
USER=yacy


# Set this to the maximum number of seconds the script should try to shutdown
# yacy. You might want to increase this on slower peers or for bigger
# databases.
SHUTDOWN_TIMEOUT=50

# Default niceness if not set in config file
NICE_VAL=0

JAVA_ARGS="-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseAdaptiveSizePolicy"
#check if system supports large memory pages and enable it if possible
HUGEPAGESTOTAL="$(cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g)"
if [ -n "$HUGEPAGESTOTAL" ] && [ $HUGEPAGESTOTAL -ne 0 ]
then
  JAVA_ARGS="$JAVA_ARGS -XX:+UseLargePages"
fi

. /etc/rc.status
rc_reset

if [ "$(id -u)" != "0" ] ; then
   echo "please run this script as root!"
   exit 4
fi

JAVA=$(which java 2> /dev/null)
if [ ! -x "$JAVA" ]; then
   echo "The 'java' command is not executable."
   echo "Either you have not installed java or it is not in your PATH"
   if [ $1 == "stop" -a $2 == "--force" ]; then exit 0; else exit 1; fi
fi

cd $YACY_HOME

JAVA_ARGS="$JAVA_ARGS -Djava.awt.headless=true"
#get javastart args
if [ -f DATA/SETTINGS/yacy.conf ]
then
   # startup memory
   for i in Xmx Xms; do
      j=$(grep javastart_$i DATA/SETTINGS/yacy.conf | sed 's/^[^=]*=//');
      if [ -n $j ]; then JAVA_ARGS="-$j $JAVA_ARGS"; fi;
   done
   
   # Priority
   j=$(grep javastart_priority DATA/SETTINGS/yacy.conf | sed 's/^[^=]*=//');

   if [ ! -z "$j" ];then
      if [ -n $j ]; then NICE_VAL=$j; fi;
   fi
   
else
   JAVA_ARGS="-Xmx120m -Xms120m $JAVA_ARGS"
fi

# generating the proper classpath
CP=/usr/share/java/yacy.jar:$YACY_HOME/htroot
for name in /usr/share/java/yacy/*.jar; do
   CP=$CP:$name
done
CLASSPATH=$CP

if [ -f $PID_FILE ]; then
   pid=$(cat "$PID_FILE")
   pidno=$( ps ax | grep "$pid" | awk '{ print $1 }' | grep "$pid" )
fi

RETVAL=0
case "$1" in
  start)
   if [ -n "$pidno" ]; then
      echo "already running"
      exit 0
   fi

   echo -n "Starting $DESC. "
   ARGS="$JAVA_ARGS -classpath $CLASSPATH yacy"

   cmdline="$JAVA $ARGS"
   nice -$NICE_VAL sudo -u yacy $cmdline &>/dev/null &
   echo $! >$PID_FILE
   sleep 1
   ps ax|grep "^ *$(cat $PID_FILE)" > /dev/null
   if [ "$?" == "0" ]; then

      rc_status -v
      RETVAL=0
   else

      rc_failed
      rc_status -v
      RETVAL=1
   fi
   ;;
   
  stop)
   if [ -n "$pidno" ]; then

      echo -n "Shutting down $DESC: "
      cd $YACY_HOME
      cmdline="$JAVA $JAVA_ARGS -cp $CLASSPATH yacy -shutdown"
      sudo -u yacy $cmdline &>/dev/null &
      shutdown_pid=$!

      timeout=$SHUTDOWN_TIMEOUT
      while [ -n "$pidno" ]; do
         let timeout=$timeout-1
         if [ $timeout -eq 0 ]; then
            kill -9 $pid &>/dev/null
            # dont forget to kill shutdown process if necessary
            shutdown_pid=$( ps ax | grep $shutdown_pid | awk '{ print $1 }' | grep $shutdown_pid )
            if [ -n "$shutdown_pid" ] ; then
               kill -9 $shutdown_pid
            fi
            break
         fi
         echo -n  "."
         sleep 1
         pidno=$( ps ax | grep $pid | awk '{ print $1 }' | grep $pid )
      done
      rm $PID_FILE
      cd - >/dev/null

      rc_status -v
      exit 0
   fi
   echo "not running."
   ;;

  restart)
   $0 stop
   sleep 1
   $0 start
   ;;
  reload)
   $0 restart
   ;;
  status)
   # needed by Fedora
   if [ -n "$pidno" ]; then
      echo "is running."
      exit 0
   else
      if [ -f $PID_FILE ]; then
         echo "is dead, but pid file exists."
         exit 1
      else
         echo "is not running."
         exit 3
      fi
   fi
   ;;
  *)
   echo "Usage: $0 {start|stop|restart}" >&2
   exit 1
   ;;
esac

exit $RETVAL
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am

ARGH

Beitragvon fl6 » Di Okt 21, 2008 7:06 pm

:oops: Das Problem ist gelöst. Ursache war die Rechtevergabe.

Das Verzeichniss "/opt/yacy_data" und deren Unterverzeichnisse hatte als owner yacy.root (permissions 40755).
Nach der Änderung für die Unterverzeichnisse (also der "DATA" Inhalt) auf owner yacy.users (permissions 40755) läufts. "/opt/yacy_data" hat weiterhin yacy.root als Eigentümer (permissions 40755).

Typisch, dass man an allen möglichen Ecken rumsucht, die Lösung aber wie immer an der eigentlichen Quelle liegt (ahwa) ...
Wieso aber gibt YaCy den "anomic.tools.diskUsage.checkVolumesInUseUnix(diskUsage.java:241)" Fehler aus, wenn der User yacy unter dem YaCy ja läuft alle erforderlichen Rechte hat? Läuft der Disk-checker in einem anderem User-Kontext??

Dank an alle für ihre Hilfe !
fl6
 
Beiträge: 10
Registriert: Mo Okt 13, 2008 6:37 am


Zurück zu Fragen und Antworten

Wer ist online?

Mitglieder in diesem Forum: YaCy [Bot] und 1 Gast