Skip to main content
avillanueva
23-Emerald I
23-Emerald I
January 6, 2026
Solved

Exception thrown exporting to XLSX from Windchill table

  • January 6, 2026
  • 1 reply
  • 185 views

Walking into a new year and a strange error message without any system changes (that I know of). When exporting a table of data to Excel (Export to XLSX), I get this error message:

avillanueva_0-1767702090490.png

All other export methods appear to complete fine just this one so I've dropped its severity down. This is with WC 13.0.2.4. 

Method Server logs show the following:

Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at com.ptc.core.components.forms.FormDispatcher.callWizardCommand(FormDispatcher.java:112)
	at com.ptc.core.components.forms.FormDispatcher.execute(FormDispatcher.java:98)
	... 64 more
Caused by: java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /tmp/poifiles/poi-sxssf-sheet5099617869605881006.xml
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.createAndRegisterSXSSFSheet(SXSSFWorkbook.java:696)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:712)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:104)
	at com.ptc.core.components.export.table.AbstractExportToXLS.initialize(AbstractExportToXLS.java:109)
	at com.ptc.core.components.export.table.AbstractExportToXLS.<init>(AbstractExportToXLS.java:63)
	at com.ptc.core.components.export.table.ExportToXLSX.<init>(ExportToXLSX.java:24)
	at com.ptc.core.components.export.table.ExportFileType.getExportListWriter(ExportFileType.java:227)
	at com.ptc.core.components.export.table.ExportListWriterFactory.getExportWriter(ExportListWriterFactory.java:32)
	at com.ptc.core.components.export.table.ExportListCommands.getExportListWriter(ExportListCommands.java:155)
	at com.ptc.core.components.export.table.ExportListCommands.doExport(ExportListCommands.java:97)
	at com.ptc.core.components.export.table.ExportListCommands.export(ExportListCommands.java:88)
	... 70 more
Caused by: java.nio.file.NoSuchFileException: /tmp/poifiles/poi-sxssf-sheet5099617869605881006.xml
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
	at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
	at java.base/java.nio.file.Files.createFile(Files.java:658)
	at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
	at java.base/java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:159)
	at java.base/java.nio.file.Files.createTempFile(Files.java:878)
	at org.apache.poi.util.DefaultTempFileCreationStrategy.createTempFile(DefaultTempFileCreationStrategy.java:102)
	at org.apache.poi.util.TempFile.createTempFile(TempFile.java:67)
	at org.apache.poi.xssf.streaming.SheetDataWriter.createTempFile(SheetDataWriter.java:100)
	at org.apache.poi.xssf.streaming.SheetDataWriter.<init>(SheetDataWriter.java:74)
	at org.apache.poi.xssf.streaming.SheetDataWriter.<init>(SheetDataWriter.java:84)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheetDataWriter(SXSSFWorkbook.java:387)
	at org.apache.poi.xssf.streaming.SXSSFSheet.<init>(SXSSFSheet.java:103)
	at org.apache.poi.xssf.streaming.SXSSFWorkbook.createAndRegisterSXSSFSheet(SXSSFWorkbook.java:694)
	... 80 more

I can confirm that its not a space issue nor is the user running Windchill unable to read/write to /tmp folder. 

Best answer by avillanueva

Not sure of cause but files did not exist. I restarted Windchill and its working now. Very odd but no longer an issue.

1 reply

jbailey
18-Opal
January 9, 2026

All XLS table exports?

avillanueva
23-Emerald I
23-Emerald I
January 9, 2026

Only XLSX and all tables.  I think it uses the same code. XLS and CSV and others still function. 

jbailey
18-Opal
January 9, 2026

What's error line above this?

Caused by: java.lang.reflect.InvocationTargetException