[GitHub] poi pull request #68: Share chart data implementation between XSSFChart and ...

2017-08-10 Thread Alain-Bearez
GitHub user Alain-Bearez opened a pull request:

https://github.com/apache/poi/pull/68

Share chart data implementation between XSSFChart and XSLFChart through XDDF

The main goal of this work is to be able to:
  - duplicate a slide that has a chart on it 
(https://bz.apache.org/bugzilla/show_bug.cgi?id=57835);
  - more easily access definitions for axes;
  - more easily set data series for axes;
  - share code between XSLF and XSSF: XSSFChart and XSLFChart are using 
XDDFChartData.

What is left to be done:
  - complete implementation of first five chart types;
  - implement other chart types.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/cuali/poi xddf-usermodel

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/poi/pull/68.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #68


commit 359409443c48140583fc00529597274b6252ce0e
Author: Alain FAGOT BEAREZ 
Date:   2017-06-01T06:34:07Z

rework XSLFChart examples, hiding underlying internal interface

commit 94c6be98e69ff89a41372a277af523bb21983449
Author: Alain FAGOT BEAREZ 
Date:   2017-05-26T07:30:07Z

define a user model for chart axes (inspired by XSSFChartAxis)

commit 2ded4f39388cb5767d39d2148b4f4b3e31d3bf02
Author: Alain FAGOT BEAREZ 
Date:   2017-06-01T08:09:06Z

define user model for pie and bar charts data series (inspired by XSSF)

commit 748c4805cfe4eb5492d98f4ee53eb74d4849ba59
Author: Alain FAGOT BEAREZ 
Date:   2017-08-01T05:44:44Z

duplicate charts and workbooks while importing content from other slide

commit c8969110f803f89bca44e0aee1debf6687fc8c32
Author: Alain FAGOT BEAREZ 
Date:   2017-07-04T06:56:19Z

join efforts between XSSF charts and XSLF charts into XDDF DrawingML

commit 9d8fcfb599ef72ae764fa15432c943ae5f6296e2
Author: Alain FAGOT BEAREZ 
Date:   2017-08-08T21:53:26Z

enable more than one data series per chart

commit 993a46114cd1635d6147e0d5e48cc2627166ca81
Author: Alain FAGOT BEAREZ 
Date:   2017-08-08T21:53:26Z

use XDDF user model from XSSFChart




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



Build failed in Jenkins: POI-DSL-SonarQube #154

2017-08-10 Thread Apache Jenkins Server
See 

--
[...truncated 28.12 KB...]
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:40)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18)
at 
org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at 
org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
at 
org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311)
at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291)
at 
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387)
at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:158)
Caused: hudson.scm.subversion.UpdaterException: failed to perform svn update
at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:212)
at 
hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
at 
hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1001)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:977)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:953)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused: java.io.IOException
at 
hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:212)
at 
hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
at 
hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1001)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:977)
at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:953)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2739)
at hudson.remoting.UserRequest.perform(UserRequest.java:153)
at hudson.remoting.UserRequest.perform(UserRequest.java:50)
at hudson.remoting.Request$2.run(Request.java:336)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
at ..remote call to H21(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
at hudson.remoting.Channel.call(Channel.java:830)
at hudson.FilePath.act(FilePath.java:986)
Caused: java.io.IOException: remote file operation failed: 
 at 
hudson.remoting.Channel@4b715ff3:H21
at hudson.FilePath.act(FilePath.java:993)
at hudson.FilePath.act(FilePath.java:975)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:902)
at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:838)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:560)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:485)
at hudson.model.Run.execute(Run.java:1735)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Retrying after 10 seconds
Updating https://svn.apache.org/repos/asf/poi/trunk at revision 
'2017-08-10T09:26:21.700 +'
ERROR: Failed to update https://svn.apache.org/repos/asf/poi/trunk
org.tmatesoft.svn.core.SVNException: svn: E200030: java.io.IOException: 
Permission denied
   

[Bug 61396] DataBarFormatting, setWidthMin by default 10 % in excel output(when i getWidthMin gives 0 and i unable to setWidthMin to any other value)

2017-08-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61396

raja  changed:

   What|Removed |Added

 OS||All

--- Comment #2 from raja  ---
also setWidthMax by default 90 % in excel output

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 61397] Unable to read excel using HSSFWorkbook in poi 3.8 but works fine in 3.0, I cannot downgrade the version.

2017-08-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61397

Javen O'Neal  changed:

   What|Removed |Added

 OS||All
 Status|NEW |NEEDINFO

--- Comment #1 from Javen O'Neal  ---
Have you tried to open the workbook with a newer version of POI, such as POI
3.16? 3.8 is pretty old.

Are you able to share the Excel file?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 61397] New: Unable to read excel using HSSFWorkbook in poi 3.8 but works fine in 3.0, I cannot downgrade the version.

2017-08-10 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=61397

Bug ID: 61397
   Summary: Unable to read excel using HSSFWorkbook in poi 3.8 but
works fine in 3.0, I cannot downgrade the version.
   Product: POI
   Version: unspecified
  Hardware: PC
Status: NEW
  Severity: blocker
  Priority: P2
 Component: HSSF
  Assignee: dev@poi.apache.org
  Reporter: manju.gane...@gmail.com
  Target Milestone: ---

I am using an excel of version Microsoft Excel 97-2003 Worksheet (.xls). I am
trying to read the excel in java using following code. I am using poi 3.8
version
 fis = new FileInputStream(filename);
 HSSFWorkbook workbook = new HSSFWorkbook(fis);

I am getting the following error. 
Exception in thread "main" java.lang.RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.ColumnInfoRecord)
at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.(RowRecordsAggregate.java:107)
at
org.apache.poi.hssf.model.InternalSheet.(InternalSheet.java:208)
at
org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:163)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:296)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:248)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:192)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:327)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.(HSSFWorkbook.java:308)
at com.wona.ExcelExtractService.main(ExcelExtractService.java:28)


It works fine in poi 3.0 version, but i cannot downgrade to an older version.

On opening in excel and resaving it in different name the new excel works fine.
I cannot resave the excel and use all the time. Need a fix for it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org