You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/11/25 10:11:27 UTC

DO NOT REPLY [Bug 32386] New: - Creating new HSSFWorkbook under WebStart not possible

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32386>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32386

           Summary: Creating new HSSFWorkbook under WebStart not possible
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: michael_gertz@gmx.de


Creating a new HSSFWorkbook while started the JavaApp in WebStart-Environment, 
the SecurityManager is blocking this Request. Following StackTrace appears:

java.security.AccessControlException: access denied 
(java.util.PropertyPermission user.name read)

	at java.security.AccessControlContext.checkPermission(Unknown Source)

	at java.security.AccessController.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)

	at java.lang.System.getProperty(Unknown Source)

	at org.apache.poi.hssf.model.Workbook.createWriteAccess
(Workbook.java:833)

	at org.apache.poi.hssf.model.Workbook.createWorkbook(Workbook.java:249)

	at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:124)

FileSaveService (javax.jnlp.FileSaveService) should be used, if available, i 
think. With current version of POI, it's not possible to create any Workbook in 
WebStart-Environment ...

greetings Michael G.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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