Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15494

Software/Update page - Cannot create temporary directory

XMLWordPrintable

    • Workaround Exists
    • Hide

      jdk_1.7.0_40 has a bug in tmp file creation. Use 1.7.0_25 or earlier works fine until we find a way to patch it.

      Show
      jdk_1.7.0_40 has a bug in tmp file creation. Use 1.7.0_25 or earlier works fine until we find a way to patch it.
    • Hide
      Both Oracle JDK and OpenJDK 1.7 update 40 have a known issue when creating temporary files (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8025128 and https://bugs.openjdk.java.net/browse/JDK-8025128). JBoss Developer Studio 7.0.1 includes modifications to JBoss Central to work around this issue but you may still encounter difficulties with other IDE tools. If this is the case, use an alternative version of Java developer kit 1.7 before or after update 40 (fixed in 1.8 and set to be included in 1.7 update 45).
      Show
      Both Oracle JDK and OpenJDK 1.7 update 40 have a known issue when creating temporary files (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8025128 and https://bugs.openjdk.java.net/browse/JDK-8025128) . JBoss Developer Studio 7.0.1 includes modifications to JBoss Central to work around this issue but you may still encounter difficulties with other IDE tools. If this is the case, use an alternative version of Java developer kit 1.7 before or after update 40 (fixed in 1.8 and set to be included in 1.7 update 45).

      Recently, Software/Update page of JBoss Central stopped working (No Connectors Found).
      Error log:

      Cannot download bundle at http://download.jboss.org/jbosstools/updates/development/kepler/plugins/org.jboss.tools.central.discovery_1.2.0.Final-v20130722-0943-B274.jar: Unable to create temporary file
      
      a.io.IOException: Unable to create temporary file
      	at java.io.File$TempDirectory.generateFile(File.java:1891)
      	at java.io.File.createTempFile(File.java:1979)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.RemoteExternalBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteExternalBundleDiscoveryStrategy.java:217)
      	at org.jboss.tools.project.examples.internal.discovery.xpl.RemoteExternalBundleDiscoveryStrategy$DownloadBundleJob.call(RemoteExternalBundleDiscoveryStrategy.java:1)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      
      

      This issue affects both JBDS and JBT, both not only in 7.1.0 (4.1.1) but also in 7.0.0.Final (4.1.0.Final), thus it's marked as blocker.

            fbricon@redhat.com Fred Bricon
            rhopp@redhat.com Radim Hopp
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: