java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Upload into system folder using jsf2.0
    via Stack Overflow by Muthu
    ,
  • IOException when creating a temporary file?
    via Stack Overflow by Kao
    ,
  • Steps to reproduce: 1. Configure OpenID plugin in SSO mode using https://www.google.com/accounts/o8/id 2. authenticate using google account. The first thing I noticed is I'm authenticated as my url. Like https://www.google.com/accounts/o8/id?id=someencodedidentifier I assumed there's no name information available from google, so I went to edit my name in the account information. I then got this stacktrace: hudson.util.IOException2: Failed to create a temporary file in C:\Users\btrimby\.hudson\users\https___www.google.com_accounts_o8_id?id=AItOawmhTaBgH-LlpQjxZFm7NzwqtlHEtiFcqI0 at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:67) at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:54) at hudson.XmlFile.write(XmlFile.java:162) at hudson.model.User.save(User.java:408) at hudson.model.User.doConfigSubmit(User.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:102) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:242) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:562) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:640) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:478) at org.kohsuke.stapler.Stapler.service(Stapler.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1704) at java.io.File.createTempFile(File.java:1792) at hudson.util.AtomicFileWriter.(AtomicFileWriter.java:65) ... 59 more It may be a windows only thing. The behavior on Linux was correct, but I did notice that when I logged in I still have the URL as my user name. maybe this is just a limitation of google's openid support not providing a user id attribute...
    via by btrim,
  • A snippet from logs (after adding) : 2008-08-15 12:40:59,453 ERROR [Thread-1] [atlassian.confluence.event.ConfluenceEventManager] publishEvent An exception was encountered while processing the event: com.atlassian.confluence.event.events.admin.ConfluenceReadyEvent[source=com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager@185c6ac] java.lang.IllegalStateException: Could not init from [ C:\Documents and Settings\Atlassian\confluence-home\bundled-plugins\impresence-plugin-2.2.jar ] due to The filename, directory name, or volume label syntax is incorrect at com.atlassian.plugin.classloader.PluginClassLoader.<init>(PluginClassLoader.java:51) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.deployPluginFromUnit(ClassLoadingPluginLoader.java:89) at com.atlassian.confluence.plugin.BundledClassLoadingPluginLoader.deployPluginFromUnit(BundledClassLoadingPluginLoader.java:45) at com.atlassian.plugin.loaders.ClassLoadingPluginLoader.loadAllPlugins(ClassLoadingPluginLoader.java:64) at com.atlassian.plugin.DefaultPluginManager.init(DefaultPluginManager.java:97) at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:161) at com.atlassian.confluence.plugin.ConfluencePluginManager.processConfluenceReadyEvent(ConfluencePluginManager.java:270) at com.atlassian.confluence.plugin.ConfluencePluginManager.onApplicationEvent(ConfluencePluginManager.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy5.onApplicationEvent(Unknown Source) at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77) at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246) at com.atlassian.event.DefaultEventManager.publishEvent(DefaultEventManager.java:70) at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy3.publishEvent(Unknown Source) at com.atlassian.confluence.upgrade.impl.DefaultUpgradeManager.upgrade(DefaultUpgradeManager.java:75) at com.atlassian.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:26) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(Unknown Source) at java.io.File.createTempFile(Unknown Source) at java.io.File.createTempFile(Unknown Source) at com.atlassian.plugin.classloader.PluginClassLoader.initialiseInnerJar(PluginClassLoader.java:92) at com.atlassian.plugin.classloader.PluginClassLoader.initializeFromJar(PluginClassLoader.java:71) at com.atlassian.plugin.classloader.PluginClassLoader.<init>(PluginClassLoader.java:47) ... 54 more
    via by Andrew Lynch [Atlassian],
  • When using the Group By step, if a "Temporary files directory" is provided with a value that is a VFS-based directory (such as the "Internal.Transformation.Filename.Directory"), Java throws an error, as it doesn't understand filenames like {{file:///C:/Users/Pentaho/Downloads/}}. System-level variables, like "java.io.tmpdir" work correctly. {noformat} 2016/04/27 09:28:02 - Group by.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Unexpected error 2016/04/27 09:28:02 - Group by.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleFileException: 2016/04/27 09:28:02 - Group by.0 - 2016/04/27 09:28:02 - Group by.0 - Unable to create temporary file 2016/04/27 09:28:02 - Group by.0 - The filename, directory name, or volume label syntax is incorrect 2016/04/27 09:28:02 - Group by.0 - 2016/04/27 09:28:02 - Group by.0 - The filename, directory name, or volume label syntax is incorrect 2016/04/27 09:28:02 - Group by.0 - 2016/04/27 09:28:02 - Group by.0 - at org.pentaho.di.trans.steps.groupby.GroupBy.addToBuffer(GroupBy.java:761) 2016/04/27 09:28:02 - Group by.0 - at org.pentaho.di.trans.steps.groupby.GroupBy.processRow(GroupBy.java:212) 2016/04/27 09:28:02 - Group by.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2016/04/27 09:28:02 - Group by.0 - at java.lang.Thread.run(Thread.java:745) 2016/04/27 09:28:02 - Group by.0 - Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect 2016/04/27 09:28:02 - Group by.0 - at java.io.WinNTFileSystem.createFileExclusively(Native Method) 2016/04/27 09:28:02 - Group by.0 - at java.io.File.createTempFile(File.java:2024) 2016/04/27 09:28:02 - Group by.0 - at org.pentaho.di.trans.steps.groupby.GroupBy.addToBuffer(GroupBy.java:754) 2016/04/27 09:28:02 - Group by.0 - ... 3 more {noformat}
    via by Matt Tucker,
    • java.io.IOException: The filename, directory name, or volume label syntax is incorrect at java.io.WinNTFileSystem.createFileExclusively(WinNTFileSystem.java:0) at java.io.File.checkAndCreate(File.java:1704) at java.io.File.createTempFile(File.java:1792) at org.netbeans.modules.dlight.util.Util.copyResource(Util.java:86) at org.netbeans.modules.dlight.cpu.DLightCPUToolConfigurationProvider.create(DLightCPUToolConfigurationProvider.java:111) at org.netbeans.modules.dlight.api.tool.ToolsConfiguration.getToolsSet(ToolsConfiguration.java:124)

    Users with the same issue

    olle.hallin
    1 times, last one,
    rp
    1 times, last one,
    balintn
    2 times, last one,
    davidvanlaatum
    2 times, last one,
    Unknown visitor1 times, last one,
    45 more bugmates