Importing a package recursively (with subpackages)

Hello everyone,
I'm a 1st-year CS major and am new to Java. I had a question about importing packages. As I understand it, when you use a wildcard when importing, it will import the classes within the package specified before the asterisk, but none of the subpackages in the specified package.
Sort of like in Linux when you have to pass the -R (recursive) argument to list files contained deeper within the directory hierarchy.
My question is, is there a way to include all classes and subpackages with a single line, instead of doing:
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
I understand that it doesn't actually cause any bloat in your bytecode, so if it can be done, would there be any disadvantage?
Thanks!

jverd wrote:
E_Rutherford_Jollyworth wrote:
Hello everyone,
I'm a 1st-year CS major and am new to Java. I had a question about importing packages. As I understand it, when you use a wildcard when importing, it will import the classes within the package specified before the asterisk, but none of the subpackages in the specified package. Correct. There aren't really "subpakcages." The JLS actually uses that term, but I don't know why. There's no real hierarchy, other than the one on the filesystem and the logical one implied by the names. As far as Java is concerned, the packages have no relation to each other.
YET.
There are plans (I think approved by the JCP) to enable importing of class hierarchies in JDK 7. Not my favourite idea, but others seem to think differently.
I understand that it doesn't actually cause any bloat in your bytecode, so if it can be done, would there be any disadvantage?If it could be done, the disadvantage would be the same as that of using the *** wildcard to import all the classes at a single level. Namely, it's not clear which class comes from which package.Worse than that. If you have identically named classes in deeper packages which one is going to be used? You just can't tell, which hopefully will generate a compiler error.
For example you import com.acme.dummy recursively, which has com.acme.dummy.one.SomeClass and com.acme.dummy.two.SomeClass.
Now use SomeClass in your code without specifying the package name with it and you're in trouble.

Similar Messages

  • OWB Can't Import Existing Package with Collection Data Type as Arguments

    I created a package and compiled it successfully as the follows:
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE PACKAGE_TEST AS
    TYPE Num_LIST IS TABLE of NUMBER INDEX BY BINARY_INTEGER;
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER;
    END PACKAGE_TEST;
    CREATE OR REPLACE PACKAGE BODY PACKAGE_TEST AS
    FUNCTION TEST_FUNCTION1 ( arg1 NUMBER, arg2 NUMBER) RETURN NUMBER IS
    ln_sum NUMBER;
    BEGIN
    ln_sum := arg1 + arg2;
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION1;
    FUNCTION TEST_FUNCTION2 ( args NUM_LIST) RETURN NUMBER IS      
         ln_sum NUMBER;
    BEGIN
    ln_sum :=0;
         FOR i IN 1.. args.COUNT LOOP
         ln_sum := ln_sum + args( i );     
         END LOOP;     
         RETURN ln_sum;     
    EXCEPTION
    WHEN OTHERS THEN
    RETURN -10000;     
    END TEST_FUNCTION2;     
    END PACKAGE_TEST;
    ++++++++++++++++++++++++++++++++++++++++
    Then I tried to import the package into OWB (9.2). The problem came: all the package body and
    the specification of TEST_FUNCTION1 were imported, but the package specification of
    TEST_FUNCTION2 couldn't be imported. The IMPORT FILTER gave an error message:
    "TEST_FUNCTION2: Argument Data type is not supported".
    How to resolve this problem? It is very import for our project, since we have to import some
    packages with user_defined collection data types as arguments.
    Thank you.
    Lushu

    Hi Lushu,
    Unfortunately this is indeed not supported and I would not know how to work around this one. The only way I guess that this would work is to not import it, and then use Expressions to call the function with inputs.
    Jean-Pierre

  • Undefined method error in custom package even with proper import

    I edited the title of this thread to be a little more descriptive about the help I need.
    The background: I have a multi-file Flash application that allows users to navigate through multiple pages (similar to a website). I realized yesterday that with each mouse click, I'm loading a page into memory, but not unloading it. After navigating through several pages, my memory really starts to take a hit. So, I want to define a custom package that loads each page and unloads the previous page.
    I've gotten as far as defining the pageLoad function, but I keep getting an error that doesn't make sense to me (unless I'm importing the wrong flash packages).
    When I test the Flash, I consistently get the following error:
    dtutils.as – 1180: Call to a possibly undefined method addChild. – addChild(pageLoader);
    Everything I have found indicates that to import the addChild method, I need to import flash.display.Sprite, which I'm doing, but I am still getting the error.
    You'll have to forgive me as I'm not extremely familiar with objects or actionscript. I'm more of a hacker, but I grasp things quickly and can build on what I've already learned. This might be obvious to others, but I can't find anything that indicates that I'm doing anything wrong with my code, so any help you can give is greatly appreciated!!
    My package code:
    package com.clientname.demo
        import flash.display.Sprite;
        import flash.display.Loader;
        import flash.events.MouseEvent;
        import flash.net.URLRequest;
        public class dtutils
            //Properties
            public var pageLoader:Loader = new Loader();
            public var pagePath:URLRequest;
            //Constructor
            public function loadPage(url:String)
                pagePath = new URLRequest(url);
                pageLoader.load(pagePath);
                addChild(pageLoader);
    I've also attempted to replace the four import lines in my package with the following 3 import lines, but I still get the same error message:
    import flash.display.*;
    import flash.events.*;
    import flash.net.*;
    The code I'm using to import my package and call the function in my flash file is:
    import com.clientname.demo.dtutils;
    dtutils.loadPage("../filepath/filename.swf");
    I appreciate any help anyone can give me.

    Thanks for the feedback. Being fairly new with actionscript (and an object approach, in general), and not being a real developer, I often struggle with naming conventions. Didn't even realize there was a specific convention for what is considered a utility and what isn't. However, I appreciate your feedback and will rename my package so that it isn't confusing to any other real developers that may need to do something with this code in the future.
    Thanks!

  • Import a package in owb 10.2. with ombplus

    hi,
    we have a plsql-package wich evolves over time, created by a generator...
    i want to re-import a plsql-package with ombplus.
    i tried it that way:
    OMBDROP PACKAGE 'pckg1'
    OMBCREATE TRANSIENT IMPORT_ACTION_PLAN 'I1'
    OMBALTER IMPORT_ACTION_PLAN 'I1' ADD ACTION 'PCKG-IMP' SET REF SOURCE PACKAGE 'pckg1' SET REF TARGET ORACLE_MODULE 'mod1'
    i got a error indicating that 'PACKAGE' isn't the right object-type:
    PUB04201: Encountered an internal fatal error during processing of oracle module mod1: unsupported obj type.
    the documentation did not list valid object-types.
    does anyone know how to accomplish this task?
    when the object-type 'PACKAGE' not exists, is there an other way to re-import a package?
    thanks in advance
    tr

    OMB+> OMBCONNECT $connect_string
    Connected.
    OMB+> OMBCC $project_name
    Context changed.
    OMB+> OMBCREATE TRANSIENT IMPORT_ACTION_PLAN 'I1'
    Import action plan I1 is created.
    OMB+> OMBALTER IMPORT_ACTION_PLAN 'I1' ADD ACTION 'PCKG-IMP' SET REF SOURCE PACKAGE $package SET REF TARGET ORACLE_MODULE $module
    Import action plan I1 is altered.
    OMB+> OMBALTER LOCATION $loc SET PROPERTIES (PASSWORD) VALUES ($pwd)
    Location LOC altered.
    OMB+>
    OMB+> OMBIMPORT FROM METADATA_LOCATION FOR IMPORT_ACTION_PLAN 'I1'
    PUB04201: Encountered an internal fatal error during processing of oracle module mod1: unsupported obj type.
    OMB+> OMBREVERT
    Revert complete.
    OMB+> OMBDISC
    Disconnected.

  • How to deal with delta queue when importing Support Package/Kernel Patch

    Hi,
    From my experience, when importing a Support Package for an installation, the system will issue an error message and get stuck if this Support Package is about to alter the structures used in delta loads.
    But I would like to double with you if there is possible that the support packet which is going to alter structure, but no error message. If so, the delta data will be lost.
    Do we need to clear down the delta queue every time we import support package?
    Anyway, is there anyone have any suggestions or steps regarding this question?
    Many Thanks
    Jonathan

    Hi,
    Delta queues during support package upgrade
    Its always better to drain the delta queues before an upgrade.
    As a standard practice we drain the delta queues by running the IP/ chain multiple times.
    As a prerequiste we cancel/reschedule the V3 jobs to a future date during this activity.
    The V3 extraction delta queues must be emptied prior to the upgrade to avoid any possible data loss.
    V3 collector jobs should be suspended for the duration of the upgrade.
    They can be rescheduled after re-activation of the source systems upon completion of the upgrade.
    See SAP Notes 506694 and 658992 for more details.
    Page 17
    Load and Empty all Data mart Delta Queues in SAP BW. (e.g. for all export DataSources)
    The SAP BW Service SAPI, which is used for internal and ‘BW to BW’ data mart extraction, is
    upgraded during the SAP BW upgrade. Therefore, the delta queues must be emptied prior to the
    upgrade to avoid any possibility of data loss.
    upgrade preparation and postupgrade checklist
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/472443f2-0c01-0010-20ab-fbd380d45881
    /message/3221895#3221895
    OSS notes 328181 and 762951 as a prerequisites.
    Failure to follow the instructions in those notes may probably result in data loss.
    https://websmp207.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002662832005E
    /thread/804820
    Effect on BW of R/3 Upgrade   
    How To Tackle Upgrades to SAP ERP 6.0
    /people/community.user/blog/2008/03/20/how-to-tackle-upgrades-to-sap-erp-60
    Start with the Why — Not the How — When You Upgrade to SAP ERP 6.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008dddd1-8775-2a10-ce97-f90b2ded0280
    Rapid SAP NetWeaver 7.0 BI Technical Upgrade
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0c9c8be-346f-2a10-2081-cd99177c1fb9
     https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2b3a272-0b01-0010-b484-8fc7c068975e
    Hope this helps.
    Thanks,
    JituK

  • How do I import packages beginning with org or com?

    Any time I try to import packages beginning with org or com, I am told that the class was not found in import. Specifically, I am trying to use SVG Graphics, and here are the import lines that are not working:
    import org.w3c.dom.*;
    import org.apache.xerces.dom.*;
    import com.sun.awt.svg.*;
    import org.apache.batik.svggen.SVGGraphics2D;
    import org.apache.batik.dom.GenericDOMImplementation;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMImplementation;
    What do I need to change, or what do I need to download in order to make this work?
    Thanx.
    -Tinclon

    First you need to have the jar files containing these packages. When you have these packages, you have to set your classpath for these jar files.
    -Dieter

  • Problem with importing jsp packages

    Hi guys. I'm having a problem compiling a class that imports jsp packages.
    I'm getting errors along the lines of:
    C:\>javac HelloTag.java
    HelloTag.java:4: package javax.servlet.jsp does not exist
    import javax.servlet.jsp.*;
    ^
    HelloTag.java:5: package javax.servlet.jsp.tagext does not exist
    import javax.servlet.jsp.tagext.*;
    - I've copied jsp-api.jar and servlet-api.jar to a folder that's in my path: C:\Program Files\Java\jre1.5.0_03\lib\ext
    Any suggestion?
    Thanks.

    U have to add the path into the classpath
    set CLASSPATH=%CLASSPATH%;jsp-api.jar ....
    the compile in the same cmd window
    Do not use the CLASSPATH environment variable. Use the -classpath option while compiling and specify the path to your jar file.
    javac -classpath <path to jar file> filename.javacheers,
    ram.

  • SAP Ides ECC 6.0 Install: Import ABAP - Package SAPDODS Error - ORA-00903

    Experts,
    Good Morning!
    I'm trying to install SAP IDES ECC 6.0 version on a Windows 2008 R2 Server with Oracle 11g DB (11.2).
    System Info: 16GM RAM & 600GB Hdd. Prereqs passed.
    I'm getting the following error during the Import ABAP phase (16 of 29) in the sapinst log:
    "An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > Oracle > Central System > Central System( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. "
    Here's the dump of import_monitor.java.log
    java version "1.4.2_32"
    Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.012)
    SAP Java Server VM (build 4.1.012 1.6-b03, Oct 21 2011 14:18:45 - 41_REL - optU - windows amd64 - 6 - bas2:161688 (mixed mode))
    Import Monitor jobs: running 1, waiting 1, completed 141, failed 0, total 143.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 141, failed 1, total 143.
    Here's the dump of import_monitor.log:
    INFO: 2014-07-05 13:42:53
    Data codepage 4103 is determined using TOC file 'C:\Target\Export1\DATA\D010TAB.TOC' for package 'D010TAB'.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is started.
    TRACE: 2014-07-05 13:42:53 com.sap.inst.migmon.LoadTask processPackage
    Loading of 'SAPDODS' import package into database:
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    ERROR: 2014-07-05 13:42:54 com.sap.inst.migmon.LoadTask run
    Loading of 'SAPDODS' import package is interrupted with R3load error.
    Process 'C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error' exited with return code 2.
    For mode details see 'SAPDODS.log' file.
    Standard error output:
    sapparam: sapargv(argc, argv) has not been called!
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2014-07-05 13:43:21
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2014-07-05 13:43:21
    1 error(s) during processing of packages.
    INFO: 2014-07-05 13:43:21
    Import Monitor is stopped.
    Here's the log of SAPDODS...
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140705134253
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: version R7.20/V1.4 [UNICODE]
    Compiled Aug 16 2011 02:26:36
    patchinfo (patches.h): (0.098) DB6: correction for R3load PL 91 on HP-UX and SOLARIS (note 1609719)
    process id 1488
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe -i SAPDODS.cmd -dbcodepage 4103 -l SAPDODS.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF16
    (SQL) INFO: Searching for SQL file SQLFiles.LST
    (SQL) INFO: SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/SQLFiles.LST
    (SQL) INFO: C:\Target\Export1\DB/SQLFiles.LST not found
    (SQL) INFO: Searching for SQL file DODS.SQL
    (SQL) INFO: DODS.SQL not found
    (SQL) INFO: Searching for SQL file C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: found C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: Trying to open C:\Target\Export1\DB/ORA/DODS.SQL
    (SQL) INFO: C:\Target\Export1\DB/ORA/DODS.SQL opened
    (DB) ERROR: DDL statement failed
    (DROP TABLE "/BI0/APERS_BOD00")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: Error 903 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-00903 occurred at SQL stmt (parse error offset=15)
    (DB) ERROR: DDL statement failed
    (  CREATE TABLE [/BI0/APERS_BOD00]         (  [TCTUSERNM] nvarchar(000012)          NOT NULL  ,           [TCTOBJVERS] nvarchar(000001)          NOT NULL  ,           [TCTSYSID] nvarchar(000010)          NOT NULL  ,           [TCTQUACT] nvarchar(000001)          NOT NULL  ,           [TCTOBJNM] nvarchar(000040)          NOT NULL  ,           [TCTTLOGO] nvarchar(000004)          NOT NULL  ,           [RECORDMODE] nvarchar(000001)          NOT NULL  ,           [TCTTIMSTMP] nvarchar(000014)          NOT NULL   )          WITH ( DATA_COMPRESSION = PAGE )   )
    DbSlExecute: rc = 99
      (SQL error 903)
      error message returned by DbSl:
    ORA-00903: invalid table name
    (DB) INFO: disconnected from DB
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140705134254
    FYI - A retry does not help. Also tried to search for the error on scn, google but haven't been able to find the right solution.
    Can you help?
    Regards,
    Cobain.

    Divyanshu - sorry to ask but can you explain why i need to update r3load and r3trans to resolve this error? Just want to understand why I'm doing a correction so I can learn from the same.
    Also, can you clarify the file update process:
    For R3load:
    a) the r3load used by the command is dated 8/16/2011 (location:C:\usr\sap\AVV\SYS\exe\uc\NTAMD64\...)
    b) the r3load i have in my db folder is dated 10/23/2011 (location:C:\Final\Installer\BS7i2011_Installation_Master_\DATA_UNITS\BS2011_IM_WINDOWS_X86_64\ORA\UC\...)
    Do i replace (a) with (b)?
    For R3trans:
    How do I update this file?
    - Cobain.

  • Import support package SAPKB70015 at PI System is stuck on IMPORT_PROPER

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request : SAPKB70015
    System : CXI
    tp path : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
    db call info
    function: db_report_interface
    fcode: UPDATE_REPORT
    tabname: TEXT
    len (char): 40
    key: /OSP/CL_CJS_CONTEXT===========CP
    retcode: 4
    Main import
    End date and time : 20081120021353
    Ended with return code: ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000 1 entry for TADIR updated (R3TRCLAS/OSP/CL_CJS_CONTEXT ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP A replaced.
    4 ETW000 dev trc ,00000 Thu Nov 20 02:13:53 2008 39924798 39.924798
    4 ETW000 http://dbsloci. ,00000 *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000 85 39.924883
    4 ETW000 dev trc ,00000 sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000 66 39.924949
    4 ETW000 dev trc ,00000 prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000 53 39.925002
    4 ETW000 dev trc ,00000 IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000 58 39.925060
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000 48 39.925108
    4 ETW000 dev trc ,00000 OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000 55 39.925163
    4 ETW000 dev trc ,00000 lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000 47 39.925210
    4 ETW000 dev trc ,00000 UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000 51 39.925261
    4 ETW000 dev trc ,00000 RETURNING "DATA" INTO :A4; 29 39.925290
    4 ETW000 dbrepolo ,00735 ***LOG BZY=>unexpected return code 2 calling dbrepolo#? @ 735
    4 ETW000 75 39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function: db_report_interface
    2EETW000 fcode: UPDATE_REPORT
    2EETW000 tabname: TEXT
    2EETW000 len (char): 40
    2EETW000 key: /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode: 4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time : "20081120021353"
    1 ETP111 exit code : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database = Oracle 10.2.0.2
    OS versions = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Iu2019ve updated database statistics and then try to reimport the package again. But It canu2019t import package.
    Are you still getting the same error after you retry the statistics update?

  • LR3.2 import problem on computer with Windows OS

    LR3.2 import problem on Windows OS
    This is a continuation of a question that I posed on August 22, 2010 in the discussion string "Cannot import CR2".  I have not been able to resolve the issue of importing an image into an existing folder location.  I had not been able to work on this issue for a number of weeks due to other circumstances, until today.   Note that the following people had attempted to provide answers and suggestions already:  ssprengel, JayS In CT.
    I use a laptop with a Windows operating system and a Macintosh desktop with Snow Leopard.  I run Lightroom on both of them.  The Windows laptop has Windows Vista Home service pack 2, version 6.0 [6002].  Around August 12th I upgraded from Lightroom 2 [481478], to Lightroom 3 on the laptop.  I left the LR2 on the laptop as well as LR3.  On September 12th I upgraded the laptop to LR3.2.  No other changes have been to the laptop or its software applications that I know of.
    My current attempts at resolving the issue reveal that when I created a new catalog "Test Catalog" in LR3 and saved that catalog to my desktop new folder labeled "Test Catalog" that I can import an image into LR3.2 to a new folder on the laptop's desktop.  I then deleted the images via LR3.2 Folders Remove function and tried to import the images into an existing folder as presented in the LR3.2 Import dialog, but get the error message "The following files were not imported because they could not be read.".   When I import images into a new folder placed on the desktop, I can use all functions in LR3 e.g. Develop module.  I cannot import images into existing folders on the laptop's hard drive - I have tried importing into the entire existing folders in the following hierarchy:  c:\users\Michael\My Documents\My Pictures\2010  but always get the same error message.
    LR3.2 does correctly backups upon exiting each time I quit the program, so I know that there isn't any issue of writing to that backup folder which is contained in an upper folder that contains the lightroom catalogs.  I have even created a new Word file, saved it into the folder with Lightroom catalogs, opened it up, modified it, saved it, and saw that it works OK, so that tells me there is no problem with a Read-Only folder attribute.
    I cannot recall if upon the upgrade from LR2.6 to LR3 that I chose to upgrade the catalog to LR3 version.  Would that matter, if yes, what do I verify, how do I manual upgrade the catalog.
    History of actions between August 10th that I have taken follows between the [[[[ and ]]]]:  
    [[[[Preference settings for Default Catalog are set to start with a specific catalog that I call "Lightroom master catalog", it is not set to the "Load most recent catalog". 
    All of the following were using my laptop:  Previously I had no problem with LR2 for any functions.  I just purchased an Epson 7000 media storage device, and in early August and practiced importing images into LR2, and those images were pulled in OK. Next, I upgraded to LR3.  I discovered that the Epson's images had been placed into a wrong folder when I opened LR3.  I used the remapping function in LR3 to move the images into the correct folder.  Next, I used a SanDisk card reader to import images into LR3 into an existing folder of images, but the following error message appeared "the following files were not imported because they could not be read" (Import Results said  'some import operations were not performed').  I tried importing a single image, and multiple images, but had the same error.  I tried switching the card reader to each of 4 different USB port on the laptop, with the same error occurring on each USB port used.
    In order to try to isolate the problem.  I took the SanDisk card reader with the memory card and successfully imported the images into LR3 on my Macintosh desktop computer; so to me the problem is not the card reader or the memory card.  I also used the SanDisk recovery disk while using my laptop to look at the files on the memory card and I could see all the images correctly while in the recovery program, but I have not copied the images to the laptop's hard disk, and have not tried an import into the laptop's LR3.  I did not import images directly from my camera to the laptop LR3 since I did not think it would help with the troubleshooting. 
    I then ran the Repair from the Adobe LR3 CD upgrade disk, on my laptop.  Then I tried doing the import using the SanDisk reader and memory card, but the same problem occurred and same error message, that the files could not be imported (I was trying to import into a folder of existing images).  I then used the Laptop's Control Panel function to remove LR3 application.  Then I did a fresh upgrade of LR3 on my laptop, but the same error message and I am unable to do any import of the memory card from the card reader.  I then tried to do an image import from the Epson 7000 into the laptop, and the same error message and I am unable to do any import into a folder with existing images.   I then tried doing an image import into LR2 on the laptop, and got the same problem to occur when trying to import into an existing folder of images.  I have a couple of  Canon EOS SLR digital cameras, and the issue occurs for any of the file types of the cameras.
    Went into LR3 Preferences, General Tab, I now checked the previously unchecked box for Import Options - "Show import dialog when a memory card is detected".
    Connected the Canon XTi directly with a cable to the laptop computer.  Note that Canon's information said that Picture Transfer Protocol is automatically used when the XTi is directly connected to a computer, so I did not need to change anything in the camera's menu for communications choices (there is no communication menu in fact).  I selected one image and copied it to the laptop desktop.  Tried to import it into LR3 into a folder of existing images but got the error message "Could not copy a file to the requested location."  While in LR3, I changed the location of where the file would be copied into - any of my existing folders of images; tried 5 different folders, but kept getting the same error message.
    With the card reader connected via USB port on the laptop, I copied one image file to the desktop, and then tried importing into LR3 into a folder of existing images.  Got the error message "Could not copy a file to the requested location."]]]]

    I am not clear if by 'import' you are trying to copy or move the files from a location to another or if you are adding the files to a catalog.  My comments may not, therefore, be too helpful.
    Firstly, with both LR2 and LR3 installed you will have both catalogs present, but if you try to open the LR2 catalog with LR3 you will be prompted to update the catalog.  You will thus know which catalog you are working on. 
    Secondly, if you are reading direct from the camera, you should connect using the 'PC connection' mode.
    Thirdly, there is an issue with reading .CR2 files directly from the early Canon DSLRs (in Europe named 300D, 350D, 400D).  While they are visible with the Canon software, they can not be seen with Windows explorer nor can they be accessed with Lightroom. 
    I suggest that you take the CF card out of the camera and copy the files using Windows Explorer in to the destination folder.  You are then sure that the files are on the PC.
    If you have the right Codec installed, you can view them with Windows photo gallery; if you don't, you can use one of the Canon software packages to view the files.  You are then sure that the files are not corrupted.
    Then import the files to your LR catalog using the normal import routine selecting 'add without moving'.  I have tried this routine  successfully using my 350D using both LR1.x and LR3.x.  If that doesn't work - I'm lost.
    Frank

  • Import support package SAPKB70015. Is stuck in IMPORT_PROPER phase

    Dear Expert,
    I have some problem when import support package SAPKB70015 at PI System.
    IT had shown as below.
    Main import
    Transport request   : SAPKB70015
    System              : CXI
    tp path             : tp
    Version and release: 372.04.08 700
    sap_dext called with msgnr 4:
          db call info
    function:   db_report_interface
    fcode:      UPDATE_REPORT
    tabname:    TEXT
    len (char): 40
    key:        /OSP/CL_CJS_CONTEXT===========CP
    retcode:    4
    Main import
    End date and time : 20081120021353
    Ended with return code:  ===> 12 <===
    And I checked the transport log,It shown as below.
    4 ETW690 COMMIT "360444" "53156878"
    3 ETW674Xstart import of "LIMUCLSD/OSP/CL_CJS_CONTEXT" ...
    4 ETW000   1 entry for TADIR updated  (R3TRCLAS/OSP/CL_CJS_CONTEXT                     ).
    4 ETW000 REPOS /OSP/CL_CJS_CONTEXT===========CP         A replaced.
    4 ETW000  [dev trc     ,00000]  Thu Nov 20 02:13:53 2008                         39924798  39.924798
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => Cannot update a LOB column for more than one row piecewise
    4 ETW000                                                                              85  39.924883
    4 ETW000  [dev trc     ,00000]  sc_p=0x110f57d68,no=55,idc_p=0x110f70638,con=0,act=1,slen=125,smax=256,#vars=5,stmt=0x111e1f700,tabl
    e=REPOTEXT
    4 ETW000                                                                              66  39.924949
    4 ETW000  [dev trc     ,00000]  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=2,upsh_p=(nil),ocistmth_p=0x111e20098
    4 ETW000                                                                              53  39.925002
    4 ETW000  [dev trc     ,00000]  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=84,vmax=32,bound=1,iobuf_p=0x111
    0a4220,vda_p=0x111e21a60
    4 ETW000                                                                              58  39.925060
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22180,lcurr_p=(nil),rret=0
    4 ETW000                                                                              48  39.925108
    4 ETW000  [dev trc     ,00000]  OUT: cols=1,rmax=0,xcnt=0,rpc=0,rowi=0,rtot=0,upto=0,rsize=0,vmax=32,bound=0,iobuf_p=(nil),vda_p=0x1
    11e222c0
    4 ETW000                                                                              55  39.925163
    4 ETW000  [dev trc     ,00000]       lobs=1,lmax=4,lpcnt=0,larr=0x111e22220,lcurr_p=(nil),rret=2
    4 ETW000                                                                              47  39.925210
    4 ETW000  [dev trc     ,00000]  UPDATE "REPOTEXT" SET "DATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A2 AND "LANGUAGE" = :A3
    4 ETW000                                                                              51  39.925261
    4 ETW000  [dev trc     ,00000]  RETURNING "DATA" INTO :A4;                            29  39.925290
    4 ETW000  [dbrepolo    ,00735]  ***LOG BZY=>unexpected return code 2          calling            [dbrepolo#? @ 735]
    4 ETW000                                                                              75  39.925365
    2EETW000 sap_dext called with msgnr "4":
    2EETW000 -
    db call info -
    2EETW000 function:   db_report_interface
    2EETW000 fcode:      UPDATE_REPORT
    2EETW000 tabname:    TEXT
    2EETW000 len (char): 40
    2EETW000 key:        /OSP/CL_CJS_CONTEXT===========CP
    2EETW000 retcode:    4
    1 ETP154 MAIN IMPORT
    1 ETP110 end date and time   : "20081120021353"
    1 ETP111 exit code           : "12"
    1 ETP199 ######################################
    System information
    SAP = NW2004s SR3
    Database          = Oracle 10.2.0.2
    OS versions      = AIX 5.3
    Tp version = 700 Unicode 179
    R3trans version = 700 Unicode 183
    PS.I checked tp connect return code 0 and R3trans u2013s return code 0
    Could you please suggest how to fix this problem?
    Thank you very much
    Jaturong

    Hello Karthik
    I know the list is long. Unfortunately I have never had such a long list of inactive objects in the system during an update or upgrade. But I believe you can make use of the mass activation program RADMASG0 to have them activated. The other option I can think of is to use the function module RS_INACTIVE_OBJECTS_LIST to list all the inactive objects and see whether they can be mass activated from there. I believe it is possible to activate all from there after selecting a block. (Never tried so I cannot guarantee).
    Regards
    RB

  • Importing Support Packages - Error during XPRA_EXECUTION

    Hello,
    Database: Oracle 10.2.0.4
    Operation System: Windows Server 2008 X64
    I´m facing with an error during an importing of support packages in our Solution Manager Ehp1 system (SPS 20 to SPS 25).
    I checked the import logs of the queue and I see in there the following error:
    Program terminated (job: RDDEXECL, no.: 02083200)
       See job log
    Execution of programs after import (XPRA)
    End date and time : 20110126020847
    Ended with return code:  ===> 12 <===
    When I checked the job log I see in there this:
    Job started
    Step 001 started (program RDDEXECL, variant , user ID DDIC)
    All DB buffers of application server SAPSM were synchronized
    Internal session terminated with a runtime error (see ST22)
    Job cancelled
    I went to ST22 and I see in there that specific short dump which show:
    Short text
        XSLT: No valid XML source
    What happened?
        The transformation is not possible since the XML source document cannot
        be parsed.
    What can you do?
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator.
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_XSLT_RUNTIME_ERROR', was not
         caught in
        procedure "TRANSFORM_FROM_XML" "(METHOD)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        Either the source document contains invalid XML or it is handled
        incorrectly in the ABAP program that called the transformation.
    How to correct the error
        The most common cause of this error is a conflict between the encoding
        specified in the declaration <?xml version="1.0" encoding="..."?> in the
         document and the actual encoding of the data.
        If the document is held in an ABAP string, the actual encoding is the
        system code page. If this does not match the declaration, a parsing
        error may occur.
        These conflicts are a particular issue when XML documents are produced
        in one system and then imported into a system with a different code page
         (as strings).
        For this reason, XML documents should be held as binary data (X strings)
        , if they are extracted from the system or accessed from outside.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "XSLT_BAD_SOURCE_CONTEXT" "CX_XSLT_RUNTIME_ERROR"
        "CL_SM_BFR_CONTENT_TRANSPORT===CP" or "CL_SM_BFR_CONTENT_TRANSPORT===CM00E"
        "TRANSFORM_FROM_XML"
        The exception must either be prevented, caught within proedure
        "TRANSFORM_FROM_XML" "(METHOD)", or its possible occurrence must be declared in
         the
        RAISING clause of the procedure.
        To prevent the exception, note the following:
    Can you help how to correct this situation for I can continue the update of support packages!
    Best regards,
    João Dimas - Portugal

    Hello William,
    Which import logs do you refer?
    I pasted in my first message the log of import... that is the unique error that it appeared.
    I checked the SLOG:
    STOP  MOVE NAMETABS        SSM 6      20110125215838              SAP_BASIS    SAPSM 20110125214839404  
    START MAIN IMPORT          SSM I      20110125215838              SAP_BASIS    SAPSM 20110125214839404  
    STOP  MAIN IMPORT          SSM I      20110125235752              SAP_BASIS    SAPSM 20110125214839404  
    START TBATG CREATION OF EN SSM n      20110125235752              SAP_BASIS    SAPSM 20110125214839404  
    START tp_getprots          SSM Y      20110125235753              SAP_BASIS    SAPSM 20110125214839404  
    WARNING: '\SAPSMsapmnt     rans     mpN110126.SSM' : cant open
    (tpfsnam.c:504)
    WARNING: '' : cant open
    (tpfsnam.c:584)
    WARNING: '\SAPSMsapmnt     rans     mpN110126.SSM' : cant open
    (tpfsnam.c:504)
    WARNING: '' : cant open
    (tpfsnam.c:584)
    STOP  tp_getprots          SSM Y      20110126000148              SAP_BASIS    SAPSM 20110125214839404  
    STOP  TBATG CREATION OF EN SSM n      20110126000148              SAP_BASIS    SAPSM 20110125214839404  
    INFO  EXECUTION OF STANDAR SSM 9      not needed                  SAP_BASIS    SAPSM 20110125214839404  
    INFO: event SAP_IMPORT_STOP triggered successfully
    STOP  imp all              SSM   0004 20110126000149              SAP_BASIS    SAPSM 20110125214839404
    I also checked the ULOG which has the following records:
    APServiceSSM 20110126013719 RFC: tp XPA ALL SSM pf=\SAPSMsapmnt     rans inTP_DOMAIN_SSM.PFL -Dclientcascade=yes -Dstoponerror=8 -Drepeatonerror=8 -Dsourcesystems= -Dbuffreset=yes -Dbatch_proc=1 tag=spam -Dtransdir=\SAPSMsapmnt     rans  (pid=5276)
    APServiceSSM 20110126020829 RFC: tp SHOWPARAMS SSM pf=\SAPSMsapmnt     rans inTP_DOMAIN_SSM.PFL -Dtransdir=\SAPSMsapmnt     rans  (pid=5196)
    APServiceSSM 20110126020830 RFC: tp CONNECT SSM pf=\SAPSMsapmnt     rans inTP_DOMAIN_SSM.PFL -Dtransdir=\SAPSMsapmnt     rans  (pid=5196)
    APServiceSSM 20110126020831 RFC: tp XPA ALL SSM pf=\SAPSMsapmnt     rans inTP_DOMAIN_SSM.PFL -Dclientcascade=yes -Dstoponerror=8 -Drepeatonerror=8 -Dsourcesystems= -Dbuffreset=yes -Dbatch_proc=1 tag=spam -
    Any idea what´s happen?!
    Kind regards,
    João Dimas - Portugal

  • Importing Inter-package classes

    hello
    I have never had this problem before but I just 'downgraded' to JDK 1.1.8 because the code will be used on my PDA. I am trying to import Inter-package classes but the compiler it cannot find the classes I've imported. This code was working perfectly in j2sdk1.4.2_02
    I think the code is right all files saved in folder graphs and beginning looks like this:
    package graphs;
    import graphs.AxisParameter;

    Yes they are in the same folder with 'package graphs;' in the 1st line,
    i've tried with and without package.class to no avail
    the exact errors i'm getting are
    without the package in front
    error: File .\CustomLabel.class does not contain type CustomLabel as expected, but type graphs.CustomLabel. Please remove the file or make sure it appears in the correct subdirectory of the class path
    with the graphs.CustomLabel i get the following errors
    error: Invalid class File formate: .\graphs\CustomLabel.class, wrong version: 46, expected 45
    2nd error: Class graphs.CustomLabel not found in import.

  • How does APEX import a packaged APEX application

    I was wondering, if someone might help me to better understand how APEX imports a packaged application.
    The typical packaged application file looks like a simple SQL*Plus Script that needs to be processed by SQL*Plus from PL/SQL on the server.
    I would be most interested to understand how APEX handling this process because it might really help me (and probably many others) to improving our own installation process.
    Thank you in advance for any information!

    The documentation contains an entire chapter on Deploying an Application. This appears to be a good place to start.
    The tutorial How to Review a Packaged Application would also be worthwhile.
    (Please update your forum profile with a better handle than "user8607986".)

  • Import and package does not exist

    I have a program and I wish to import a package that I've made. I have tried to do this with:
    import clientcode.*;but I keep getting the error message java:8: package clientcode does not exist
    I am completely new to Java and have no idea how to get around this. Please help

    Do you use ide or compile classes from command line?
    Most likely it's a classpath problem.

Maybe you are looking for

  • PDF to Word.doc Converter and vice versa

    Hello! I am in need of a program capable to convert PDF files to Word documents and vice versa (eventually, a program for each way). The converter needs GUI and must handle images, tables etc. (not just plain text). Does anyone have any tip concering

  • FB mobile icon issues

    I have tthe Facebook mobile and messenger loaded onto my iphone 4s however I ma not listed as having mobile access(no mobile icon on chat) on  Facebook. Unless i am on the computer it shows me as offline completely? Any help?

  • Unable to save completed form

    I am a recipient of a questionnaire on FormsCentral with many pages of input. At a certain point, the program will not let me save my input. I get the following error Unable to Save Form An error occurred while tryhing to save your form. Then an OK b

  • I have purchased a Ipad in India, will i be able to use warranty in USA

    I have purchased a Ipad in India, will i be able to use warranty in USA

  • Syslinux manual instal [Solved]

    I am dual booting with windows. Using syslinux as the boot loader. I have an existing system that works perfectly fine. I had to repair windows via its install media. Windows decided to write over syslinux. So I need to essentially re install syslinu