Thread: [wiki2xhtml-users] Nullpointer Exception while generating doc_de.wiki, doc_design_de.wiki and links
Brought to you by:
granjow
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-03-04 16:27:38
|
Hello @All, i have a problem generating the files called doc_de.wiki, doc_design_de.wiki and links-de.wiki as html files with wiki2xhtml. I got the following failure, but no more information: Any help is appreciated. Regards Axel -------------------------------------- lxpool034.wob.vw.vwg:/home/wasweb/bin/wiki2xhtml - lxpool034 - 6.1.0.21 - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1064 - (-bash) wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki" wiki2xhtml 3.3-rc1 (Aug 10, 2008) Sprache ist nun de Dateien: /appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki ===== OS: Linux (i386) Hallo wasweb! Java Version 1.6.0_06 Position: /home/wasweb/bin/wiki2xhtml Dateitrenner: / Linientrenner: \n (Unix) ===== Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style Style directory: /home/wasweb/bin/wiki2xhtml/style/hd /appl/DOC/websysteme/htdocs/WebSphere/doc_de.html ... setting title: Dokumentation Websphere Doku .::Volkswagen-K-SII-2/1 Websphere Exception in thread "main" java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at program.utilities.IORead.readSBuilder(IORead.java:74) at program.utilities.IORead.readSBuffer(IORead.java:66) at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) at program.templateHandler.Template.readTemplate(Template.java:148) at program.templateHandler.Template.applyTemplate(Template.java:101) at program.templateHandler.TemplateManager.applyTemplates(TemplateManager.java:73) at program.XHTML.wiki2xhtml(XHTML.java:180) at program.UserInterface.make(UserInterface.java:336) at program.UserInterface.main(UserInterface.java:129) ------------------------------------------- -- mit freundlichen Grüßen / Kind Regards Axel Birndt für K-SIO-C/1 Volkswagen AG 38440 Wolfsburg |
From: Simon E. <sim...@gm...> - 2009-03-04 18:32:58
|
Hi Axel, Could you please check out the newest version from svn? I remember something about a null pointer exception for missing templates that I have fixed some time ago, it possibly doesn't exist anymore in 3.4b3. thanks Simon Birndt, Axel (AutoVision) wrote: > Hello @All, > > i have a problem generating the files called doc_de.wiki, > doc_design_de.wiki and links-de.wiki as html files with wiki2xhtml. > > I got the following failure, but no more information: > > Any help is appreciated. > > Regards Axel > > -------------------------------------- > > lxpool034.wob.vw.vwg:/home/wasweb/bin/wiki2xhtml - lxpool034 - 6.1.0.21 > - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1064 - (-bash) > > wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar > /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de > -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m > "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c > "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td > "/appl/DOC/websysteme/htdocs/WebSphere/" > "/appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki" > > wiki2xhtml 3.3-rc1 (Aug 10, 2008) > Sprache ist nun de > Dateien: /appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki > > ===== > OS: Linux (i386) > Hallo wasweb! > Java Version 1.6.0_06 > Position: /home/wasweb/bin/wiki2xhtml > Dateitrenner: / > Linientrenner: \n (Unix) > ===== > > Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style > Style directory: /home/wasweb/bin/wiki2xhtml/style/hd > /appl/DOC/websysteme/htdocs/WebSphere/doc_de.html ... setting title: > Dokumentation Websphere Doku .::Volkswagen-K-SII-2/1 Websphere > > Exception in thread "main" java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at program.utilities.IORead.readSBuilder(IORead.java:74) > at program.utilities.IORead.readSBuffer(IORead.java:66) > at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) > at program.templateHandler.Template.readTemplate(Template.java:148) > at > program.templateHandler.Template.applyTemplate(Template.java:101) > at > program.templateHandler.TemplateManager.applyTemplates(TemplateManager.java:73) > > at program.XHTML.wiki2xhtml(XHTML.java:180) > at program.UserInterface.make(UserInterface.java:336) > at program.UserInterface.main(UserInterface.java:129) > ------------------------------------------- > > > > > -- > mit freundlichen Grüßen / Kind Regards > > *Axel Birndt* > für K-SIO-C/1 > > Volkswagen AG > > 38440 Wolfsburg > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users |
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-03-05 09:59:01
|
Hi Simon, thanks for the information. I'll try it soon. regards Axel -- mit freundlichen Grüßen / Kind Regards Axel Birndt für K-SIO-C/1 Volkswagen AG 38440 Wolfsburg -----Original Message----- From: Simon Eugster [mailto:sim...@gm...] Sent: Wednesday, March 04, 2009 7:33 PM To: Help/Talk about wiki2xhtml Subject: Re: [wiki2xhtml-users] Nullpointer Exception while generating doc_de.wiki, doc_design_de.wiki and links-de.wiki Code Hi Axel, Could you please check out the newest version from svn? I remember something about a null pointer exception for missing templates that I have fixed some time ago, it possibly doesn't exist anymore in 3.4b3. thanks Simon Birndt, Axel (AutoVision) wrote: > Hello @All, > > i have a problem generating the files called doc_de.wiki, > doc_design_de.wiki and links-de.wiki as html files with wiki2xhtml. > > I got the following failure, but no more information: > > Any help is appreciated. > > Regards Axel > > -------------------------------------- > > lxpool034.wob.vw.vwg:/home/wasweb/bin/wiki2xhtml - lxpool034 - 6.1.0.21 > - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1064 - (-bash) > > wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar > /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de > -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m > "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c > "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td > "/appl/DOC/websysteme/htdocs/WebSphere/" > "/appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki" > > wiki2xhtml 3.3-rc1 (Aug 10, 2008) > Sprache ist nun de > Dateien: /appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki > > ===== > OS: Linux (i386) > Hallo wasweb! > Java Version 1.6.0_06 > Position: /home/wasweb/bin/wiki2xhtml > Dateitrenner: / > Linientrenner: \n (Unix) > ===== > > Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style > Style directory: /home/wasweb/bin/wiki2xhtml/style/hd > /appl/DOC/websysteme/htdocs/WebSphere/doc_de.html ... setting title: > Dokumentation Websphere Doku .::Volkswagen-K-SII-2/1 Websphere > > Exception in thread "main" java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at program.utilities.IORead.readSBuilder(IORead.java:74) > at program.utilities.IORead.readSBuffer(IORead.java:66) > at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) > at program.templateHandler.Template.readTemplate(Template.java:148) > at > program.templateHandler.Template.applyTemplate(Template.java:101) > at > program.templateHandler.TemplateManager.applyTemplates(TemplateManager.java:73) > > at program.XHTML.wiki2xhtml(XHTML.java:180) > at program.UserInterface.make(UserInterface.java:336) > at program.UserInterface.main(UserInterface.java:129) > ------------------------------------------- > > > > > -- > mit freundlichen Grüßen / Kind Regards > > *Axel Birndt* > für K-SIO-C/1 > > Volkswagen AG > > 38440 Wolfsburg > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Wiki2xhtml-users mailing list Wik...@li... https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users |
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-04-01 08:24:11
|
Hi Simon, i find only the Version from https://wiki2xhtml.svn.sourceforge.net/svnroot/wiki2xhtml/trunk/wiki2xhtml-current/ Is this the right version? I doesn't found 3.4b3 (also not in the tags-view). Should the failure be fixed in the current version, or it is better to use wiki2xhtml-33-b7 or wiki2xhtml-3.3-rc1/ ? Thanks an d regards, Axel -----Original Message----- From: Simon Eugster [mailto:sim...@gm...] Sent: Wednesday, March 04, 2009 7:33 PM To: Help/Talk about wiki2xhtml Subject: Re: [wiki2xhtml-users] Nullpointer Exception while generating doc_de.wiki, doc_design_de.wiki and links-de.wiki Code Hi Axel, Could you please check out the newest version from svn? I remember something about a null pointer exception for missing templates that I have fixed some time ago, it possibly doesn't exist anymore in 3.4b3. thanks Simon Birndt, Axel (AutoVision) wrote: > Hello @All, > > i have a problem generating the files called doc_de.wiki, > doc_design_de.wiki and links-de.wiki as html files with wiki2xhtml. > > I got the following failure, but no more information: > > Any help is appreciated. > > Regards Axel > > -------------------------------------- > > lxpool034.wob.vw.vwg:/home/wasweb/bin/wiki2xhtml - lxpool034 - 6.1.0.21 > - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1064 - (-bash) > > wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar > /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de > -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m > "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c > "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td > "/appl/DOC/websysteme/htdocs/WebSphere/" > "/appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki" > > wiki2xhtml 3.3-rc1 (Aug 10, 2008) > Sprache ist nun de > Dateien: /appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki > > ===== > OS: Linux (i386) > Hallo wasweb! > Java Version 1.6.0_06 > Position: /home/wasweb/bin/wiki2xhtml > Dateitrenner: / > Linientrenner: \n (Unix) > ===== > > Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style > Style directory: /home/wasweb/bin/wiki2xhtml/style/hd > /appl/DOC/websysteme/htdocs/WebSphere/doc_de.html ... setting title: > Dokumentation Websphere Doku .::Volkswagen-K-SII-2/1 Websphere > > Exception in thread "main" java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at program.utilities.IORead.readSBuilder(IORead.java:74) > at program.utilities.IORead.readSBuffer(IORead.java:66) > at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) > at program.templateHandler.Template.readTemplate(Template.java:148) > at > program.templateHandler.Template.applyTemplate(Template.java:101) > at > program.templateHandler.TemplateManager.applyTemplates(TemplateManager.java:73) > > at program.XHTML.wiki2xhtml(XHTML.java:180) > at program.UserInterface.make(UserInterface.java:336) > at program.UserInterface.main(UserInterface.java:129) > ------------------------------------------- > > > > > -- > mit freundlichen Grüßen / Kind Regards > > *Axel Birndt* > für K-SIO-C/1 > > Volkswagen AG > > 38440 Wolfsburg > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > > > ------------------------------------------------------------------------ > > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Wiki2xhtml-users mailing list Wik...@li... https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Wiki2xhtml-users mailing list Wik...@li... https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users |
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-03-27 08:09:25
|
Hello Simon, i tried it with the version 3.3.2 from the wiki2xhtml.jar. Could you help me and send me the actual wiki2xhtml.jar from subversion? Maybe it exists already on your harddisk? Thanks an regards Axel lxpool034.wob.vw.vwg:/appl/DOC/websysteme/Wiki_Quelltexte - lxpool034 - 6.1.0.21 - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1072 - (-bash) wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/doc_design_de.wiki" wiki2xhtml 3.3.2 (Dec 17, 2008) Sprache ist nun de Dateien: doc_design_de.wiki ===== OS: Linux (i386) Hi wasweb! Java Version: 1.6.0_06 Position: /appl/DOC/websysteme/Wiki_Quelltexte File Separator: / Line Separator: \n (Unix) ===== Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style Zielverzeichnis: /home/wasweb/bin/wiki2xhtml/style/hd /appl/DOC/websysteme/htdocs/WebSphere/doc_design_de.html ... setting title: Eigene Designs Websphere Doku .::Volkswagen-K-SII-2/1 Websphere Exception in thread "main" java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at program.utilities.IORead.readSBuilder(IORead.java:74) at program.utilities.IORead.readSBuffer(IORead.java:66) at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) at program.templateHandler.Template.readTemplate(Template.java:148) at program.templateHandler.Template.applyTemplate(Template.java:101) at program.templateHandler.TemplateManager.applyTemplates(TemplateManager.j ava:74) at program.XHTML.wiki2xhtml(XHTML.java:190) at program.UserInterface.make(UserInterface.java:348) at program.UserInterface.main(UserInterface.java:141) -----Original Message----- From: Birndt, Axel (AutoVision) [mailto:ext...@vo...] Sent: Thursday, March 05, 2009 10:59 AM To: Help/Talk about wiki2xhtml Subject: Re: [wiki2xhtml-users] Nullpointer Exception whilegenerating doc_de.wiki, doc_design_de.wiki and links-de.wiki Code Hi Simon, thanks for the information. I'll try it soon. regards Axel .... Could you please check out the newest version from svn? I remember something about a null pointer exception for missing templates that I have fixed some time ago, it possibly doesn't exist anymore in 3.4b3. thanks Simon |
From: Simon E. <sim...@gm...> - 2009-03-27 08:42:15
|
Hi Axel, You can also build it by yourself, just check out the repo and then type javac program/UserInterface.java && ant ant must be installed. Simon 2009/3/27 Birndt, Axel (AutoVision) <ext...@vo...>: > Hello Simon, > > i tried it with the version 3.3.2 from the wiki2xhtml.jar. > > Could you help me and send me the actual wiki2xhtml.jar from subversion? > Maybe it exists already on your harddisk? > > Thanks an regards > Axel > > > lxpool034.wob.vw.vwg:/appl/DOC/websysteme/Wiki_Quelltexte - lxpool034 - > 6.1.0.21 - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1072 - (-bash) > wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar > /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de > -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m > "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c > "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td > "/appl/DOC/websysteme/htdocs/WebSphere/" > "/appl/DOC/websysteme/Wiki_Quelltexte/doc_design_de.wiki" > wiki2xhtml 3.3.2 (Dec 17, 2008) > Sprache ist nun de > Dateien: doc_design_de.wiki > > ===== > OS: Linux (i386) > Hi wasweb! > Java Version: 1.6.0_06 > Position: /appl/DOC/websysteme/Wiki_Quelltexte > File Separator: / > Line Separator: \n (Unix) > ===== > > Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style > Zielverzeichnis: /home/wasweb/bin/wiki2xhtml/style/hd > /appl/DOC/websysteme/htdocs/WebSphere/doc_design_de.html ... setting > title: Eigene Designs Websphere Doku .::Volkswagen-K-SII-2/1 Websphere > Exception in thread "main" java.lang.NullPointerException > at java.io.FileInputStream.<init>(FileInputStream.java:103) > at program.utilities.IORead.readSBuilder(IORead.java:74) > at program.utilities.IORead.readSBuffer(IORead.java:66) > at > program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) > at > program.templateHandler.Template.readTemplate(Template.java:148) > at > program.templateHandler.Template.applyTemplate(Template.java:101) > at > program.templateHandler.TemplateManager.applyTemplates(TemplateManager.j > ava:74) > at program.XHTML.wiki2xhtml(XHTML.java:190) > at program.UserInterface.make(UserInterface.java:348) > at program.UserInterface.main(UserInterface.java:141) > > -----Original Message----- > From: Birndt, Axel (AutoVision) > [mailto:ext...@vo...] > Sent: Thursday, March 05, 2009 10:59 AM > To: Help/Talk about wiki2xhtml > Subject: Re: [wiki2xhtml-users] Nullpointer Exception whilegenerating > doc_de.wiki, doc_design_de.wiki and links-de.wiki Code > > Hi Simon, > > thanks for the information. I'll try it soon. > > regards Axel > > .... > > Could you please check out the newest version from svn? I remember > something about a null pointer exception for missing templates that I > have > fixed some time ago, it possibly doesn't exist anymore in 3.4b3. > > thanks > Simon > > ------------------------------------------------------------------------------ > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > |
From: Simon E. <sim...@gm...> - 2009-04-01 09:24:21
|
Hi Axel, Yes, it is the HEAD revision (in trunk), the most up-to-date. The directories in https://wiki2xhtml.svn.sourceforge.net/svnroot/wiki2xhtml/tags/ are just snapshots from old versions. In HEAD the problem should be fixed. Simon 2009/4/1 Birndt, Axel (AutoVision) <ext...@vo...>: > Hi Simon, > > i find only the Version from https://wiki2xhtml.svn.sourceforge.net/svnroot/wiki2xhtml/trunk/wiki2xhtml-current/ > Is this the right version? I doesn't found 3.4b3 (also not in the tags-view). > > Should the failure be fixed in the current version, or it is better to use wiki2xhtml-33-b7 or wiki2xhtml-3.3-rc1/ ? > > Thanks an d regards, Axel > > -----Original Message----- > From: Simon Eugster [mailto:sim...@gm...] > Sent: Wednesday, March 04, 2009 7:33 PM > To: Help/Talk about wiki2xhtml > Subject: Re: [wiki2xhtml-users] Nullpointer Exception while generating doc_de.wiki, doc_design_de.wiki and links-de.wiki Code > > Hi Axel, > > Could you please check out the newest version from svn? I remember > something about a null pointer exception for missing templates that I have > fixed some time ago, it possibly doesn't exist anymore in 3.4b3. > > thanks > Simon > > Birndt, Axel (AutoVision) wrote: >> Hello @All, >> >> i have a problem generating the files called doc_de.wiki, >> doc_design_de.wiki and links-de.wiki as html files with wiki2xhtml. >> >> I got the following failure, but no more information: >> >> Any help is appreciated. >> >> Regards Axel >> >> -------------------------------------- >> >> lxpool034.wob.vw.vwg:/home/wasweb/bin/wiki2xhtml - lxpool034 - 6.1.0.21 >> - prod K-SII-2/1 UA-Server(AdminLinux) ilinux - 1064 - (-bash) >> >> wasweb: /usr/java/jdk1.6.0_06/jre/bin/java -jar >> /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --debug --verbose --lang=de >> -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m >> "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c >> "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td >> "/appl/DOC/websysteme/htdocs/WebSphere/" >> "/appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki" >> >> wiki2xhtml 3.3-rc1 (Aug 10, 2008) >> Sprache ist nun de >> Dateien: /appl/DOC/websysteme/Wiki_Quelltexte/doc_de.wiki >> >> ===== >> OS: Linux (i386) >> Hallo wasweb! >> Java Version 1.6.0_06 >> Position: /home/wasweb/bin/wiki2xhtml >> Dateitrenner: / >> Linientrenner: \n (Unix) >> ===== >> >> Directory already exists: /appl/DOC/websysteme/htdocs/WebSphere/style >> Style directory: /home/wasweb/bin/wiki2xhtml/style/hd >> /appl/DOC/websysteme/htdocs/WebSphere/doc_de.html ... setting title: >> Dokumentation Websphere Doku .::Volkswagen-K-SII-2/1 Websphere >> >> Exception in thread "main" java.lang.NullPointerException >> at java.io.FileInputStream.<init>(FileInputStream.java:103) >> at program.utilities.IORead.readSBuilder(IORead.java:74) >> at program.utilities.IORead.readSBuffer(IORead.java:66) >> at program.utilities.IORead_Stats.readSBuffer(IORead_Stats.java:45) >> at program.templateHandler.Template.readTemplate(Template.java:148) >> at >> program.templateHandler.Template.applyTemplate(Template.java:101) >> at >> program.templateHandler.TemplateManager.applyTemplates(TemplateManager.java:73) >> >> at program.XHTML.wiki2xhtml(XHTML.java:180) >> at program.UserInterface.make(UserInterface.java:336) >> at program.UserInterface.main(UserInterface.java:129) >> ------------------------------------------- >> >> >> >> >> -- >> mit freundlichen Grüßen / Kind Regards >> >> *Axel Birndt* >> für K-SIO-C/1 >> >> Volkswagen AG >> >> 38440 Wolfsburg >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA >> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise >> -Strategies to boost innovation and cut costs with open source participation >> -Receive a $600 discount off the registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Wiki2xhtml-users mailing list >> Wik...@li... >> https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > > ------------------------------------------------------------------------------ > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > |
From: Axel B. <tow...@gm...> - 2009-04-01 09:28:00
|
Simon Eugster schrieb: > Hi Axel, > > Yes, it is the HEAD revision (in trunk), the most up-to-date. The > directories in > https://wiki2xhtml.svn.sourceforge.net/svnroot/wiki2xhtml/tags/ > are just snapshots from old versions. In HEAD the problem should be fixed. Ok, thanks a lot for your effort. I will try this and give feedback. Regards Axel |
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-04-03 09:31:23
|
> Ok, thanks a lot for your effort. > > I will try this and give feedback. > > Regards Axel Hello Simon, it is the same problem like some months before. After creating the wiki2xhtml.jar-File i tried to do the conversion. But it fails with the following error message: wasweb: while true ; do co_was_doku ;conv_wiki_batch; sleep 120; done Checked out revision 312. Wiki-Files werden jetzt konvertiert. Wiki-File: about-de.wiki WIKI_NAME: about-de WIKI_BILDER_DIR:.about-de_img /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/about-de.wiki" Exception in thread "main" java.lang.NoClassDefFoundError: program/UserInterface Caused by: java.lang.ClassNotFoundException: program.UserInterface at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Wiki-File: Apache_Documents.wiki WIKI_NAME: Apache_Documents I built a script which is converting all files in the directory an doing some additional steps. On my other machine i had the same error as described above. In my opinion your last solution was a call to "javac program/UserInterface.java" Is there also an easier way to get a correct build for the wiki2xhtml.jar-File? It would be a nice thing to have a complete building script for this, with checking the most issus. Thanks and regards Axel Birndt -- mit freundlichen Grüßen / Kind Regards Axel Birndt für K-SIO-C/1 Volkswagen AG 38440 Wolfsburg |
From: Axel B. <tow...@gm...> - 2009-04-03 09:43:21
Attachments:
compile_failure
|
Birndt, Axel (AutoVision) schrieb: > /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/about-de.wiki" > Exception in thread "main" java.lang.NoClassDefFoundError: program/UserInterface > Caused by: java.lang.ClassNotFoundException: program.UserInterface ... > In my opinion your last solution was a call to "javac program/UserInterface.java" Now, i'am using the javac Call and got the following errors. I will attach the logfile. thanks. Maybe you could send me an successful built file? -- Gruß Axel |
From: Simon E. <sim...@gm...> - 2009-04-03 14:49:20
|
Hi Axel, Sorry, I now see the problem. Java 6 is required. Here a precompiled version: http://granjow.net/uploads/temp/wiki2xhtml-3.4b3.tar.bz2 Also I've added a build script now (build.sh) which automatically builds wiki2xhtml. (doesn't do java version tests etc. yet!) Simon Birndt, Axel (AutoVision) wrote: >> Ok, thanks a lot for your effort. >> >> I will try this and give feedback. >> >> Regards Axel > > Hello Simon, > > it is the same problem like some months before. > > After creating the wiki2xhtml.jar-File i tried to do the conversion. > > But it fails with the following error message: > > > wasweb: while true ; do co_was_doku ;conv_wiki_batch; sleep 120; done > Checked out revision 312. > Wiki-Files werden jetzt konvertiert. > Wiki-File: about-de.wiki > WIKI_NAME: about-de > WIKI_BILDER_DIR:.about-de_img > /usr/java/jdk1.6.0_06/jre/bin/java -jar /home/wasweb/bin/wiki2xhtml/wiki2xhtml.jar --lang=de -s "/home/wasweb/bin/wiki2xhtml/style/hd" -m "/appl/DOC/websysteme/Wiki_Quelltexte/menu.txt" -c "/appl/DOC/websysteme/Wiki_Quelltexte/common.txt" --td "/appl/DOC/websysteme/htdocs/WebSphere/" "/appl/DOC/websysteme/Wiki_Quelltexte/about-de.wiki" > Exception in thread "main" java.lang.NoClassDefFoundError: program/UserInterface > Caused by: java.lang.ClassNotFoundException: program.UserInterface > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > Wiki-File: Apache_Documents.wiki > WIKI_NAME: Apache_Documents > > I built a script which is converting all files in the directory an doing some additional steps. > On my other machine i had the same error as described above. > > In my opinion your last solution was a call to "javac program/UserInterface.java" > > Is there also an easier way to get a correct build for the wiki2xhtml.jar-File? > > It would be a nice thing to have a complete building script for this, with checking the most issus. > > Thanks and regards > > Axel Birndt > |
From: Birndt, A. (AutoVision) <ext...@vo...> - 2009-04-06 07:42:49
|
Hi Simon, > Sorry, I now see the problem. Java 6 is required. > Here a precompiled version: > http://granjow.net/uploads/temp/wiki2xhtml-3.4b3.tar.bz2 > > Also I've added a build script now (build.sh) which automatically builds > wiki2xhtml. (doesn't do java version tests etc. yet!) Thank your for compiling the new version. Yes you are right, maybe i used the wrong java on my laptop. Sorry for this. I'm not so familiar with java and i'am not a developer. I tried now to use the new wiki2xhtml.jar in version 3.4.b3 an it is working fine. Once again, sorry for the trouble. I have one more point of trouble, with the stylesheet. I think it's better to open an new thread for this. -- mit freundlichen Grüßen / Kind Regards Axel Birndt |
From: Simon E. <sim...@gm...> - 2009-04-06 10:08:15
|
Hi Axel, Glad to hear that. Something I forgot to mention, you run /usr/java...1.6.../java. Did you also use it for compiling? ;) Simon 2009/4/6 Birndt, Axel (AutoVision) <ext...@vo...>: > > Hi Simon, > > >> Sorry, I now see the problem. Java 6 is required. >> Here a precompiled version: >> http://granjow.net/uploads/temp/wiki2xhtml-3.4b3.tar.bz2 >> >> Also I've added a build script now (build.sh) which automatically builds >> wiki2xhtml. (doesn't do java version tests etc. yet!) > > Thank your for compiling the new version. Yes you are right, maybe i used the wrong java on my laptop. Sorry for this. I'm not so familiar with java and i'am not a developer. > > I tried now to use the new wiki2xhtml.jar in version 3.4.b3 an it is working fine. Once again, sorry for the trouble. > > I have one more point of trouble, with the stylesheet. I think it's better to open an new thread for this. > > -- > mit freundlichen Grüßen / Kind Regards > > Axel Birndt > > ------------------------------------------------------------------------------ > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > |
From: Axel B. <tow...@gm...> - 2009-04-06 10:29:42
|
Hi Simon, Simon Eugster schrieb: > Hi Axel, > > Glad to hear that. > > Something I forgot to mention, you run /usr/java...1.6.../java. Did > you also use it for compiling? ;) I think i doesn't do this. >> Yes you are right, maybe i used the wrong java on my laptop. Sorry for this. I'm not so familiar with java and i'am not a developer. I'm working on two different machines. On my Win* Desktop i have only the cygwin shell. To compile the application here is really difficult, and so i tried it on my laptop (Kubuntu is running here). abirndt@UBUNTUNB:.../wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) I tried now your new build.sh script, but i got the same failure as i sent to you in my mail from april the 3rd, 11:43am, german time. .... Syntax error, 'for each' statements are only available if source level is 5.0 ---------- 109 problems (107 errors, 2 warnings)Creating .jar file ... Buildfile: build.xml [jar] Building jar: /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar ..... abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ which ant /usr/bin/ant abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ ant -v Apache Ant version 1.7.0 compiled on August 29 2007 Buildfile: build.xml Detected Java version: 1.6 in: /usr/lib/jvm/java-6-sun-1.6.0.06/jre Detected OS: Linux parsing buildfile /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml with URI = file:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml Project base dir set to: /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found. [jar] bin/l10n/Messages_de$1.class omitted as /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar:bin/l10n/Messages_de$1.class is up to date. |
From: Simon E. <sim...@gm...> - 2009-04-07 06:55:29
|
Hi Axel, Could you try to use javac with the argument «-source 1.6» then? It seems to believe that the source code is Java 1.4 or so. I have updated the build script too. Simon 2009/4/6 Axel Birndt <tow...@gm...>: > Hi Simon, > > Simon Eugster schrieb: >> Hi Axel, >> >> Glad to hear that. >> >> Something I forgot to mention, you run /usr/java...1.6.../java. Did >> you also use it for compiling? ;) > > I think i doesn't do this. > >>> Yes you are right, maybe i used the wrong java on my laptop. Sorry > for this. I'm not so familiar with java and i'am not a developer. > > > I'm working on two different machines. On my Win* Desktop i have only > the cygwin shell. To compile the application here is really difficult, > and so i tried it on my laptop (Kubuntu is running here). > > abirndt@UBUNTUNB:.../wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > java -version > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) > > > I tried now your new build.sh script, but i got the same failure as i > sent to you in my mail from april the 3rd, 11:43am, german time. > > .... > Syntax error, 'for each' statements are only available if source level > is 5.0 > ---------- > 109 problems (107 errors, 2 warnings)Creating .jar file ... > Buildfile: build.xml > [jar] Building jar: > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar > ..... > > > abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > which ant > /usr/bin/ant > > abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > > > ant -v > Apache Ant version 1.7.0 compiled on August 29 2007 > Buildfile: build.xml > Detected Java version: 1.6 in: /usr/lib/jvm/java-6-sun-1.6.0.06/jre > Detected OS: Linux > parsing buildfile > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml > with URI = > file:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/build.xml > Project base dir set to: > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current > [antlib:org.apache.tools.ant] Could not load definitions from resource > org/apache/tools/ant/antlib.xml. It could not be found. > [jar] bin/l10n/Messages_de$1.class omitted as > /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki2xhtml.jar:bin/l10n/Messages_de$1.class > is up to date. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Wiki2xhtml-users mailing list > Wik...@li... > https://lists.sourceforge.net/lists/listinfo/wiki2xhtml-users > |
From: Axel B. <tow...@gm...> - 2009-04-07 07:50:15
|
Hi Simon, Simon Eugster schrieb: > Hi Axel, > > Could you try to use javac with the argument «-source 1.6» then? It > seems to believe that the source code is Java 1.4 or so. > I have updated the build script too. > > Simon i'm sorry, but it is the same failure with your new option. But there are not so much error messages. abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ java -jar wiki2xhtml.jar wiki2xhtml 3.4b3 (Feb 26, 2008) Öffne GUI. Dateien: /media/suse_home/apache/lxpool034.wob.vw.vwg/websysteme/Wiki_Quelltexte/WAS_6.1_EJB_3.0_Feature_Pack.wiki doc-design-de.txt Exception in thread "main" java.lang.NullPointerException at program.GUI.updateSettings(GUI.java:153) at program.GUI.gui(GUI.java:1510) at program.UserInterface.runGui(UserInterface.java:81) at program.Handler_Arguments.handleCommandLineArguments(Handler_Arguments.java:141) at program.UserInterface.main(UserInterface.java:139) ------------------------------------------------------------- java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) ==> which runtime of the java jvm do you using? Do you use the same one? Error Messages while Ant is running: ---------------------------------------------------------------------------------------- abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ ./build.sh Generating .po files ... .................... fertig. ................... fertig. .................... fertig. ................... fertig. ................... fertig. ................... fertig. .................... fertig. ................... fertig. ................... fertig. ................... fertig. .................... fertig. Generating l10n class files ... Compiling wiki2xhtml ... Annotation processing got disabled, since it requires a 1.6 compliant JVM ---------- 1. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 114) public static I18n getI18n(final Class clazz) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- 2. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 125) public static I18n getI18n(final Class clazz, final Locale locale) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- 3. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 160) public static I18n getI18n(final Class clazz, final Locale locale, final int flags) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- 4. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 189) public static I18n getI18n(final Class clazz, final String bundleName) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- 5. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 200) public static I18n getI18n(final Class clazz, final String bundleName, final Locale locale) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- 6. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nFactory.java (at line 211) public static I18n getI18n(final Class clazz, final String bundleName, final Locale locale, int flags) ^^^^^ Class is a raw type. References to generic type Class<T> should be parameterized ---------- ---------- 7. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nCache.java (at line 41) private final Map i18nByPackage = Collections.synchronizedMap(new HashMap()); ^^^ Map is a raw type. References to generic type Map<K,V> should be parameterized ---------- 8. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nCache.java (at line 41) private final Map i18nByPackage = Collections.synchronizedMap(new HashMap()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: Unchecked invocation synchronizedMap(Map) of the generic method synchronizedMap(Map<K,V>) of type Collections ---------- 9. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/commo ns/i18n/I18nCache.java (at line 41) private final Map i18nByPackage = Collections.synchronizedMap(new HashMap()); ^^^^^^^^^^^^^ Type safety: The expression of type HashMap needs unchecked conversion to conform to Map<K,V> ---------- 10. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 41) private final Map i18nByPackage = Collections.synchronizedMap(new HashMap()); ^^^^^^^ HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized ---------- 11. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 58) List list = (List)i18nByPackage.get(packageName); ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 12. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 58) List list = (List)i18nByPackage.get(packageName); ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 13. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 61) for (Iterator it = list.iterator(); it.hasNext();) { ^^^^^^^^ Iterator is a raw type. References to generic type Iterator<E> should be parameterized ---------- 14. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 74) List list; ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 15. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 76) list = (List)i18nByPackage.get(packageName); ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 16. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 78) list = Collections.synchronizedList(new ArrayList(2)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: Unchecked invocation synchronizedList(List) of the generic method synchronizedList(List<T>) of type Collections ---------- 17. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 78) list = Collections.synchronizedList(new ArrayList(2)); ^^^^^^^^^^^^^^^^ Type safety: The expression of type ArrayList needs unchecked conversion to conform to List<T> ---------- 18. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 78) list = Collections.synchronizedList(new ArrayList(2)); ^^^^^^^^^ ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized ---------- 19. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 79) i18nByPackage.put(packageName, list); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be paramet erized ---------- 20. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 82) list.add(i18n); ^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized ---------- 21. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 87) List[] lists; ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 22. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 89) lists = (List[])i18nByPackage.values().toArray(new List[0]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized ---------- 23. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 92) List list = lists[i]; ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 24. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nCache.java (at line 94) for (Iterator it2 = list.iterator(); it2.hasNext();) { ^^^^^^^^ Iterator is a raw type. References to generic type Iterator<E> should be parameterized ---------- ---------- 25. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 46) List i18ns = Collections.synchronizedList(new ArrayList()); ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 26. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 46) List i18ns = Collections.synchronizedList(new ArrayList()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: Unchecked invocation synchronizedList(List) of the generic method synchronizedList(List<T>) of type Collections ---------- 27. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 46) List i18ns = Collections.synchronizedList(new ArrayList()); ^^^^^^^^^^^^^^^ Type safety: The expression of type ArrayList needs unchecked conversion to conform to List<T> ---------- 28. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 46) List i18ns = Collections.synchronizedList(new ArrayList()); ^^^^^^^^^ ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized ---------- 29. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 49) List localeChangeListeners = new ArrayList(); ^^^^ List is a raw type. References to generic type List<E> should be parameterized ---------- 30. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 49) List localeChangeListeners = new ArrayList(); ^^^^^^^^^ ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized ---------- 31. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 78) i18ns.add(i18n); ^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized ---------- 32. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 100) for (Iterator it = i18ns.iterator(); it.hasNext();) { ^^^^^^^^ Iterator is a raw type. References to generic type Iterator<E> should be parameterized ---------- 33. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 120) localeChangeListeners.add(listener); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized ---------- 34. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 140) localeChangeListeners.add(new WeakLocaleChangeListener(listener)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List<E> should be parameterized ---------- 35. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 184) listeners = (LocaleChangeListener[])localeChangeListeners.toArray(new LocaleChangeListener[0]); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method toArray(Object[]) belongs to the raw type List. References to generic type List<E> should be parameter ized ---------- 36. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 196) private WeakReference reference; ^^^^^^^^^^^^^ WeakReference is a raw type. References to generic type WeakReference<T> should be parameterized ---------- 37. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 200) reference = new WeakReference(listener); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The constructor WeakReference(Object) belongs to the raw type WeakReference. References to generic type WeakRefer ence<T> should be parameterized ---------- 38. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/I18nManager.java (at line 200) reference = new WeakReference(listener); ^^^^^^^^^^^^^ WeakReference is a raw type. References to generic type WeakReference<T> should be parameterized ---------- ---------- 39. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/EmptyResourceBundle.java (at line 30) public Enumeration getKeys() ^^^^^^^^^^^ Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized ---------- 40. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/EmptyResourceBundle.java (at line 30) public Enumeration getKeys() ^^^^^^^^^^^ Type safety: The return type Enumeration for getKeys() from the type EmptyResourceBundle needs unchecked conversion to conform to Enumeration<String> from the type ResourceBundle ---------- 41. WARNING in /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/./org/xnap/comm ons/i18n/EmptyResourceBundle.java (at line 40) private static class EmptyStringEnumeration implements Enumeration ^^^^^^^^^^^ Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized ---------- 41 problems (41 warnings)Creating .jar file ... Buildfile: build.xml [jar] Building jar: /media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current/wiki 2xhtml.jar BUILD SUCCESSFUL Total time: 2 seconds |
From: Simon E. <sim...@gm...> - 2009-04-07 10:02:01
|
Hi Axel, Compiling seems to work fine now. There are only warnings and no errors, and the warning are because of backward compatibility to older java versions for the xnap package. Could you please take a look at your ~/.wiki2xhtml/config.txt file, especially at the line starting with LastArguments? This are the arguments wiki2xhtml is started up with; you could try to delete this line and check whether it works then. Is there a strange directory name for the target directory, perhaps? Simon 2009/4/7 Axel Birndt <tow...@gm...>: > Hi Simon, > > Simon Eugster schrieb: >> Hi Axel, >> >> Could you try to use javac with the argument «-source 1.6» then? It >> seems to believe that the source code is Java 1.4 or so. >> I have updated the build script too. >> >> Simon > > > i'm sorry, but it is the same failure with your new option. But there > are not so much error messages. > > abirndt@UBUNTUNB:/media/suse_home/abirndt/Downloads/wiki2xhtml/wiki2xhtml_Subversion_Checkout/wiki2xhtml-current$ > java -jar wiki2xhtml.jar > wiki2xhtml 3.4b3 (Feb 26, 2008) > Öffne GUI. > Dateien: > /media/suse_home/apache/lxpool034.wob.vw.vwg/websysteme/Wiki_Quelltexte/WAS_6.1_EJB_3.0_Feature_Pack.wiki > doc-design-de.txt > Exception in thread "main" java.lang.NullPointerException > at program.GUI.updateSettings(GUI.java:153) > at program.GUI.gui(GUI.java:1510) > at program.UserInterface.runGui(UserInterface.java:81) > at > program.Handler_Arguments.handleCommandLineArguments(Handler_Arguments.java:141) > at program.UserInterface.main(UserInterface.java:139) > > ------------------------------------------------------------- > > java -version > java version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode) > > ==> which runtime of the java jvm do you using? Do you use the same one? > |
From: Axel B. <tow...@gm...> - 2009-04-07 10:47:57
|
Hi Simon, Simon Eugster schrieb: > Hi Axel, > > Compiling seems to work fine now. Yes this is my opinion too. > There are only warnings and no > errors, and the warning are because of backward compatibility to older > java versions for the xnap package. ok, thanks. But if i try to start wiki2xhtml i have the following error message: > > Could you please take a look at your ~/.wiki2xhtml/config.txt file, i only have a file named "settings.txt" > especially at the line starting with LastArguments? This are the > arguments wiki2xhtml is started up with; you could try to delete this > line and check whether it works then. Ey, whats this. This is strange in my mind. If i delete the line with "LastArgument" java -jar wiki2html.jar is running fine. Now the "LastArgument" line is empty. > Is there a strange directory > name for the target directory, perhaps? No, why do you think this :D ;) It's my normal path :-) The path is without spaces and no special keys. May be a little bit long...but it's difficult to map all wishes to my path conventions ;) thanks a lot for your help. I hope your effort was not to high? But i think the build.sh is now running fine, and so it's very easy for other people to build wiki2xhtml.jar from scratch and got it running. Maybe it's not a bad idea to do some checks in the build.sh, especially for the running java version ;) -- Gruß Axel |