xwiki build.456 Build Successful
View results here -> http://build.xpertnet.biz/cc/buildresults/xwiki?log=log20061206103353Lbuild....
Hello! I'm working on realization of XWikiStoreInterface to storing pages and attachments in svn (JavaSvn lib). Every time after launch (and while working) i see two exceptions: "java.lang.NullPointerException at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.findVisitByIPUA(XWikiStatsServiceImpl.java:432)" and "java.lang.NullPointerException at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:216)" In what a problem? Where is a mistake? Big thanks. Sorry for my terrible english.
Hi Vitaliy,
-----Original Message----- From: Vitaliy [mailto:[email protected]] Sent: mercredi 6 décembre 2006 11:21 To: [email protected] Subject: [xwiki-dev] Exceptions while working
Hello!
I'm working on realization of XWikiStoreInterface to storing pages and attachments in svn (JavaSvn lib).
This is very cool and something I'm also very interested in. Would you mind sharing what architecture you're planning to have? Are you going to create a chain of XWikiStoreInterface (meaning the data would be saved both in SVN and in the database)? If not, how do you plan to implement searching in SVN for example?
Every time after launch (and while working) i see two exceptions: "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.findVisitByIPUA(XWikiSta tsServiceImpl.java:432)" and "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsService Impl.java:216)"
In what a problem? Where is a mistake?
Unfortunately I'm just starting with xwiki and I can't help you for now. I hope someone else here can provide some help. I have my hands full till the 15th of Dec but after that I hope I'll be able to help you more... Thanks -Vincent ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Hi Vincet,
I'm working on realization of XWikiStoreInterface to storing pages and attachments in svn (JavaSvn lib).
This is very cool and something I'm also very interested in. Would you mind sharing what architecture you're planning to have? Are you going to create a chain of XWikiStoreInterface (meaning the data would be saved both in SVN and in the database)? Only in Svn, it's almost ready (already save and load pages and attachments).
If not, how do you plan to implement searching in SVN for example?
I think, using Lucene.
Every time after launch (and while working) i see two exceptions: "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.findVisitByIPUA(XWikiSta tsServiceImpl.java:432)" and "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsService Impl.java:216)"
In what a problem? Where is a mistake?
Unfortunately I'm just starting with xwiki and I can't help you for now. I hope someone else here can provide some help. I have my hands full till the 15th of Dec but after that I hope I'll be able to help you more...
Ok ) Thanks - Vitaliy
Hi Vitaliy,
-----Original Message----- From: Vitaliy [mailto:[email protected]] Sent: mercredi 6 décembre 2006 11:51 To: [email protected] Subject: Re: [xwiki-dev] Exceptions while working
Hi Vincet,
I'm working on realization of XWikiStoreInterface to storing pages and attachments in svn (JavaSvn lib).
This is very cool and something I'm also very interested in. Would you mind sharing what architecture you're planning to have? Are you going to create a chain of XWikiStoreInterface (meaning the data would be saved both in SVN and in the database)? Only in Svn, it's almost ready (already save and load pages and attachments).
If not, how do you plan to implement searching in SVN for example?
I think, using Lucene.
Yes this is a good idea and I think it'll work. Are you going to do it in this manner: * do an initial checkout on the server * have a scheduler (quartz?) that does a svn update from time to time * when the user saves a page do a svn commit and if there's a svn error do a svn update and try the svn commit again. In case of a second error, then tell the user his change cannot be merged and ask him to save his changes and cancel the edition in order to see the new version of the page. A later improvement would be to show a web conflict editor. ?
Every time after launch (and while working) i see two exceptions: "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.findVisitByIPUA(XWikiS
ta tsServiceImpl.java:432)" and "java.lang.NullPointerException at
com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ce Impl.java:216)"
In what a problem? Where is a mistake?
Unfortunately I'm just starting with xwiki and I can't help you for now. I hope someone else here can provide some help. I have my hands full till the 15th of Dec but after that I hope I'll be able to help you more...
Ok )
Have you been able to progress on this? Is your code somewhere we can look at it? This is really a feature I'd like to see too. Thanks -Vincent ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
Hi, This is the stats module failing with an exception. This is non critical. Lastly this was not happening on production sites. This might be due to development environment. Maybe you are working with an IP address instead of a domain name or maybe you are 127.0.0.1. Anyway an exception needs to be investigated. You should report a bug on JIRA and give us your environement and xwiki version. Ludovic Vitaliy a écrit :
Hello!
I'm working on realization of XWikiStoreInterface to storing pages and attachments in svn (JavaSvn lib). Every time after launch (and while working) i see two exceptions: "java.lang.NullPointerException at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.findVisitByIPUA(XWikiStatsServiceImpl.java:432)"
and "java.lang.NullPointerException at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:216)"
In what a problem? Where is a mistake?
Big thanks. Sorry for my terrible english.
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost AIM: nvludo Yahoo: ludovic
participants (4)
-
Ludovic Dubost -
ludovic@xwiki.org -
Vincent Massol -
Vitaliy