Try {} errors?

I am in the middle of programming an inner class but I am having run-time errors with my set of try-catch nested blocks. It is supposed to turn all buttons four linear spaces away magenta, but there seems to be an error.
                protected ActionListener listener = new ActionListener() {
                        int tempX = -1;
                        int tempY = -1;
                        public void actionPerformed(ActionEvent aei) { //aCTION eVENT iNTERNAL
                                countShips--;
                                for (int y = 0; y < 10; y++) {
                                        for (int x = 0; x < 10; x++) {
                                                playerField[x][y].removeActionListener(listener);                                                                                               
                                                if (aei.getSource() == playerField[x][y] && !(tempX == x && tempY == y)) {
                                                        try {
                                                                playerField[x][y].setBackground(Color.green);
                                                                playerField[innerCol + (countShips - 1)][innerRow].addActionListener(listener);
                                                                playerField[innerCol + (countShips - 1)][innerRow].setBackground(Color.magenta);
                                                                playerField[innerCol][innerRow + (countShips - 1)].addActionListener(listener);
                                                                playerField[innerCol][innerRow + (countShips - 1)].setBackground(Color.magenta);
                                                                playerField[innerCol - (countShips - 1)][innerRow].addActionListener(listener);
                                                                playerField[innerCol - (countShips - 1)][innerRow].setBackground(Color.magenta);
                                                                playerField[innerCol][innerRow - (countShips - 1)].addActionListener(listener);
                                                                playerField[innerCol][innerRow - (countShips - 1)].setBackground(Color.magenta);                                                       
                                                        catch (ArrayIndexOutOfBoundsException iaiobeo) { // iNNER aRRAY iNDEX oUT OF bOUNDS eXCEPTION oNCE
                                                                try {
                                                                        playerField[innerCol][innerRow + (countShips - 1)].addActionListener(listener);
                                                                        playerField[innerCol][innerRow + (countShips - 1)].setBackground(Color.magenta);
                                                                        playerField[innerCol - (countShips - 1)][innerRow].addActionListener(listener);
                                                                        playerField[innerCol - (countShips - 1)][innerRow].setBackground(Color.magenta);
                                                                        playerField[innerCol][innerRow - (countShips - 1)].addActionListener(listener);
                                                                        playerField[innerCol][innerRow - (countShips - 1)].setBackground(Color.magenta);                                                       
                                                                catch (ArrayIndexOutOfBoundsException iaiobes) { //iNNER aRRAY INDEX oUT OF bOUNDS eXCEPTION sECOND
                                                                        try {
                                                                                playerField[innerCol - (countShips - 1)][innerRow].addActionListener(listener);
                                                                                playerField[innerCol - (countShips - 1)][innerRow].setBackground(Color.magenta);
                                                                                playerField[innerCol][innerRow - (countShips - 1)].addActionListener(listener);
                                                                                playerField[innerCol][innerRow - (countShips - 1)].setBackground(Color.magenta);                                                       
                                                                        catch (ArrayIndexOutOfBoundsException iaiobet) { //iNNER aRRAY INDEX oUT OF bOUNDS eXCEPTION tHIRD
                                                                                try {
                                                                                        playerField[innerCol][innerRow - (countShips - 1)].addActionListener(listener);
                                                                                        playerField[innerCol][innerRow - (countShips - 1)].setBackground(Color.magenta);                                                       
                                                                                catch   (ArrayIndexOutOfBoundsException iaiobef) { //iNNER aRRAY INDEX oUT OF bOUNDS eXCEPTION fOURTH
                                                        catch (Exception ie) { // iNNER eXCEPTION
                                                                System.out.println(ie);
                                } // end of inner method
                        };  // end of inner class

As I suggested the other day, check whether your index values are out of range yourself, rather than waiting for the exception. As jverd said, you shouldn't use try/catch for this situation.
You need something like:
int tempCol = innerCol+(countShips - 1);
if ((tempCol >= 0) && (tempCol < NUMBER_OF_COLUMNS))
// where NUMBER_OF_COLUMNS is a constant representing the number of columns of your field
//(currently 10, in your code).
   playerField[innerCol + (countShips - 1)][innerRow].addActionListener(listener);
}Then you know you won't get an ArrayIndexOutOfBoundsException, and don't need the try/catch.

Similar Messages

  • Solaris SAPGUI for Java 7.10 rev 8 try  error JniAgiLibAdaptor. init

    i have a problem java sapgui.
    Launch the Sapgui and then try to connect to any one of the three choices and it should produce the following error.
    i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    gui version;
    SAPGUI for Java 7.10 rev 8 (java),
    no library (lib)
    (Version ID 071000040800)
    Mon Mar 30 10:34:24 MEST 2009
    uw1059, 710_REL, 1054563
    Java VM: Sun Microsystems Inc. Version 1.6.0_14
    OS: SunOS(x86) Version 5.10
    The version of Java being used is:
    java -version
    java version "1.5.0_16"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_16-b02)
    Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
    Thank You,
    Ferhan
    JniAgiLibAdaptor.<init>: Cannot load JNI library
    details;
    java.lang.Exception: JniAgiLibAdaptor.<init>: Cannot load JNI library
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:29)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at: java.awt.Component.processMouseEvent(Unknown Source)
    at: javax.swing.JComponent.processMouseEvent(Unknown Source)
    at: java.awt.Component.processEvent(Unknown Source)
    at: java.awt.Container.processEvent(Unknown Source)
    at: java.awt.Component.dispatchEventImpl(Unknown Source)
    at: java.awt.Container.dispatchEventImpl(Unknown Source)
    at: java.awt.Component.dispatchEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at: java.awt.LightweightDispatcher.proc
    Attempt to load shared library
    /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so failed.
    The library file exists, so either the program has
    insufficient privileges to access the library or the library
    is not loadable by the shared object loader.
    Please recheck the system requirements for your operating
    system and make sure all required libraries are installed.
    details;
    ava.lang.UnsatisfiedLinkError: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: ld.so.1: java: fatal: /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so: wrong ELF data format: ELFDATA2MSB (Possible cause: endianness mismatch)
    at: java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at: java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at: java.lang.ClassLoader.loadLibrary(Unknown Source)
    at: java.lang.Runtime.load0(Unknown Source)
    at: java.lang.System.load(Unknown Source)
    at: com.sap.platin.r3.util.GuiJniLoader.loadPlatinLibrary(GuiJniLoader.java:56)
    at: com.sap.platin.r3.protocol.diag.JniAgiLibAdaptor.<init>(JniAgiLibAdaptor.java:27)
    at: com.sap.platin.r3.protocol.diag.GuiDiagToAutomationParser.configure(GuiDiagToAutomationParser.java:283)
    at: com.sap.platin.base.connection.GuiConnection.open(GuiConnection.java:297)
    at: com.sap.platin.base.application.GuiApplication.createConnection(GuiApplication.java:798)
    at: com.sap.platin.base.logon.GuiLogonFrame.doConnect(GuiLogonFrame.java:838)
    at: com.sap.platin.base.logon.GuiLogonFrame$SymListener.actionPerformed(GuiLogonFrame.java:443)
    at: javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at: javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at: javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at: javax.swing.plaf.basic.BasicB

    > i am running this on a Solaris 10 32bit. This sam java SAPGUI runs fine when i boot into the windows xp pro. Hope this helps.
    >
    > gui version;
    > SAPGUI for Java 7.10 rev 8 (java),
    > no library (lib)
    > (Version ID 071000040800)
    > Mon Mar 30 10:34:24 MEST 2009
    > uw1059, 710_REL, 1054563
    > Java VM: Sun Microsystems Inc. Version 1.6.0_14
    > OS: SunOS(x86) Version 5.10
    The Java gui runs
    - on 64bit only
    - on SPARC hardware only (not on x86)
    If you execute the command
    file /opt/SAPClients/SAPGUI7.10rev8/bin/libJPlatin.so
    you'll see that the library is just for SPARC.
    Markus

  • My ipod touch is getting an error when I try to restore.  It says 2003 error.  It's frozen.

    My ipod touch got a 2003 error when I tried to restore.  It's frozen.  I've tried everything I've read but nothing works.

    For the error try:
    "Error 2000-2009: (2001, 2002, 2005, 2006, 2009, and so on) If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. Learn how to reset the SMC. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue continues, it may be related toconflicting security software."
    Above from:
    Update and restore alert messages on iPhone, iPad, and iPod touch
    To unfreeze have your tried:
    - Resetting:
    Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Placing the iPod in recovery mode and restoring it.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore
    - Placing is DFU mode and restoring it
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    Saying you tried everything is not really helpful since it is very easy to miss something.  It is helpful to say what tried and did not work.

  • I am trying to install creative cloud - I get an error 201 can you help me?

    I am new to creative cloud. When I try to launch the Installer, it stops and I get an error 201. Anyone with some ideas for me?

    Hi jeffreypaulbell,
    Kindly try: Error downloading Creative Cloud applications
    Thanks,
    Atul Saini

  • Error while configuring Oracle Internet Directory

    Hi All,
    I have installed OID according to instructions in
    http://download.oracle.com/docs/cd/E21764_01/install.1111/b32474/start.htm#BEHHHCBB
    I was trying to configure OID using instructions given in section 6.5 Only OID Without a WebLogic Domain at below url
    http://download.oracle.com/docs/cd/E21764_01/install.1111/e12002/oid.htm#CIHHFIGC
    The configurations is failing in creation of directory giving an error below:
    [2011-11-15T12:14:40.321+05:30] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] Ports: nonssl= 3060 ssl= 3131
    [2011-11-15T12:14:40.321+05:30] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] Creating OID specific directories
    [2011-11-15T12:14:40.321+05:30] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] JPS Files already exist: oracle.as.config.ProvisionException: Dest file (C:\Oracle\Middleware\asinst_2\config\JPS\jps-config-jse.xml) already exists.
    [2011-11-15T12:14:40.321+05:30] [as] [NOTIFICATION] [] [oracle.as.config] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] Files already exist: oracle.as.config.ProvisionException: Dest file (C:\Oracle\Middleware\asinst_2\config\JPS\system-jazn-data.xml) already exists.
    [2011-11-15T12:14:41.774+05:30] [as] [ERROR] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [[
    java.lang.NoClassDefFoundError: oracle/security/xmlsec/util/Base64
    at oracle.security.jps.internal.common.util.JpsCommonUtil.<clinit>(JpsCommonUtil.java:204)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:154)
    at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:165)
    at oracle.iam.management.oid.install.wls.OIDComponentHelper$1.run(OIDComponentHelper.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.iam.management.oid.install.wls.OIDComponentHelper.setCredInCSF(OIDComponentHelper.java:389)
    at oracle.iam.management.oid.install.wls.OIDComponentHelper.setPasswdsInCSF(OIDComponentHelper.java:361)
    at oracle.iam.management.oid.install.wls.OIDComponent.onCreate(OIDComponent.java:177)
    at oracle.as.config.impl.OracleASComponentBaseImpl.createComponent(OracleASComponentBaseImpl.java:596)
    at oracle.as.config.impl.OracleASComponentBaseImpl.create(OracleASComponentBaseImpl.java:105)
    at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:144)
    at oracle.as.provisioning.fmwadmin.ASComponentProv.createComponent(ASComponentProv.java:73)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv._createComponent(ASInstanceProv.java:401)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createComponent(ASInstanceProv.java:358)
    at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:136)
    at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:537)
    at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:441)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
    at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:820)
    at oracle.as.idm.install.config.IdMDirectoryServicesManager.doExecute(IdMDirectoryServicesManager.java:855)
    at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
    at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
    at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
    at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
    at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
    at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: oracle.security.xmlsec.util.Base64
    at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionClassLoader.loadClass(StandardConfigActionClassLoader.java:75)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    ... 29 more
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE:16] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: IdMProvisioningEventListener] [SRC_METHOD: onConfigurationError] ENTRY bb084f6d-09f4-4737-b462-a0a877a439db
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] ________________________________________________________________________________
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] [OOB IDM CONFIG EVENT] onConfigurationError -> configGUID bb084f6d-09f4-4737-b462-a0a877a439db
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] [OOB IDM CONFIG EVENT] ErrorID: 35076
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] [OOB IDM CONFIG EVENT] Description: [[
    Error creating ASComponent oid1.
    Cause:
    An internal operation has failed: oracle/security/xmlsec/util/Base64
    Action:
    See logs for more details.
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] ________________________________________________________________________________
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] [OOB IDM CONFIG EVENT] onConfigurationError -> eventResponse ==oracle.as.provisioning.engine.ConfigEventResponse@1cc678a
    [2011-11-15T12:14:41.774+05:30] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [OOB IDM CONFIG EVENT] onConfigurationError -> Configuration Status: -1
    [2011-11-15T12:14:41.774+05:30] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [OOB IDM CONFIG EVENT] onConfigurationError -> Asking User for RETRY or ABORT
    [2011-11-15T12:14:41.774+05:30] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [OOB IDM CONFIG EVENT] onConfigurationError -> ActionStep:OID
    [2011-11-15T12:14:41.774+05:30] [as] [TRACE] [] [oracle.as.provisioning] [tid: 12] [ecid: 0000JE_xudK9d_QwI^e9Sv1EkWaj000003,0] [SRC_CLASS: oracle.as.idm.install.config.event.IdMProvisionEventListener] [SRC_METHOD: onConfigurationError] [OOB IDM CONFIG EVENT] onConfigurationError -> wait for User Input ....
    ===================================================================
    It is not able to find the class oracle.security.xmlsec.util.Base64.
    I was able to find a related thread on this issue at Oracle Internet Directory Config Error Linux x64 java.lang.NoClassDefFoundE
    but didn't find much helpful.
    The setup details are as follows:
    Weblogic Version: 10.3.5
    RCU Version: 11.1.1.3.3
    IDM version: 11.1.1.2.0 (release version) Upgraded to 11.1.1.5.0 (Patchset version)
    Also Oracle IDM installation has the jar file odst_xmlsec.jar having the Base64 class.
    Please let me know if you see any issues.
    Thanks in advance,
    Vikrant
    Edited by: 894449 on Nov 16, 2011 1:01 AM

    Hi,
    Please try
    "Error Creating ASComponent Oid1" Error During OID Configuration When Installing OID11g (Doc ID 1427253.1) that should resolve the issue.

  • JDev 11g update 1 base edition on windows: error building default domain

    Hi all,
    (refer to [url http://forums.oracle.com/forums/thread.jspa?messageID=3168105]here for original post)
    I'm posting this again with some more information. When downloading the Studio Edition (Base - no JDK) version of JDeveloper 11g update 1, an error occurs upon first (and each subsequent) startup of JDeveloper (error details below).
    Tests that I have done:
    1). Install using JDK 6 u 11 - JDK did not show up automatically in the installer, had to browse to find it and select it. Running using 6u11, 6u10, and 6u7 (deleting the system directory after each try) - error occurs.
    2). Install using JDK 6 u7 - JDK was automatically found by the installer. Running using 6u7, 6u11, and 6u10 (deleting the system directory after each try) - error occurs
    These errors do not occur when using the Windows installer. For information: my machine is Windows 2008 Server Standard 32-bit. An update - I just tried this on a Vista 64-bit laptop (running Sun 32-bit JDK 6u10) and did not have the problem. Ergo, this seems to be an issue with the JDK and detecting Windows 2008 as a Windows platform (or possibly with whatever mechanism JDev/WLS is using to detect the OS platform). I'll do more research on that and update if I find anything.
    One more update: I didn't find any issues reported like this related to Windows 2008, but I did one more test: install and run JDeveloper using:
    java version "1.6.0_05"                                                        
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)                           
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)                                                                   The issue does not occur using this JDK. So to summarize, installing JDev 11g update 1 Studio edition, base installer using any of the SUN JDK's on Windows 2008 gives this problem. Using the windows installer or JRockit Mission Control JVM - no problems.
    Finally, one last update - the error is related to the JVM that is used to install, not the one used to run JDeveloper (via editing jdev.conf) - the offending JDK is in wlserver_10.3\common\bin\commEnv.cmd. Seems like a no-no to have one JDK running JDev and another running the integrated WLS, though. Quite a pity, as JDev starts up pretty slowly using JRockit Mission Control.
    JRockit Realtime seems to be a bit faster... sigh - now to remove the 72 extra JDK's on my laptop ;)
    My going forward plan: use the Windows installer. Wish I never installed Windows Server 2008.
    Now for the error details; the log shows:
    ERROR:  An error occurred while building the default domain.
    Please see this log file for more details:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.logThe aforementioned log file shows:
    Default domain will be created:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    C:\o\jdev11\wlserver_10.3\common\bin\wlst.cmd "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py"
    Process started
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    wlst >
    wlst > PATH=c:\o\jdev11\patch_wls1030\profiles\default\native;c:\o\jdev11\patch_jdev1111\profiles\default\native;c:\o\jdev11\patch_cie660\profiles\default\native;C:\o\jdev11\WLSERV~1.3\server\native\win\32;C:\o\jdev11\WLSERV~1.3\server\bin;c:\o\jdev11\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;c:\java\apache-ant-1.7.1\bin;C:\Program Files\Plazmic CDK 4.6\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;C:\o\jdev11\WLSERV~1.3\server\native\win\32\oci920_8
    wlst >
    wlst > Your environment has been set.
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    wlst >
    wlst > Initializing WebLogic Scripting Tool (WLST) ...
    wlst >
    wlst > Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
    wlst >
    wlst > Welcome to WebLogic Server Administration Scripting Shell
    wlst >
    wlst > Type help() for help on available commands
    wlst >
    wlst > Creating Default Domain
    wlst > Reading template: /C:/o/jdev11/wlserver_10.3/common/templates/domains/wls.jar
    wlst > Setting Name to 'DefaultServer'
    wlst > Setting ListenAddress to ''
    wlst > Setting ListenPort to 7101
    wlst > Setting domain password.
    wlst > Failed to get environment, environ will be empty: (0, 'Failed to execute command ([\'sh\', \'-c\', \'env\']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
    wlst > Problem invoking WLST - Traceback (innermost last):
    wlst >   File "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py", line 50, in ?
    wlst >   File "Lib/javaos.py", line 137, in __getitem__
    wlst >   File "Lib/UserDict.py", line 14, in __getitem__
    wlst > KeyError: DOMAIN_PASSWORD
    wlst >
    Elapsed time:  40920 msAs noted in the original post - it seems that the WebLogic scripting tool is assuming a Unix-type host.
    Best,
    John

    Hi all,
    (refer to [url http://forums.oracle.com/forums/thread.jspa?messageID=3168105]here for original post)
    I'm posting this again with some more information. When downloading the Studio Edition (Base - no JDK) version of JDeveloper 11g update 1, an error occurs upon first (and each subsequent) startup of JDeveloper (error details below).
    Tests that I have done:
    1). Install using JDK 6 u 11 - JDK did not show up automatically in the installer, had to browse to find it and select it. Running using 6u11, 6u10, and 6u7 (deleting the system directory after each try) - error occurs.
    2). Install using JDK 6 u7 - JDK was automatically found by the installer. Running using 6u7, 6u11, and 6u10 (deleting the system directory after each try) - error occurs
    These errors do not occur when using the Windows installer. For information: my machine is Windows 2008 Server Standard 32-bit. An update - I just tried this on a Vista 64-bit laptop (running Sun 32-bit JDK 6u10) and did not have the problem. Ergo, this seems to be an issue with the JDK and detecting Windows 2008 as a Windows platform (or possibly with whatever mechanism JDev/WLS is using to detect the OS platform). I'll do more research on that and update if I find anything.
    One more update: I didn't find any issues reported like this related to Windows 2008, but I did one more test: install and run JDeveloper using:
    java version "1.6.0_05"                                                        
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)                           
    BEA JRockit(R) (build R27.6.0-50_o-100423-1.6.0_05-20080626-2105-windows-ia32, compiled mode)                                                                   The issue does not occur using this JDK. So to summarize, installing JDev 11g update 1 Studio edition, base installer using any of the SUN JDK's on Windows 2008 gives this problem. Using the windows installer or JRockit Mission Control JVM - no problems.
    Finally, one last update - the error is related to the JVM that is used to install, not the one used to run JDeveloper (via editing jdev.conf) - the offending JDK is in wlserver_10.3\common\bin\commEnv.cmd. Seems like a no-no to have one JDK running JDev and another running the integrated WLS, though. Quite a pity, as JDev starts up pretty slowly using JRockit Mission Control.
    JRockit Realtime seems to be a bit faster... sigh - now to remove the 72 extra JDK's on my laptop ;)
    My going forward plan: use the Windows installer. Wish I never installed Windows Server 2008.
    Now for the error details; the log shows:
    ERROR:  An error occurred while building the default domain.
    Please see this log file for more details:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.logThe aforementioned log file shows:
    Default domain will be created:
    C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\DefaultDomain
    C:\o\jdev11\wlserver_10.3\common\bin\wlst.cmd "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py"
    Process started
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    wlst >
    wlst > PATH=c:\o\jdev11\patch_wls1030\profiles\default\native;c:\o\jdev11\patch_jdev1111\profiles\default\native;c:\o\jdev11\patch_cie660\profiles\default\native;C:\o\jdev11\WLSERV~1.3\server\native\win\32;C:\o\jdev11\WLSERV~1.3\server\bin;c:\o\jdev11\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;c:\java\apache-ant-1.7.1\bin;C:\Program Files\Plazmic CDK 4.6\bin;c:\o\db11\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Subversion\bin;c:\o\wfc\bin;c:\o\wfc\jre\1.4.2\bin\client;c:\o\wfc\jre\1.4.2\bin;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\o\odp;c:\o\odp\bin;C:\o\jdev11\WLSERV~1.3\server\native\win\32\oci920_8
    wlst >
    wlst > Your environment has been set.
    wlst >
    wlst > CLASSPATH=c:\o\jdev11\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;c:\o\jdev11\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\o\jdev11\WLSERV~1.3\server\lib\weblogic.jar;c:\o\jdev11\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\o\jdev11\WLSERV~1.3\server\lib\webservices.jar;c:\o\jdev11\modules\ORGAPA~1.5/lib/ant-all.jar;c:\o\jdev11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\o\jdev11\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    wlst >
    wlst > Initializing WebLogic Scripting Tool (WLST) ...
    wlst >
    wlst > Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
    wlst >
    wlst > Welcome to WebLogic Server Administration Scripting Shell
    wlst >
    wlst > Type help() for help on available commands
    wlst >
    wlst > Creating Default Domain
    wlst > Reading template: /C:/o/jdev11/wlserver_10.3/common/templates/domains/wls.jar
    wlst > Setting Name to 'DefaultServer'
    wlst > Setting ListenAddress to ''
    wlst > Setting ListenPort to 7101
    wlst > Setting domain password.
    wlst > Failed to get environment, environ will be empty: (0, 'Failed to execute command ([\'sh\', \'-c\', \'env\']): java.io.IOException: Cannot run program "sh": CreateProcess error=2, The system cannot find the file specified')
    wlst > Problem invoking WLST - Traceback (innermost last):
    wlst >   File "C:\o\jdev11\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee.adrs\CreateDefaultDomain.py", line 50, in ?
    wlst >   File "Lib/javaos.py", line 137, in __getitem__
    wlst >   File "Lib/UserDict.py", line 14, in __getitem__
    wlst > KeyError: DOMAIN_PASSWORD
    wlst >
    Elapsed time:  40920 msAs noted in the original post - it seems that the WebLogic scripting tool is assuming a Unix-type host.
    Best,
    John

  • Creative Cloud update fails with error code 50 Windows 8.1

    what is error code 50?

    Try to end all Adobe background processes and then update it
    if not working then try
    Error "Failed to Install" Creative Cloud Desktop application

  • Adobe XI Pro Installing Error 1935

    I tried to download trial Adobe Acrobat XI Pro but this message keeps appear.
    I used Chrome to download the Adobe Download Assistant.
    I have Windows 7. Please help me on this problem.

    Try Error 1935 | Install | Acrobat, Reader | Windows

  • NPSWF32.dll error when installing flash player

    I've been trying to install flash player but I keep getting the same error when I try:
    Error opening file for writing              C:\windows\system32\macromed\flash\NPSWF32.dll
    When I ignore that one I get another error
    Error opening file for writing               C:\windows\system32\macromed\flash\NPSWF32_FlashUtil.exe
    and then when I ignore this it 'finishes downloading', but it's basically useless and does not work. I went to the location above to see if I could find the file- NPSWF32.dll, but it's not there. There is a macromed and Flash folder but it is empty inside. I downloaded the NPSWF32.dll and tried to put it in the flash folder but the system wouldn't let me. I've tried uninstalling and reinstalling, but I keep getting the same error. it is driving me insane, please help me if you are familiar with this problem. i googled this and saw that a lot of people had this problem as well but i've yet to find a working solution. I'm on windows vista and im using 3.6 firefox.

    Hi , The files you are speaking of are removed with the Adobe Uninstaller and then the Installer will install the needed
    files into the Flash folder.
    http://kb2.adobe.com/cps/141/tn_14157.html  Download this Uninstaller and put it on your Desktop
    http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe This is the FF Installer, SAVE it to your Desktop
    Since I don't know what add ons, extensions or plugins you have, Just disable them all for now.
    Follow the instructions for the Uninstaller, close all browsers, check the system tray. No programs that use Flash should
    be running.
    Disconnect from the Internet
    Disable any and all Anti-Virus/Spyware programs that run in realtime.
    Disable any Firewall that you use, except Windows Firewall
    Run the Uninstaller from your Desktop, then Reboot. Wait until fully Rebooted, then Reboot again
    Run the Installer from your Desktop, then Reboot
    Enable your Firewall and your Anti-Virus/Spyware programs
    Connect back to the Internet
    Go to this Adobe test site to confirm you have the FP vs 10.0.42.34 installed http://www.adobe.com/products/flash/about
    Go to your plugins and make sure you have SWF(Shockwave Flash) vs 10.0.42.34 there and it is Enabled
    Enable Java-the latest is JRE 6 update 18.
    Then check your Flash folder and post back with the files that are now installed.
    Now if you have old versions of Java installed(check the Add/Remove) you would need to Remove them via Add/Remove
    and install the latest Java. NOTE: You can do this prior to the Uninstall/Install process. Post back and I'll give you the Java install procedure.
    Thanks
    eidnolb
    Message was edited by: eidnolb  add'l

  • Error while wrting data into file using Applescript

    am using the below script for writing the file, but sometimes am getting errors like mentioned below, pls suggest..
    set filepath to POSIX path of "Macintosh HD:Library:Application Support:Macromedia:mms.cfg"
    try
        tell application "System Events"
            if file filepath exists then
                set myFile to open for access file filepath with write permission
                set fileData to read myFile
                set eof myFile to 0
                write "blah blah" to myFile
                close access myFile
            else
                return "File Not Found"
            end if
        end tell
    on error
        return false
    end try
    Error:
    "Network file permission error." number -5000 from file "Macintosh HD:Library:Application Support:Macromedia:mms.cfg"
    Also some times i will get this error, am unable to close the opened file
    "File file Macintosh HD:Library:Application Support:Macromedia:mms.cfg is already open." number -49 from file "Macintosh HD:Library:Application Support:Macromedia:mms.cfg"
    When i tried to close the ofile am getting this eror:
    on openAFile(filepath)
        try
            set fp to open for access filepath with write permission
        on error errstr number errNum
            if errNum = -49 then
                close access filepath
                set fp to open for access filepath with write permission
            else
                display dialog errstr
                return false
            end if
        end try
        return fp
    end openAFile
    set pointer to openAFile("Macintosh HD:Library:Application Support:Macromedia:mms.cfg"
    set fileContents to read pointer
    Error
    "Can’t make \"Macintosh HD:Library:Application Support:Macromedia:mms.cfg\" into type file." number -1700 from "Macintosh HD:Library:Application Support:Macromedia:mms.cfg" to file

    if you're using HFS (colon-delimited) file paths, then you always have to prefix it with the file or alias keywords.  If you don't, Applescript will see it as a plain sting rather than a file path.  You can use POSIX (slash-delimited) paths directly.  examples:
    set filepath to POSIX path of file "Macintosh HD:Library:Application Support:Macromedia:mms.cfg"
    set fp to open for access alias filePath with write permission

  • Cannot connect to store: error 502

    i reinstalled everything is up to date...
    i ran the diagnostic and it says it is able to access the store, however, whenever i try error 502 comes up
    has anyone solved this problem?
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Dell Computer Corporation Dimension 3000
    iTunes 7.0.0.70
    Current user is an administrator.
    Network Adapter Information
    Adapter Name: {4939D0D4-076A-4B52-9592-4309147ED272}
    Description: Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
    IP Address: 10.10.13.72
    Subnet Mask: 255.255.255.0
    Default Gateway: 10.10.13.1
    DHCP Enabled: Yes
    DHCP Server: 10.10.11.15
    Lease Obtained: Tue Sep 26 09:19:30 2006
    Lease Expires: Wed Oct 04 09:19:30 2006
    DNS Servers: 10.10.11.11
    10.10.11.12
    Network Connection Information
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: Yes
    HTTP Proxy: 10.10.11.46:8080
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to iTunes Store was successful.
    Secure connection attempt to iTunes Store was successful.

    i reinstalled everything is up to date...
    i ran the diagnostic and it says it is able to access
    the store, however, whenever i try error 502 comes
    up
    has anyone solved this problem?
    Using Proxy: Yes
    HTTP Proxy: 10.10.11.46:8080
    You are behind a proxy. This article discusses this issue:
    http://docs.info.apple.com/article.html?artnum=302182

  • Error Code -42408

    When trying to turn on Genius in iTunes 10.7, I receive the following error message: An unknown error occurred (-42408). Does anyone know what this code refers to and how to resolve this issue? Please note that this happened as a result of upgrading to iTunes 11 and uninstalling it (Hate it!) and reinstalling iTunes 10.7.

    If you search the forums here for "42408" (or look up related threads under "More Like This" here to the right), you'll find numerous hints for potential solutions, though not many "solved" ones, if any.
    Since the error codes are not really well documented, you might be left with "try & error"... or succeed, if lucky...

  • I have had some problems with my iMac and had to wipe out and reinstall all my software, but for PSE-11 I get a message saying that there is a Configuration Error: 6, and to contact Adobe Support.  However, that rude agent told me I'd have to seek help vi

    I just asked the questions above; do I need to ask them again?  I got an Error: 6 Configuration warning when reinstalling PSE-11.  The agent at Adobe said since it wasn't the latest version that he couldn't help me.  He said to try the forum.  So--anyone know what needs to be done to account for Error: 6?

    First try:
    Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5

  • I can not re-download Viber on iPhone 4. "Error 8005" is coming. What to do?

    Cannot I re-download viber? Each time I try "error 8005" is coming. Please help.

    http://support.apple.com/kb/ts3297
    "Error -50," "-5000," "8003," "8008," or "-42023"
    These alerts occur due to timeouts or conflicts trying to write a file during download.
    If you encounter this issue while accessing iTunes Store:
    See iTunes 9: "One Moment Please" or "Error (-50)" message when accessing iTunes Store
    If you encounter this issue while while downloading something from the iTunes Store:
    Delete your iTunes Downloads folder, located in:
    Mac OS X:
  ~/Music/iTunes/iTunes Media/Downloads   Note: "iTunes Media" may appear as "iTunes Music. Also, the tilde (~) refers to your Home directory.
    Windows Vista:
  \Users\username\Music\iTunes\iTunes Media\Downloads\
    Windows 7:
  \Users\username\My Music\iTunes\iTunes Media\Downloads\
    Windows XP:
  \Documents and Settings\username\My Documents\My Music\iTunes\iTunes Media\Downloads\
    After locating your iTunes Downloads folder:
    Quit iTunes.
    Delete the Downloads folder on your computer.
    Open iTunes.
    Choose Store > Check for Available Downloads.
    Enter your account name and password.
    If you encounter this issue while while downloading Digital Copies using Windows:
    Use MSCONFIG (directions for Windows XP and Windows Vista/Windows 7) to disable conflicting software.
    If using MSCONFIG steps resolves the issue, you may want to use the System Configuration Utility to turn on the third-party System Services and Startup Items one at a time (restarting your computer after turning on the item or items) to identify which System Service or Startup Item is causing the conflict.
    You can turn all of them back on by selecting the Normal Startup option under the General tab of the System Configuration Utility window, but please note that this may cause the issue to reoccur.
    If you are able to isolate the issue to a particular third-party software, you may wish to contact them to let them know of the conflict.

  • Error 101- Installer won't extract files, manual 7z unzip fails, plenty of hard drive space

    PC, Windows 7 64-bit. Dual hard drive setup, primary dirve has 7 free GB. Downloading trial to second hard drive, has 466GB of free space. Download taking 24 hours each try.
    First try: Error 101- Could not extract files, check for sufficent disk space and reset download. Cleared off 6 more gigs of space on my primary drive incase that was causing the error. Restarted download.
    Try #2: Same error. I dug around and found the full download .7z file. Tried everything to unzip, but every 7zip program I tried gave me an error, said it wasn't an "archive' file.
    Restarted Adobe download assistant, got a pop up that said roughly "do you want to retry the current download, click yes to retry, click no to start over" I clicked Yes. It started over. I slammed head on table.
    Now have 20 hours remaining on my third attempt at downloading. Maybe we can get this fixed before the error message shows up again?

    Whenever you delete caches it's a good idea to restart the computer so they can be properly rebuilt. So start by doing this:
    Repair the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

Maybe you are looking for