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

Software/Update page - Cannot create temporary directory

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      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.
    • Release Notes Text:
      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).

      Description

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            nickboldt Nick Boldt added a comment -

            Reopened to set fix version as 4.1.0.1.Final as well as 4.1.1.Alpha2.

            Show
            nickboldt Nick Boldt added a comment - Reopened to set fix version as 4.1.0.1.Final as well as 4.1.1.Alpha2.
            Hide
            jniederm Jakub Niedermertl added a comment -

            reopen to duplicate issue to separate fix versions

            Show
            jniederm Jakub Niedermertl added a comment - reopen to duplicate issue to separate fix versions
            Hide
            jniederm Jakub Niedermertl added a comment -

            verified, ok

            Version: 7.0.1.GA
            Build id: GA-v20130926-1852-B6

            Show
            jniederm Jakub Niedermertl added a comment - verified, ok Version: 7.0.1.GA Build id: GA-v20130926-1852-B6
            Hide
            mmurray Michelle Murray added a comment -

            reopening to add text about issue

            Show
            mmurray Michelle Murray added a comment - reopening to add text about issue
            Hide
            mmurray Michelle Murray added a comment -

            Release note text completed so closing again.

            Show
            mmurray Michelle Murray added a comment - Release note text completed so closing again.

              People

              • Assignee:
                fbricon Fred Bricon
                Reporter:
                rhopp Radim Hopp
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development