Search: Exception while reading document [xwiki:XWiki.XWikiPreferences]

Last modified by s203917 on 2025/09/16 14:43

      

Results 1 - 10 of 6,597 next page » Page 1 2 3 4 5 6 7 8 9 ... 660

IRC Archive for channel #xwiki on 14 October 2012

Located in
Last modified by Vincent Massol on 2012/10/18 19:23
Rendered document content
17:04 <xwikibot> has joined #xwiki 17:11 <vmassol> has quit 17:37 <vmassol> has joined #xwiki 17:47 <vmassol> has quit 17:52 <vmassol> has joined #xwiki 18:07 <vmassol> has quit 18:09 <vmassol> has joined #xwiki 18:13 <Denis> has quit 18:38 <vmassol> has quit 18:57 <vmassol> has joined #xwiki 18:58 <dirk_schmitt> has joined #xwiki 19:00 <dirk_schmitt> Problem migration from XWiki 3.1 to 4.2: 19:00 <dirk_schmitt> After accessing new XWiki the following exception is thrown: 19:00 <dirk_schmitt> com.xpn.xwiki.store.migration.MigrationRequiredException: Database xwiki needs migration(s), it could not be safely used!
The 1st (smaller) runs the migration, the big one shows this problem. 19:06 <dirk_schmitt> grep -v ^# xwiki.cfg |grep -i migr 19:06 <dirk_schmitt> xwiki.store.migration=1 19:12 <dirk_schmitt> SEVERE: Servlet.service() for servlet [action] in context with path [/xwiki] threw exception [com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context 19:12 <dirk_schmitt> Wrapped Exception: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiPreferences] 19:12 <dirk_schmitt> Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki 19:12 <dirk_schmitt> Wrapped Exception: Database xwiki needs migration(s), it could not be safely used!]
19:13 <@sdumitriu> Should be even before that 19:13 <@sdumitriu> Right at the start 19:14 <@sdumitriu> Logs starting with: 19:14 <@sdumitriu> Running storage schema updates and migrations 19:25 <dirk_schmitt> Oct 14 19:22:50 odie local5.info Oct [] 14, 2012 7:22:50 PM org.apache.catalina.startup.Catalina start\INFO: Server startup in 10071 ms\ 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Running storage schema updates and migrations 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Current storage version = [35100] 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager List of migrations that will be executed: 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R35102XWIKI7771 - See http://jira.xwiki.org/browse/XWIKI-7771 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R40000XWIKI6990 - Convert document IDs to use the new improved hash algorithm. 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R40001XWIKI7540 - See http://jira.xwiki.org/browse/XWIKI-7540 19:25 <dirk_schmitt> Oct 14 19:23:01 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration [R40000XWIKI6990] - 41 schema updates required. 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Successfully acquired change log lock 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Reading from databasechangelog 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Reading from databasechangelog 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Successfully released change log lock 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info [xwiki-c42] [] [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Failed to migrate database [xwiki]... 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info #011at [] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179) 20:00 <dirk_schmitt> ???
Raw document content
17:04 <xwikibot> has joined #xwiki 17:11 <vmassol> has quit 17:37 <vmassol> has joined #xwiki 17:47 <vmassol> has quit 17:52 <vmassol> has joined #xwiki 18:07 <vmassol> has quit 18:09 <vmassol> has joined #xwiki 18:13 <Denis> has quit 18:38 <vmassol> has quit 18:57 <vmassol> has joined #xwiki 18:58 <dirk_schmitt> has joined #xwiki 19:00 <dirk_schmitt> Problem migration from XWiki 3.1 to 4.2: 19:00 <dirk_schmitt> After accessing new XWiki the following exception is thrown: 19:00 <dirk_schmitt> com.xpn.xwiki.store.migration.MigrationRequiredException: Database xwiki needs migration(s), it could not be safely used!
The 1st (smaller) runs the migration, the big one shows this problem. 19:06 <dirk_schmitt> grep -v ^# xwiki.cfg |grep -i migr 19:06 <dirk_schmitt> xwiki.store.migration=1 19:12 <dirk_schmitt> SEVERE: Servlet.service() for servlet [action] in context with path [/xwiki] threw exception [com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context 19:12 <dirk_schmitt> Wrapped Exception: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiPreferences] 19:12 <dirk_schmitt> Wrapped Exception: Error number 3301 in 3: Exception while switching to database xwiki 19:12 <dirk_schmitt> Wrapped Exception: Database xwiki needs migration(s), it could not be safely used!]
19:13 <@sdumitriu> Should be even before that 19:13 <@sdumitriu> Right at the start 19:14 <@sdumitriu> Logs starting with: 19:14 <@sdumitriu> Running storage schema updates and migrations 19:25 <dirk_schmitt> Oct 14 19:22:50 odie local5.info Oct [] -- 14, 2012 7:22:50 PM org.apache.catalina.startup.Catalina start\INFO: Server startup in 10071 ms\ 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Running storage schema updates and migrations 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Current storage version = [35100] 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager List of migrations that will be executed: 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R35102XWIKI7771 - See http://jira.xwiki.org/browse/XWIKI-7771 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R40000XWIKI6990 - Convert document IDs to use the new improved hash algorithm. 19:25 <dirk_schmitt> Oct 14 19:22:58 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager R40001XWIKI7540 - See http://jira.xwiki.org/browse/XWIKI-7540 19:25 <dirk_schmitt> Oct 14 19:23:01 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.R40000XWIKI6990DataMigration [R40000XWIKI6990] - 41 schema updates required. 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Successfully acquired change log lock 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Reading from databasechangelog 19:25 <dirk_schmitt> Oct 14 19:23:02 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Reading from databasechangelog 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.liquibase Successfully released change log lock 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info [xwiki-c42] [] -- [http://odie.server.computer42.org:42180/xwiki/bin/view/Main/] com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager Failed to migrate database [xwiki]... 19:25 <dirk_schmitt> Oct 14 19:23:03 odie local5.info #011at [] -- com.xpn.xwiki.store.migration.hibernate.HibernateDataMigrationManager.updateSchema(HibernateDataMigrationManager.java:179) 20:00 <dirk_schmitt> ???

IRC Archive for channel #xwiki

Located in
Last modified by Vincent Massol on 2012/10/18 18:38
Rendered document content
If you're curious or want to help out/comment you can check http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-model/ xwiki-bridge - (16:35): [tmortagne] Vincent Massol: i'm currently commenting your committ ;) xwiki-bridge - (16:35): [Vincent Massol] :) xwiki-bridge - (16:36): [tmortagne] and i'm adding more general comment in the same mail xwiki-bridge - (16:36): [Vincent Massol] ok great xwiki-bridge - (16:37): [Vincent Massol] note that Server, current Wiki, current Space and current Document are put in the EC (when a XWiki URL is called) xwiki-bridge - (16:37): [tmortagne] Vincent Massol: sounds good xwiki-bridge - (16:47): [tmortagne] Vincent Massol: mail send, just some quick comments for now, i did not reviewed the full model yet xwiki-bridge - (16:47): [tmortagne] hope I will have some time next week bbc581 left at 17:24 (verne.freenode.net irc.freenode.net plunden left at 17:24 (verne.freenode.net irc.freenode.net plunden joined #xwiki at 17:38 xwiki-bridge - (23:17): [NielsMayer] wow, i just had a major horkup importing 2.1xar into a root of a v-wiki (recovery technique: sudo service mysqld stop ; sudo tar xzvf /var-lib-mysql-12-10-09-before-xwiki-210-upgd.tgz var/lib/mysql/xwiki ; sudo service mysqld start ) xwiki-bridge - (23:19): [NielsMayer] it's because i decided i'd overwrite Xwiki.Wikipreferences and then fix em to get latest xar changes: 2009-12-12 11:25:24,172 [http://xwiki/xwiki/bin/import/XWiki/Import?editor=globaladmin&section=Import] WARN xwiki.XWiki - Exception while getting wiki preference [backlinks] xwiki-bridge - (23:19): [NielsMayer] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences xwiki-bridge - (23:19): [NielsMayer] Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#104408758] xwiki-bridge - (23:19): [NielsMayer] trying again skipping import of XWiki.XWikiPreferences xwiki-bridge - (23:20): [NielsMayer] just try to mess w/ me bugs!
Raw document content
If you're curious or want to help out/comment you can check http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-model/ xwiki-bridge - (16:35): [tmortagne] Vincent Massol: i'm currently commenting your committ ;) xwiki-bridge - (16:35): [Vincent Massol] :) xwiki-bridge - (16:36): [tmortagne] and i'm adding more general comment in the same mail xwiki-bridge - (16:36): [Vincent Massol] ok great xwiki-bridge - (16:37): [Vincent Massol] note that Server, current Wiki, current Space and current Document are put in the EC (when a XWiki URL is called) xwiki-bridge - (16:37): [tmortagne] Vincent Massol: sounds good xwiki-bridge - (16:47): [tmortagne] Vincent Massol: mail send, just some quick comments for now, i did not reviewed the full model yet xwiki-bridge - (16:47): [tmortagne] hope I will have some time next week bbc581 left at 17:24 (verne.freenode.net irc.freenode.net plunden left at 17:24 (verne.freenode.net irc.freenode.net plunden joined #xwiki at 17:38 xwiki-bridge - (23:17): [NielsMayer] wow, i just had a major horkup importing 2.1xar into a root of a v-wiki (recovery technique: sudo service mysqld stop ; sudo tar xzvf ~/var-lib-mysql-12-10-09-before-xwiki-210-upgd.tgz var/lib/mysql/xwiki ; sudo service mysqld start ) xwiki-bridge - (23:19): [NielsMayer] it's because i decided i'd overwrite Xwiki.Wikipreferences and then fix em to get latest xar changes: 2009-12-12 11:25:24,172 [http://xwiki/xwiki/bin/import/XWiki/Import?editor=globaladmin&section=Import] WARN xwiki.XWiki - Exception while getting wiki preference [backlinks] xwiki-bridge - (23:19): [NielsMayer] com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences xwiki-bridge - (23:19): [NielsMayer] Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#104408758] xwiki-bridge - (23:19): [NielsMayer] trying again skipping import of XWiki.XWikiPreferences xwiki-bridge - (23:20): [NielsMayer] just try to mess w/ me bugs!

IRC Archive for channel #xwiki on 12 January 2009

Located in
Last modified by Vincent Massol on 2012/10/18 18:30
Rendered document content
npm - (12/01/2009 19:09): http://n2.nabble.com/Need-some-explanation-about-virtual-xwiki-td1394238.html uses lowercase, so i'm assuming only the doc'd assoc'd with the vhost database needs the capitalization constraint. npm - (12/01/2009 19:13): NB: unless in virtual mode, don't set xwiki.db.prefix, or you get some very unhelpful error messages: # 2009-01-10 17:31:25,132 [http://localhost:8080/xwiki/bin/view/Main/] [http-127.0.0.1-8080-Processor3] WARN util.JDBCExceptionReporter - SQL Error: 1142, SQLState: 42000 npm - (12/01/2009 19:13): # 2009-01-10 17:31:25,132 [http://localhost:8080/xwiki/bin/view/Main/] [http-127.0.0.1-8080-Processor3] ERROR util.JDBCExceptionReporter - SELECT command denied to user 'xwiki'@'localhost' for table 'xwikidoc' npm - (12/01/2009 19:13): # com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences npm - (12/01/2009 19:13): # Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] npm - (12/01/2009 19:13): # Wrapped Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: SELECT command denied to user 'xwiki'@'localhost' for table 'xwikidoc' xwikibot - (12/01/2009 22:54): XWiki.damodarp was modified by XWiki.damodarp (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/damodarp
Raw document content
npm - (12/01/2009 19:09): http://n2.nabble.com/Need-some-explanation-about-virtual-xwiki-td1394238.html uses lowercase, so i'm assuming only the doc'd assoc'd with the vhost database needs the capitalization constraint. npm - (12/01/2009 19:13): NB: unless in virtual mode, don't set xwiki.db.prefix, or you get some very unhelpful error messages: ### 2009-01-10 17:31:25,132 [http://localhost:8080/xwiki/bin/view/Main/] [http-127.0.0.1-8080-Processor3] WARN util.JDBCExceptionReporter - SQL Error: 1142, SQLState: 42000 npm - (12/01/2009 19:13): ### 2009-01-10 17:31:25,132 [http://localhost:8080/xwiki/bin/view/Main/] [http-127.0.0.1-8080-Processor3] ERROR util.JDBCExceptionReporter - SELECT command denied to user 'xwiki'@'localhost' for table 'xwikidoc' npm - (12/01/2009 19:13): ### com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences npm - (12/01/2009 19:13): ### Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] npm - (12/01/2009 19:13): ### Wrapped Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: SELECT command denied to user 'xwiki'@'localhost' for table 'xwikidoc' xwikibot - (12/01/2009 22:54): XWiki.damodarp was modified by XWiki.damodarp (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/damodarp

IRC Archive for channel #xwiki

Located in
Last modified by Vincent Massol on 2012/10/18 19:19
Rendered document content
database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document name = XWiki Preferences?, type = DOCUMENT?, parent = name = [XWiki?, type = SPACE?, parent = name = [newemptywiki?
12:42 <@cjdelisle> What I see here is the history menu opens and then it does not close so later on an enter key is pressed which causes the "my library" thing to open 12:43 <@cjdelisle> Yes I can but if I miss the shift key (so I hit alt+s) then I get a FF popup to save the document. After closing that, the next time I hit shift+ctrl+s I get the history menu instead of it saving. 12:46 <+mflorea> there's no enter key 12:46 <@cjdelisle> It might be an FF bug which causes the keydown hook to be temporarily lost. 12:46 <@cjdelisle> Hmm, no enter key...
Raw document content
database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document name = XWiki Preferences?, type = DOCUMENT?, parent = name = [XWiki?, type = SPACE?, parent = name = [newemptywiki?
12:42 <@cjdelisle> What I see here is the history menu opens and then it does not close so later on an enter key is pressed which causes the "my library" thing to open 12:43 <@cjdelisle> Yes I can but if I miss the shift key (so I hit alt+s) then I get a FF popup to save the document. After closing that, the next time I hit shift+ctrl+s I get the history menu instead of it saving. 12:46 <+mflorea> there's no enter key 12:46 <@cjdelisle> It might be an FF bug which causes the keydown hook to be temporarily lost. 12:46 <@cjdelisle> Hmm, no enter key...

IRC Archive for channel #xwiki

Located in
Last modified by Vincent Massol on 2012/10/18 18:38
Rendered document content
database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: could not xwiki-bridge - (04:21): [Lady Serena Kitty] an entity: xpn.xwiki.doc.XWiki Document <applewebdata://074E9360-7D1F-40A0-AEB3-4B87319CDC45/bin/edit/com.xpn.xwiki.doc/XWikiDocument?
Raw document content
database update failed Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: could not xwiki-bridge - (04:21): [Lady Serena Kitty] an entity: xpn.xwiki.doc.XWiki Document <applewebdata://074E9360-7D1F-40A0-AEB3-4B87319CDC45/bin/edit/com.xpn.xwiki.doc/XWikiDocument?

IRC Archive for channel #xwiki on 12 December 2013

Located in
Last modified by Vincent Massol on 2013/12/12 23:01
Rendered document content
08:00 <sdumitriu> Sorry for the mess, I was in a hurry and wanted to fix it before leaving 08:00 <mflorea> np :) 08:16 <DarkKnightCZ> has joined #xwiki 08:34 <DarkKnightCZ> what is the preferred way to get document inside component using its full name? 08:36 <camil7> has joined #xwiki 08:37 <mflorea> inject DocumentAccessBridge 08:37 <mflorea> but it depends on what you need from that document 08:37 <DarkKnightCZ> working with attachments 08:38 <DarkKnightCZ> e.g. accessing attachment stream, removing, adding 08:39 <mflorea> I think DocumentAccessBridge is limited in this regard (you should check it nevertheless) so you'll have to access the XWiki context, and then do xcontext.getWiki().getDocument(...) 08:39 <mflorea> let me give you a link 08:40 <mflorea> actually it's all described here http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HAccessingLegacycode 08:40 <DarkKnightCZ> ok, thanks... i already have the context (using provider), but xcontext.getWiki().getDocument() (by fullName) is deprecated and on delete it gives me bunch of 3301 errors (error while switching database) 08:40 <mflorea> both DocumentAccessBridge solution and accessing the XWiki context 08:41 <mflorea> well, you should work with DocumentReference in Java/components.
I can see the war on maven.xwiki.org 11:10 <DarkKnightCZ> what is the safest way to add attachment to document in component? (i have file (1mb-1gb)) on server filesystem and i need to add it to certain document) 11:11 <cjd> post to xwiki/bin/upload/document the same way the user uploads through the web interface 11:11 <cjd> and you'll want to have FS attachments enabled 11:14 <DarkKnightCZ> wouldn't be there a problem with authentication? i doubt component has login session 11:14 <DarkKnightCZ> i know about Document.addAttachment(name, inputstream, context), i just don't know if its safe to use 11:16 <cjd> mmm I'm not 100% sure if it will work as expected 11:17 <cjd> it's not a commonly used method of uploading attachments so I can't guarantee there is no byte array in there which tries to put the attachment in ram 11:20 <msmeria> has joined #xwiki 11:37 <DarkKnightCZ> hmm, so there is problem with XWikiException :) if i get document and try to add attachment, it throws com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document (Wrapped Exception: Error number 3301 in 3: Exception while switching to database ...) 11:38 <cjd> can you paste up the stack trace to a pastebin such as ezcrypt.it ?
Raw document content
08:00 <sdumitriu> Sorry for the mess, I was in a hurry and wanted to fix it before leaving 08:00 <mflorea> np :) 08:16 <DarkKnightCZ> has joined #xwiki 08:34 <DarkKnightCZ> what is the preferred way to get document inside component using its full name? 08:36 <camil7> has joined #xwiki 08:37 <mflorea> inject DocumentAccessBridge 08:37 <mflorea> but it depends on what you need from that document 08:37 <DarkKnightCZ> working with attachments 08:38 <DarkKnightCZ> e.g. accessing attachment stream, removing, adding 08:39 <mflorea> I think DocumentAccessBridge is limited in this regard (you should check it nevertheless) so you'll have to access the XWiki context, and then do xcontext.getWiki().getDocument(...) 08:39 <mflorea> let me give you a link 08:40 <mflorea> actually it's all described here http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingComponents#HAccessingLegacycode 08:40 <DarkKnightCZ> ok, thanks... i already have the context (using provider), but xcontext.getWiki().getDocument() (by fullName) is deprecated and on delete it gives me bunch of 3301 errors (error while switching database) 08:40 <mflorea> both DocumentAccessBridge solution and accessing the XWiki context 08:41 <mflorea> well, you should work with DocumentReference in Java/components.
I can see the war on maven.xwiki.org 11:10 <DarkKnightCZ> what is the safest way to add attachment to document in component? (i have file (1mb-1gb)) on server filesystem and i need to add it to certain document) 11:11 <cjd> post to xwiki/bin/upload/document the same way the user uploads through the web interface 11:11 <cjd> and you'll want to have FS attachments enabled 11:14 <DarkKnightCZ> wouldn't be there a problem with authentication? i doubt component has login session 11:14 <DarkKnightCZ> i know about Document.addAttachment(name, inputstream, context), i just don't know if its safe to use 11:16 <cjd> mmm I'm not 100% sure if it will work as expected 11:17 <cjd> it's not a commonly used method of uploading attachments so I can't guarantee there is no byte array in there which tries to put the attachment in ram 11:20 <msmeria> has joined #xwiki 11:37 <DarkKnightCZ> hmm, so there is problem with XWikiException :) if i get document and try to add attachment, it throws com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document (Wrapped Exception: Error number 3301 in 3: Exception while switching to database ...) 11:38 <cjd> can you paste up the stack trace to a pastebin such as ezcrypt.it ?

IRC Archive for channel #xwiki on 15 August 2016

Located in
Last modified by Vincent Massol on 2016/08/15 23:52
Rendered document content
For complex needs, the best is to use a product made for task mgmt (and integrate it with xwik, as we do with jira) 21:47 <mmercer> not yet, ill take a look at it though 21:47 <vmassol> s/you're/your 21:48 <mmercer> but it looks like my team went to have lunch without me, haha 21:48 <vmassol> ah sorry for holding you :) 21:48 <mmercer> ill bb; going to go join them in the cafeteria =D 21:48 <vmassol> bon appetit 21:48 <mmercer> nah, i feel bad that youre in here instead of enjoying your last day of sanity :p 21:48 <hakin> hello 21:48 <vmassol> hehe 21:48 <hakin> anyone knows what this error means [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document 21:48 <hakin> ?! 21:48 <vmassol> watching the olympic games at the same time... 21:49 <vmassol> hakin: hi, you need to proivide the root error 21:49 <vmassol> or you can pastebing the whole error and I'll get it for you 21:49 <vmassol> *pastebin 21:49 <vmassol> (it's the innermost error) 21:49 <vmassol> (caused by...) 21:49 <hakin> it's gigantic 21:49 <hakin> but com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.WikiMacroParameterClass] 21:50 <vmassol> don't paste here then ;) 21:50 <hakin> Caused by: org.hibernate.HibernateException: Unable to get the default Bean Validation factory 21:50 <hakin> sorry 21:50 <vmassol> look at the root "cause byé 21:50 <vmassol> "caused by" 21:50 <vmassol> it's ok to paste 1 line 21:50 <vmassol> just don't paste the full log :) 21:50 <vmassol> lol 21:50 <hakin> http://pastebin.com/NAdhzN4f 21:50 <hakin> hehehehe 21:51 <vmassol> so it seems you have a problem in your hibernate.cfg.xml file 21:51 <hakin> what seems to be the problem ?! 21:51 <vmassol> hibernate fails to initialize from reading the hibernate.cfg.xml file 21:51 <vmassol> it doesn't say.... 21:52 <hakin> I'm using pgsql 21:52 <vmassol> you should compare your version with the default version that comes with xwiki 21:52 <hakin> the default use HSQl right !?
Raw document content
For complex needs, the best is to use a product made for task mgmt (and integrate it with xwik, as we do with jira) 21:47 <mmercer> not yet, ill take a look at it though 21:47 <vmassol> s/you're/your 21:48 <mmercer> but it looks like my team went to have lunch without me, haha 21:48 <vmassol> ah sorry for holding you :) 21:48 <mmercer> ill bb; going to go join them in the cafeteria =D 21:48 <vmassol> bon appetit 21:48 <mmercer> nah, i feel bad that youre in here instead of enjoying your last day of sanity :p 21:48 <hakin> hello 21:48 <vmassol> hehe 21:48 <hakin> anyone knows what this error means [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document 21:48 <hakin> ?! 21:48 <vmassol> watching the olympic games at the same time... 21:49 <vmassol> hakin: hi, you need to proivide the root error 21:49 <vmassol> or you can pastebing the whole error and I'll get it for you 21:49 <vmassol> *pastebin 21:49 <vmassol> (it's the innermost error) 21:49 <vmassol> (caused by...) 21:49 <hakin> it's gigantic 21:49 <hakin> but com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.WikiMacroParameterClass] 21:50 <vmassol> don't paste here then ;) 21:50 <hakin> Caused by: org.hibernate.HibernateException: Unable to get the default Bean Validation factory 21:50 <hakin> sorry 21:50 <vmassol> look at the root "cause byé 21:50 <vmassol> "caused by" 21:50 <vmassol> it's ok to paste 1 line 21:50 <vmassol> just don't paste the full log :) 21:50 <vmassol> lol 21:50 <hakin> http://pastebin.com/NAdhzN4f 21:50 <hakin> hehehehe 21:51 <vmassol> so it seems you have a problem in your hibernate.cfg.xml file 21:51 <hakin> what seems to be the problem ?! 21:51 <vmassol> hibernate fails to initialize from reading the hibernate.cfg.xml file 21:51 <vmassol> it doesn't say.... 21:52 <hakin> I'm using pgsql 21:52 <vmassol> you should compare your version with the default version that comes with xwiki 21:52 <hakin> the default use HSQl right !?

IRC Archive for channel #xwiki

Located in
Last modified by Vincent Massol on 2012/10/18 19:19
Rendered document content
09:58 <+tmortagne> sdumitriu: yes I know 09:58 <+tmortagne> I tested lots of think looks like I will have to come back to custom files on for ci 09:58 <+tmortagne> s/think/things/ 10:13 <vmassol> tmortagne: http://ci.xwiki.org/job/xwiki-platform/org.xwiki.platform$xwiki-platform-observation-remote/278/ :) 10:14 <+tmortagne> vmassol: that's weird this build does not contains my last modification 10:14 <+tmortagne> should have failed like the one before it 10:14 <@sdumitriu> Indeed 10:16 <+tmortagne> or maybe it's just failing on some agent(s) since I still don't understand why it's failing 10:16 <+tmortagne> so if true it mean it's failing on agent3 and not on agent1 10:17 <+tmortagne> tying next build to agent3 10:20 <+tmortagne> at least I know some configuration works on agent3 since 3.1 build well oon it 10:20 <+tmortagne> s/oon/on/ 10:20 <+tmortagne> lets see this as a good things, force me to find some configuration that will build well on more environment, always better for tests ;) 10:24 <+tmortagne> cool looks like I found it this time 10:24 <+tmortagne> so it's working with localhost and not with 127.0.0.1 10:25 <+tmortagne> jgroups is pretty sensible 10:34 <vmassol> sensitive not sensible ;) 10:34 <vmassol> (tmortagne) 10:34 <vmassol> sensible means almost the opposite :) 10:36 <+tmortagne> lets say ticklish then :) 10:44 <vmassol> ok ulimit should be ok now on all agents 10:53 <cjdelisle> has joined #xwiki 10:58 <Denis> has joined #xwiki 11:16 <vmassol> btw myxwiki.org has restarted 2 or 3 times over the weekend…. 11:16 <vmassol> not sure why yet 11:17 <vmassol> btw this is strange: 11:17 <vmassol> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [CDATA[ */ 11:17 <vmassol> document.observe('dom], type = [WIKI], parent = [null]]] 11:17 <vmassol> Wrapped Exception: Error number 3301 in 3: Exception while switching to database CDATA[ */ 11:17 <vmassol> document.observe('dom 11:17 <vmassol> Wrapped Exception: Incorrect database name 'CDATA[ */ 11:17 <vmassol> document.observe('dom' 11:17 <vmassol> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:811) [xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:17 <vmassol> should be ok 11:18 <vmassol> seems ot be coming from the rendering of a page 11:18 <vmassol> in xwiki 1.0 syntax 11:18 <vmassol> at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:312) [xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:18 <vmassol> at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:211) [xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:20 <vmassol> hmm still 11:21 <vmassol> it's reading XWiki.XWikiPreferences 11:27 <fmancinelli> has joined #xwiki 11:33 <+tmortagne> vmassol: that's because xwiki/1.0 syntax is matching a lots of things as links as long as it find a [something] 11:34 <fmancinelli> has quit 11:34 <vmassol> tmortagne: indeed you must be right 11:34 <+tmortagne> it always produce bad things like that 11:34 <@cjdelisle> Hi all, I'd like to see if I can release just enterprise into nexus instead of dropping the whole repo and rereleasing everything. 11:35 <vmassol> it must be evaluating a text area on XWikiPreferences 11:35 <vmassol> cjdelisle: you're back cool!
16:16 <+tmortagne> sdumitriu: how do you know this macro is not of the document syntax ? 16:16 <@sdumitriu> Is it easy to fix?
I'm experiencing the problem 16:17 <+tmortagne> ho do you get this macro which is not in the document syntax ? 16:17 <@sdumitriu> Usecase: refactor the
Raw document content
09:58 <+tmortagne> sdumitriu: yes I know 09:58 <+tmortagne> I tested lots of think looks like I will have to come back to custom files on for ci 09:58 <+tmortagne> s/think/things/ 10:13 <vmassol> tmortagne: http://ci.xwiki.org/job/xwiki-platform/org.xwiki.platform$xwiki-platform-observation-remote/278/ :) 10:14 <+tmortagne> vmassol: that's weird this build does not contains my last modification 10:14 <+tmortagne> should have failed like the one before it 10:14 <@sdumitriu> Indeed 10:16 <+tmortagne> or maybe it's just failing on some agent(s) since I still don't understand why it's failing 10:16 <+tmortagne> so if true it mean it's failing on agent3 and not on agent1 10:17 <+tmortagne> tying next build to agent3 10:20 <+tmortagne> at least I know some configuration works on agent3 since 3.1 build well oon it 10:20 <+tmortagne> s/oon/on/ 10:20 <+tmortagne> lets see this as a good things, force me to find some configuration that will build well on more environment, always better for tests ;) 10:24 <+tmortagne> cool looks like I found it this time 10:24 <+tmortagne> so it's working with localhost and not with 127.0.0.1 10:25 <+tmortagne> jgroups is pretty sensible 10:34 <vmassol> sensitive not sensible ;) 10:34 <vmassol> (tmortagne) 10:34 <vmassol> sensible means almost the opposite :) 10:36 <+tmortagne> lets say ticklish then :) 10:44 <vmassol> ok ulimit should be ok now on all agents 10:53 <cjdelisle> has joined #xwiki 10:58 <Denis> has joined #xwiki 11:16 <vmassol> btw myxwiki.org has restarted 2 or 3 times over the weekend…. 11:16 <vmassol> not sure why yet 11:17 <vmassol> btw this is strange: 11:17 <vmassol> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [CDATA[ */ 11:17 <vmassol> document.observe('dom], type = [WIKI], parent = [null]]] 11:17 <vmassol> Wrapped Exception: Error number 3301 in 3: Exception while switching to database CDATA[ */ 11:17 <vmassol> document.observe('dom 11:17 <vmassol> Wrapped Exception: Incorrect database name 'CDATA[ */ 11:17 <vmassol> document.observe('dom' 11:17 <vmassol> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:811) ~[xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:17 <vmassol> should be ok 11:18 <vmassol> seems ot be coming from the rendering of a page 11:18 <vmassol> in xwiki 1.0 syntax 11:18 <vmassol> at com.xpn.xwiki.render.XWikiRadeoxRenderEngine.appendCreateLink(XWikiRadeoxRenderEngine.java:312) [xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:18 <vmassol> at com.xpn.xwiki.render.filter.XWikiLinkFilter.handleMatch(XWikiLinkFilter.java:211) [xwiki-platform-oldcore-3.1-20110602.173052-162.jar:na] 11:20 <vmassol> hmm still 11:21 <vmassol> it's reading XWiki.XWikiPreferences 11:27 <fmancinelli> has joined #xwiki 11:33 <+tmortagne> vmassol: that's because xwiki/1.0 syntax is matching a lots of things as links as long as it find a [something] 11:34 <fmancinelli> has quit 11:34 <vmassol> tmortagne: indeed you must be right 11:34 <+tmortagne> it always produce bad things like that 11:34 <@cjdelisle> Hi all, I'd like to see if I can release just enterprise into nexus instead of dropping the whole repo and rereleasing everything. 11:35 <vmassol> it must be evaluating a text area on XWikiPreferences 11:35 <vmassol> cjdelisle: you're back cool!
16:16 <+tmortagne> sdumitriu: how do you know this macro is not of the document syntax ? 16:16 <@sdumitriu> Is it easy to fix?
Also, if you awnt pre-relase while staging, you'll have to extend staging because 2 days aren't enough 18:50 <@cjdelisle> In fact I have the sha1s of them here and if they don't match then the copy is done over. 18:51 <vmassol> sburjan`: how many days do you need?

IRC Archive for channel #xwiki on 27 January 2012

Located in
Last modified by Vincent Massol on 2012/10/18 18:38
Rendered document content
I get error messages like: 09:28 <helge> Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 111 of document : An invalid XML character (Unicode: 0x1c) was found in the element content of the document.
09:49 <Enygma`> has joined #xwiki 10:03 <xipe_> has quit 10:05 <sburjan_> has joined #xwiki 10:09 <sburjan`> has quit 10:09 <sburjan_> is now known as <sburjan`> 11:04 <kwoot> has joined #xwiki 11:12 <evalica> has joined #xwiki 11:46 <xipe_> has joined #xwiki 12:12 <sdumitriu> has joined #xwiki 12:44 <helge> This is the complete exception: 12:44 <helge> Detailed information: Error number 3103 in 3: Exception while reading version [2.1] for document id [1.494.379.305] Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 111 of document : An invalid XML character (Unicode: 0x1c) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1c) was found in the element content of the document. com.xp 12:47 <@sdumitriu> That really looks like wrong encoding to me...
Raw document content
I get error messages like: 09:28 <helge> Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 111 of document : An invalid XML character (Unicode: 0x1c) was found in the element content of the document.
09:49 <Enygma`> has joined #xwiki 10:03 <xipe_> has quit 10:05 <sburjan_> has joined #xwiki 10:09 <sburjan`> has quit 10:09 <sburjan_> is now known as <sburjan`> 11:04 <kwoot> has joined #xwiki 11:12 <evalica> has joined #xwiki 11:46 <xipe_> has joined #xwiki 12:12 <sdumitriu> has joined #xwiki 12:44 <helge> This is the complete exception: 12:44 <helge> Detailed information: Error number 3103 in 3: Exception while reading version [2.1] for document id [1.494.379.305] Wrapped Exception: Error number 2002 in 2: Error parsing xml Wrapped Exception: Error on line 111 of document : An invalid XML character (Unicode: 0x1c) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1c) was found in the element content of the document. com.xp 12:47 <@sdumitriu> That really looks like wrong encoding to me...

IRC Archive for channel #xwiki on 22 April 2009

Located in
Last modified by Vincent Massol on 2012/10/18 18:30
Rendered document content
After configuring mysql i tried to access xwiki but i always get an exeception Exception while reading document XWiki.XWikiPreferences could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] lwilke - (22/04/2009 15:26): mysql user and the db are setup and configured lwilke - (22/04/2009 15:27): but it seems xwiki does not create any schema at all!?
I found instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installation which details an Import/Expore procedure which I'm trying to use, but when I create the new page in my 0.9 wiki and copy/paste the code as instructed, I get an error "Error number 4001 in 4: Error while parsing velocity page XWiki.Migration Wrapped Exception: Encountered "#end" at line 393, column 1.
To perform this action log-in to this site, choose to edit the page and copy/paste the code to a new page in your v0.9 XWiki" sdumitriu1 - (22/04/2009 21:59): asyd: several UI improvements arunreddy left at 22:00 (Remote closed the connection) asyd - (22/04/2009 22:00): hmm ok arunreddy joined #xwiki at 22:00 asyd - (22/04/2009 22:00): I want to create a new "portal" using xwiki asyd - (22/04/2009 22:00): and as usual, I probably put it online while xwiki will have two new major release :) kraze - (22/04/2009 22:01): the comments listed on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installation express the issues I'm facing as well kaaloo left at 22:01 ("Leaving.") sdumitriu1 - (22/04/2009 22:02): asyd: http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?
Raw document content
After configuring mysql i tried to access xwiki but i always get an exeception Exception while reading document XWiki.XWikiPreferences could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] lwilke - (22/04/2009 15:26): mysql user and the db are setup and configured lwilke - (22/04/2009 15:27): but it seems xwiki does not create any schema at all!?
I found instructions at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installation which details an Import/Expore procedure which I'm trying to use, but when I create the new page in my 0.9 wiki and copy/paste the code as instructed, I get an error "Error number 4001 in 4: Error while parsing velocity page XWiki.Migration Wrapped Exception: Encountered "#end" at line 393, column 1.
To perform this action log-in to this site, choose to edit the page and copy/paste the code to a new page in your v0.9 XWiki" sdumitriu1 - (22/04/2009 21:59): asyd: several UI improvements arunreddy left at 22:00 (Remote closed the connection) asyd - (22/04/2009 22:00): hmm ok arunreddy joined #xwiki at 22:00 asyd - (22/04/2009 22:00): I want to create a new "portal" using xwiki asyd - (22/04/2009 22:00): and as usual, I probably put it online while xwiki will have two new major release :) kraze - (22/04/2009 22:01): the comments listed on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Installation express the issues I'm facing as well kaaloo left at 22:01 ("Leaving.") sdumitriu1 - (22/04/2009 22:02): asyd: http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?
next page » Page 1 2 3 4 5 6 7 8 9 ... 660
RSS feed for search on [Exception while reading document [xwiki:XWiki.XWikiPreferences]]

Get Connected