Re: [xwiki-devs] [XWiki Day] BFD#84

2015-03-27 Thread Eduard Moraru
Results:
http://www.xwiki.org/xwiki/bin/view/Blog/Bug+Fixing+Day+84

Really nice participation this time. Hope to see it more!

Thanks,
Eduard

On Thu, Mar 26, 2015 at 12:16 PM, Eduard Moraru enygma2...@gmail.com
wrote:

 Hi devs,

 Today is BFD#84:
 http://dev.xwiki.org/xwiki/bin/view/Community/XWikiDays#HBugfixingdays

 Our current status for the 1 year period is 77 bugs behind. See:

 http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=1#Created-vs-Resolved-Chart/10470

 Here's the BFD#84 dashboard to follow the progress during the day:
 http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13191

 Thanks and enjoy your bug fixing day!

 -Eduard

___
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs


Re: [xwiki-devs] build error with xwiki-enterprise

2015-03-27 Thread Sergiu Dumitriu
This requires that you have support for running 32bit apps. On rpm based
systems, try running:

yum install glibc.i686

On 03/25/2015 06:28 PM, Peter Nix wrote:
 I checked out the various projects for xwiki (-commons, -rendering,
 -platform, and -enterprise) from github yesterday, and have successfully
 built all but enterprise project, which fails on the build step for the
 windows installer. The error printed alludes to needing a valid JRE, but
 according to my java version information, my jre should be fine.
 
 I'm using ubuntu 12.04 LTS, and have tried with and without the unix
 profile flag (-Punix) as specified on
 http://dev.xwiki.org/xwiki/bin/view/Community/Building (either way gives
 the same behavior).
 
 Any thoughts on how to fix this?
 
 - Peter
 
 $ java -version
 java version 1.7.0_76
 Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
 Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
 
 
 
 $ mvn -v
 Apache Maven 3.0.4
 Maven home: /usr/share/maven
 Java version: 1.7.0_76, vendor: Oracle Corporation
 Java home: /usr/lib/jvm/java-7-oracle/jre
 Default locale: en_US, platform encoding: UTF-8
 OS name: linux, version: 3.13.0-46-generic, arch: amd64, family:
 unix
 
 
 
 $ mvn clean install -DskipTests=true
 
 [INFO] --- maven-dependency-plugin:2.10:unpack (unpack) @
 xwiki-enterprise-installer-windows ---
 [INFO] Configured Artifact: launch4j:launch4j:linux:3.0.2:zip
 [INFO] Unpacking
 /home/likewise-open/ANT/nixpeter/.m2/repository/launch4j/launch4j/3.0.2/launch4j-3.0.2-linux.zip
 to
 /home/likewise-open/ANT/nixpeter/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/dependency
 with includes  and excludes 
 [INFO]
 [INFO] --- maven-antrun-plugin:1.7:run (run-launch4j) @
 xwiki-enterprise-installer-windows ---
 [WARNING] Parameter tasks is deprecated, use target instead
 [INFO] Executing tasks
 
 main:
 Compiling resources
 Generated resource file...
 
 LANGUAGE 0, 1
 2 RCDATA BEGIN 1.7.0\0 END
 18 RCDATA BEGIN 1\0 END
 1 ICON DISCARDABLE
 ~/Projects/xwiki/xwiki-enterprise/xwiki-enterprise-installers/xwiki-enterprise-installer-windows/target/classes/xe.ico
 10 RCDATA BEGIN XWiki Windows Installer\0 END
 21 RCDATA BEGIN http://java.com/download\0; END
 20 RCDATA BEGIN 32\0 END
 9 RCDATA BEGIN true\0 END
 101 RCDATA BEGIN An error occurred while starting the application.\0 END
 102 RCDATA BEGIN This application was configured to use a bundled Java
 Runtime Environment but the runtime is missing or corrupted.\0 END
 103 RCDATA BEGIN This application requires a Java Runtime Environment\0
 END
 104 RCDATA BEGIN The registry refers to a nonexistent Java Runtime
 Environment installation or the runtime is corrupted.\0 END
 17 RCDATA BEGIN true\0 END
 
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] XWiki Enterprise - Parent POM . SUCCESS [2.484s]
 [INFO] XWiki Enterprise - Distribution Archetype . SUCCESS [0.911s]
 [INFO] XWiki Enterprise - UI . SUCCESS [0.081s]
 [INFO] XWiki Enterprise - UI - Admin User  SUCCESS [1.013s]
 [INFO] XWiki Enterprise - UI - Main wiki preferences . SUCCESS [0.193s]
 [INFO] XWiki Enterprise - UI - Common  SUCCESS
 [3:07.873s]
 [INFO] XWiki Enterprise - UI - Wiki .. SUCCESS [14.006s]
 [INFO] XWiki Enterprise - Distribution - Parent POM .. SUCCESS [0.063s]
 [INFO] XWiki Enterprise - UI - Wiki All .. SUCCESS [8.231s]
 [INFO] XWiki Enterprise - UI - Main wiki . SUCCESS [19.991s]
 [INFO] XWiki Enterprise - Data - Parent POM .. SUCCESS [2.157s]
 [INFO] XWiki Enterprise - Data - HSQLDB .. SUCCESS
 [2:44.054s]
 [INFO] XWiki Enterprise - UI - Main Wiki All . SUCCESS [8.391s]
 [INFO] XWiki Enterprise - Web  SUCCESS
 [1:55.462s]
 [INFO] XWiki Enterprise - Distribution - Jetty ... SUCCESS [2.178s]
 [INFO] XWiki Enterprise - Distribution - Jetty - HSQLDB .. SUCCESS [16.062s]
 [INFO] XWiki Enterprise - Installers - Parent POM  SUCCESS [0.028s]
 [INFO] XWiki Enterprise - Installers - Generic ... SUCCESS [31.620s]
 [INFO] XWiki Enterprise - Installers - Windows ... FAILURE [0.713s]
 [INFO] XWiki Enterprise - Installer - Debian . SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Common  SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - MySQL - Common  SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Postgres SQL - Common
 SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Tomcat  SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Tomcat - Common  SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Tomcat 7 - MySQL  SKIPPED
 [INFO] XWiki Enterprise - Installer - Debian - Tomcat 7 - Postgres SQL
 SKIPPED
 [INFO] XWiki Enterprise - Installer - 

[xwiki-devs] how to debug an empty stack in DefaultDocumentAccessBridge?

2015-03-27 Thread Paul Libbrecht
Hello XWiki experts,

in Curriki, we met a bug that seems related to the wysiwyg editor's
ability to accept html.

When it does so, and is input with an image, it fails the html
conversion because of the exception below for the simple (cleaned) content:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
htmlhead/headbodypImage/pp!--startimage:false|-|attach|-|sunset-dark2.PNG--img
alt=sunset-dark2.PNG
src=http://node1.hoplahup.net/xwiki/bin/download/AssetTemp/dgW1kVv9l2mE9xqA/sunset-dark2.PNG?width=556;/img!--stopimage--/p/body/html

Yielding the exception:
Caused by: java.lang.NullPointerException: null
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.getContext(DefaultDocumentAccessBridge.java:85)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.getAttachmentURL(DefaultDocumentAccessBridge.java:847)
~[xwiki-platform-legacy-oldcore-3.5.1.jar:na]
at
org.xwiki.rendering.internal.wiki.XWikiWikiModel.getLinkURL(XWikiWikiModel.java:137)
~[xwiki-platform-rendering-xwiki-3.5.1.jar:na]
at
org.xwiki.rendering.internal.wiki.XWikiWikiModel.getImageURL(XWikiWikiModel.java:153)
~[xwiki-platform-rendering-xwiki-3.5.1.jar:na]
at
org.xwiki.rendering.internal.renderer.xhtml.image.DefaultXHTMLImageRenderer.onImage(DefaultXHTMLImageRenderer.java:120)
~[xwiki-rendering-syntax-xhtml-3.5.1.jar:na]
at
org.xwiki.rendering.internal.renderer.xhtml.XHTMLChainingRenderer.onImage(XHTMLChainingRenderer.java:545)
~[xwiki-rendering-syntax-xhtml-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener.onImage(EmptyBlockChainingListener.java:600)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.AbstractChainingListener.onImage(AbstractChainingListener.java:454)
~[xwiki-rendering-api-3.5.1.jar:na]
at
org.xwiki.rendering.listener.chaining.BlockStateChainingListener.onImage(BlockStateChainingListener.java:796)
~[xwiki-rendering-api-3.5.1.jar:na]

I am not too sure how to debug that.
Clues would be welcome.

thanks in advance.

Paul



signature.asc
Description: OpenPGP digital signature
___
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs