Packages (possible set-up problems)

Hi,
I have recently set up sdk1.4.2_01 and I have set up both path and classpath variables as C:\j2sdk1.4.2_01\bin and .;C:\j2sdk1.4.2_01\lib\tools.jar respectively (the classpath variable was suggested as a solution to the upcoming problem)
I have been following learn Java in 21 days and all has been going fine until I had to create my own packages.
As I understand, a class contained within a package must have the initial line:
package com.prefect.ecommerce;
where in this case, com.prefect.ecommerce is the package. Also I understand that a directory structure must accompany the package such that the classes are placed in this directory (com\prefect\ecommerce).
I have two classes Item.java and Storefront.java that need to be placed in the above named package, so I performed the following steps:
1) Created the directory: C:\j2sdk1.4.2_01\com\prefect\ecommerce
2) Placed both Item.java and Storefront.java in this directory with the initial package com.prefect.ecommerce; line in place.
3) Compiled Item.java successfully
The problem lies when I try to compile Storefront.java. This class creates and uses an instance of the Item class, however I get the following error message:
Storefront.java:16: cannot resolve symbol
symbol : class Item
location: class com.prefect.ecommerce.Storefront
public Item getItem(int i){
^
Storefront.java:12: cannot resolve symbol
symbol : class Item
location: class com.prefect.ecommerce.Storefront
Item it = new Item(id, name, price,quant){
^
The Storefront class dosent recognize or cant find the Item class even though they are in the same folder? When I remove the line package com.prefect.ecommerce; Storefront compiles fine and uses the Item class?
Were am I going wrong? can someone help me?
many thanks in advance!

there seem to be two problems:
first: in your Item.java I think there is no package statement, otherwise you would not have been able to compile it using a similar statement as one of the following:
C:\j2sdk1.4.2_01\com\prefect\ecommerce> javac
Storefront.javathe easiest way of compiling is to ALWAYS compile from the root of the package hierarchy: in this case:
C:\j2sdk1.4.2_01> javac com\prefect\ecommerce\Storefront.javashould compile both Storefront and item, as long as they are both in package
com.prefect.ecommerce, i.e. there is a line in the sources saying:
package com.prefect.ecommerce;
>
Tonight I will try out 2 things, firstly I will change
the above command to:
C:\j2sdk1.4.2_01\com\prefect\ecommerce> javac
-classpath C:\j2sdk1.4.2_01 Storefront.javaas stated above, this should not work! try it from the package root directory as described above!
>
and see if this works! Next I will add to my classpath
variable such that it will look like:
.;C\j2sdk1.4.2_01\lib\tools.jar;C:\j2sdk1.4.2_01
(I want to see if my original javac command will work
using this!)
I would like to know whether the first part of the
classpath variable (.;C\j2sdk1.4.2_01\lib\tools.jar;)
is necessary or should I just have the classpath
variable set to C:\j2sdk1.4.2_01 ?neither, nor! for simplicity, you should have the "." in your classpath, which means "current directory" but not the tools.jar. C:\j2sdk1.4.2_01 is not necessary, although this seems to be your "home" :-)
however, for some older versions of the jdk it could be of use to add the path of the rt.jar (runtime) to the classpath, but i don't think you will need this.
and finally, even if i had not set the classpath
variable, when I typed my javac command in the
directory listed above
(C:\j2sdk1.4.2_01\com\prefect\ecommerce>) should it
not have looked in the ecommerce folder for Item.class
by default?well, in your case only if they were both in the same package (same package declaration in the source) and same source directory)
Regards, Sebastian

Similar Messages

  • : "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

     Hi   .
        I was creating the  pass the values t in temp tables  though s sis package vs2012 .
      First I was taken on executive SQL TASK.
     IN EXCUTIVE SQL TASK  . I was write the stored proce:
    Sp;
    reate  procedure  USP_GETEMP2333
    AS
    begin
    Select  eid,ename,dept,salary from emp
    end;
    create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
      insert into #temp
       exec USP_GETMP02333
       go.
     It was executive correctly.
     I was taken another sequence container. In the sequence container iam creating one   executive  sql
    In 2<sup>nd</sup> excutive sql task: sql statements is
    if object_id('emp_fact_sal') is not null
     drop table emp_fact_sal
    select eid,ename as emp_name,sal_bar=
    case when salary<=5000 then 'l'
    when salary >5000 and salary<=7000 then 'm'
    else
    'h'
    end
    into emp_fact_sal from #temp.
     and one falt flies  it was taken to designation .
     iam changing  all  connection properties:
     in oldeb connection:
    in excutive sal task properties .
    delay validation is true,
    and retain connection maner is also true,
    and package mode is 64 bit is false.
     But iwas excutive in 2<sup>nd</sup> excutive ql task .
    Iam getting this type of errors,
                    [Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
     drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
     Please help me

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Oracle to Mysql character set conversion problem!!! PLZ IGNORE

    Hi Experts,
    I have created a database link from Oracle 10g to Mysql 5.
    I have installed Oracle Gateway 11g for this purpose.
    When i retreive the data from sql plus the text is displayed as question marks.
    Oracle 10g Database character set is WE8MSWIN1252
    Mysql character set --->latin1
    Character set of ODBC connector for mysql is  latin7
    Character set in the parameter file of HS folder is WE8MSWIN1252When i retrieve data from sql developer the text is fine(as i think it directly takes the character set of target) but
    when i login from sqlplus i get question marks!
    I have another post in Heterogeneous Connectivity forum
    Re: Oracle to Mysql character set conversion problem!!! PLZ HELP
    Kindly update your comments there,
    @@@@@@@@@@@@@@2
    Appreciate your help,
    regards
    Edited by: user10243788 on Apr 21, 2010 3:25 AM

    It is OK to post a globalization-related question in this forum in addition to the forum pertaining to the main technology. Not all experts follow all possible forums on OTN. Of course, you should cross-link the posts to let people merge the answers.
    Regarding the problem itself, make sure that SQL*Plus has the right NLS_LANG setting in the environment. On Windows, in the Command Prompt:
    C:\> set NLS_LANG=.WE8PC850
    C:\> sqlplus ...On Unix:
    $ setenv NLS_LANG .WE8ISO8859P1   (or NLS_LANG=.WE8ISO8859P1; export NLS_LANG)
    $ sqlplus ...-- Sergiusz

  • An odd set of problems - full re-install fail

    Hello helpful computer people
    I have a funny set of problems which has culminated in me wanting to fully reinstall operating software. I will explain why I want to do this in a minute, but the main problem is that I can't manage to do it! When I boot up my mac from the startup disk I get a messed up display. The information is obviously all there on the screen, but it's displayed in weird jagged lines. This means that I can't make out where to click to continue with the installation. I also though that the disk drive was being particularly clunky sounding, but could be imagining that.
    You can see what I mean here: http://www.flickr.com/photos/33449131@N02/7160853520/in/photostream
    The problems up to this point have been really odd, with applications one by one stopping responding and finder crashing. Also the computer will sometimes not go to sleep when closed and the fan will go a bit mad. I have had particular problems with browsers crashing and generally the computer grinding to a halt with nothing but the off button having any effect.
    I have tried loads of stff - reseting P ram, repairing disks, running cleanups on Onyx, removing programmes etc.
    I want to go back to square one because things are getting a bit messy, it won't let me reinstall Safari becuase it thinks it's already there, but It doesn't show up on search!
    I tried reinstalling Snow Leopard but realised that didn't really do much and am now going down the route of putting the original install disk in. I bought there computer second hand btw, so there is a possibility that the install disks are wrong, although unlikely because the guy was trustworthy.
    Thanks in advance for all your help
    Tim

    Yep.
    Just want to clear up the fact that the original problems encountered were not display related and it only happens when I try to do that one specific task. The computer is working ok now and I am writing this message from it.
    My display spec:
    NVIDIA GeForce 8600M GT:
      Chipset Model:    GeForce 8600M GT   
      Type:    GPU
      Bus:    PCIe
      PCIe Lane Width:    x16
      VRAM (Total):    128 MB
      Vendor:    NVIDIA (0x10de)
      Device ID:    0x0407
      Revision ID:    0x00a1
      ROM Revision:    3175
      Displays:
    Color LCD:
      Resolution:    1440 x 900
      Pixel Depth:    32-Bit Color (ARGB8888)
      Main Display:    Yes
      Mirror:    Off
      Online:    Yes
      Built-In:    Yes
    Display Connector:
      Status:    No Display Connected

  • 3 Possible Set points

    Good day to every one! I'm new here, and to programming in NI LabView. I am trying to come up with a program for a wind turbine yaw system. I have 2 angle sensors from HiTechnic from which I obtain Accumulated angle data and Shaft RPM data. What I have done so far is to get an instantaneous reading , 30 second average, and 10 second average of the RPM reading. These each of these readings are then compared to a max and minimum value. If the value is in range, setpoint returns the value of the accumulated angle, if out of range (x<min; x>min) setpoint is accumulated angle + 90 degrees. Now I have three possible set points that can be used. Problem is, I can only use one with my PID. I would like to ask if you guys have any idea as to what can be done so that only one among the three will be used as setpoint. Conditions: assume range is 50 RPM = minimum, 100 RPM = Maximum if 50 RPM 70 RPM; setpoint + 90 if instantaneous RPM > 100 RPM; setpoint + 90

    Why the double shift registers that are taking the same data to the next loop iteration?
    Why the sequence structure?
    I cleaned up your code further to eliminate those problems.
    All you need to do is use simple boolean logic.  You have 2 output values.  You want the output to be one thing if All of 3 conditions are true.  Or you want it to be something else.
    So just use boolean logic with the compound arithemetic node where you AND all 3 conditions together to give the normal output, otherwise it gives the +90 degree output.
    See attached modified VI.
    Although it didn't seem to be necessary here, remember you can chain together Select functions.  You can send the output of one select function to the input of a following select function.  In this image, the condition A determines whether a 1 or 2 gets sent on.  But condition B can override that if True and send out a 3.  It's really not any different from an If Then ElseIF Then Else statement in a text based language. 
    In this case
    If B then
    output 3
    ElseIf A then
    output 1
    Else
       output 2
    EndIf
    Attachments:
    testMOD.vi ‏29 KB
    Example_VI_BD.png ‏11 KB

  • My home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    my home button is working intermittantly. Have Restored setting. still problem. Any ideas?

    Did you actually restore the iPad? Or just restore settings?
    If you haven't "restored" the iPad...
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If a restore doesn't work...  >   Apple - Support - iPad - Hardware Service

  • Is it possible set programm menu module background color?

    HY,
    is it possible set programm menu module background color?
    thanks

    Hy,
    thanks for your answer, but, if i understand well,
    it's for individual menus and submenus (lower-level menus, displayed by default as vertical Lists of menu items) menu items
    I am speaking about a main menu (the top-level menu, displayed by default as a horizontal strip)
    And, when create a VA in menu module isn't possibile set color but only font.
    I believe it need create VA in set_visual.....
    Thanks again
    Rosario

  • Brand new IPad 3 out of the box - set up problem with Apple ID

    Brand new iPad 3 out of the box - set up problem. It says my Apple ID (email address) is already being used. I reset the password successfully but still says I need another Apple ID. Why won't the ID recornize me?

    Open current iTunes on your computer. Connect iPhone to the computer with the Lightning USB Cable. Hold both the Home and Power buttons for about 20 seconds until iTunes recognizes the iPhone in Recovery Mode. Click the Restore button of iTunes. If still problem, make Genius reservation or set up Sevice and take or send to Apple for resolution under Warranty.

  • HT5622 The sound on my ipad mini isn't working.  What could possibly be the problem?

    The sound on my ipad mini isn't working.  What could possibly be the problem?

    Reset the device....hold the home and power keys down until the Apple logo appears.
    Barry

  • Is it possible setting CS3 on 2 computers (Imac and MAc book) ?

    IS it possible setting CS3 on 2 computers (Imac and MAc book) ?
    Steph

    yes, your single user license allows, up to, two concurrent installations/activations.
    if you need the installation file,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • P7N Diamond (Ms-7510) - Possible chipset heat problem

    Hi,
    Have a P7N Diamond (Ms-7510) with possible chipset heat problem.
    After looking around I have seen the platic plugs that keep the chipset heatpike in-place are broken.
    Would like to replace them but dont know what size and type to get.
    Does anyone know?
    Or perhaps there is some other issue with it?
    Have seen a few people who clams there is alot of issues with this m/b...
    I am a bit stubborn and want to get some life in to this thing! ;-)
    FYI I have posted a few others post about this m/b before here...
    Thx
    //Christoffer

     Try checking at hobby shop or hardware store and get some nylon screws of size needed instead. Just measure the hole size or take one of the broken pins with you so you can get the right size. Length shouldn't be much of a problem because if you have get something longer than needed they are relatively easy to cut.
     P7N was one of the not so good MBs back then. P45 Platinum was one of the very best though and if you could get your hands on one of them for a good price you would be very happy with it. I know several people with new rigs but their mainstay backups are P45 Plats.

  • A205-S5000 won't boot. Says possible hard drive problem

    Laptop won't boot and says possible hard drive problem. Need to recover
    personal reports and data, so thinking of removing the drive and using an enclosure
    so the data, if still good, can be extracted from the drive by another computer. Question
    is, will I be able to create the restore cd's from the hard drive if the hard drive is not the
    boot drive ie; attached to a 2nd computer via usb and enclosure. 
    If it's not possible, I can try to create cd's from a different model laptop (toshiba), same vista os but
    what about the product key?  I will try to reinstall the bad drive and try a reboot to recovery mode but
    I doubt that is going to work or complete. Idea was to get a new drive and try to install recovery disks.

    Satellite A205-S5000
    Recovery discs must be from an identical model. If you can't burn them from that computer, best to order them
       Order Toshiba Recovery Media 
    The restored Windows is pre-activated.
    -Jerry

  • Why is there no way to set a homescreen?!?! This is so basic! How could it possibly be a problem?

    This feature was available in past versions. Why not now? How could it be a problem? I'd like to have it back.

    To avoid loading the home page.
    Mobile browsing is for emergency search..
    so only no Home screen setup...
    https://support.mozilla.org/en-US/kb/getting-started-firefox-mobile

  • Unresponsive keyboard/trackpad and intermittent Bluetooth on MacBook...possible internal USB problem?

    I have a mid-2010 polycarbonate/white MacBook (model A1342) running OS X 10.6.8. My machine has been having issues with the internal Bluetooth and keyboard/trackpad randomly ceasing to function.
    Bluetooth issue
    As of recently (the past month or two), the Bluetooth adapter will completely disappear and eventually reappear on a random basis. It won't appear at all in System Profiler, and the BT menu says "not available". Also, I have had a few kernel panics recently, all of which were apparently thrown by a Bluetooth process/daemon/driver (unfortunately I forgot which one, and also lost the logs from the panics.)
    My system has a Broadcom Bluetooth chip that's part of the AirPort card, but is basically just an internal USB device. The adapter has some sort of integrated USB hub ("BRCM2070 Hub"), which the "Bluetooth Module" device itself is connected to.
    Nonetheless, this seems to be some sort of problem on the USB bus. Whenever there is a failure, I will almost always see output in Console showing USB errors (ie errors about "enumerating a USB device", "clearing port power", "setting port power", "getting port status", etc). It will either be on any of the ports of the hub at 0x6600000 (the "BRCM2070 Hub" that "Bluetooth Module" is connected to), or port 6 of the hub at 0x6000000 (BRCM2070's port on the internal bus, which the keyboard/trackpad is also connected to on port 3).
    I can post more/longer ones, but here's a somewhat short example of the error messages I might receive:
    11/18/12 3:18:36 PM kernel USBF: 7351.492 [0xcf9b300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 6 of Hub at 0x6000000)
    11/18/12 3:18:38 PM kernel USBF: 7353.987 AppleUSBHubPort[0xcf9b300]::FatalError - Port 6 of Hub at 0x6000000 reported error 0xe00002c7 while doing clearing port power feature
    11/18/12 3:18:38 PM kernel USBF: 7353.987 [0xcf9b300] The IOUSBFamily was not able to enumerate a device.
    11/18/12 3:20:20 PM blued[448] Apple Bluetooth daemon started
    11/18/12 3:20:20 PM kernel USBF: 7456.186 [0x11fb1300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 2 of Hub at 0x6600000)
    11/18/12 3:20:20 PM kernel USBF: 7456.188 [0x11fb1300] The IOUSBFamily was not able to enumerate a device.
    Keyboard/trackpad issue
    There's also an issue where the internal keyboard/trackpad will randomly cease functioning (until I restart), often a couple of times a day as of recently. I've had this issue on rare occasion for a while now, but it's gotten more frequent. And more recently, the caps lock light on the keyboard occasionally turns itself on when I'm away.
    Both the internal keyboard/trackpad as well as the Bluetooth "hub"/device are connected to the same USB bus/hub. When the keyboard/trackpad die, I've noticed that there will be very similar messages in Console to those above and usually a Bluetooth failure at the same time. (In some cases, it seems to notice that the keyboard/trackpad isn't responding, then attempts to reset/reinitialize it...ie log below.) What could the root cause be...could it be the USB "root" hub/bus causing one or both of these to fail, or possibly a problematic device causing the other to lose connection? I haven't had issues with USB devices on other buses failing, though (ie no problems with external devices.)
    Maybe more out of curiosity than anything else, but I've been poking around for info on what might be going on with the USB (aside from the 0x66 hub repeatedly dropping/reconnecting and etc), but can't find much. There seems to be no documentation about the error codes (ie 0xe00002c7) that the hardware/OS are relaying. I even poked through the source for some of the relevant kexts and some reading on OS X driver/kernel programming too...might as well learn more about the inner workings of OS X
    Here's an example of some of the messages that I get about the Keyboard/Trackpad:
    11/21/12 2:57:22 AM kernel USBF: 1439.228 IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xd1ff000]: Detected an kIONotResponding error but still connected. Resetting port
    11/21/12 2:57:22 AM kernel USBF: 1439.234 AppleUSBHubPort[0xd040600]::Resetting device Apple Internal Keyboard / Trackpad: port 3 of Hub at 0x6000000
    11/21/12 2:57:22 AM kernel USBF: 1439.319 [0x14452600] USB HID Interface #0 of device CompositeDevice @ 5 (0x6610000)
    11/21/12 2:57:22 AM kernel AppleUSBMultitouchDriver::message - kIOUSBMessagePortHasBeenReset.
    11/21/12 2:57:23 AM blued[248] Apple Bluetooth daemon started
    11/21/12 2:57:23 AM kernel AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
    Attempted fixes
    Unfortunately, my Macbook isn't under warranty so I'm mostly on my own. First I zapped PRAM, reset SMC, ensured OS updates are installed (still on 10.6.8), and threw out a few drivers/software that were possible troublemakers. Next, I tried running another OS/install to rule out software issues. Accordingly, I found that the BT adapter sometimes disappears on Windows 7 as well (just did a clean install). And finally, I bought a new AirPort/BT card and installed it the other day. That seemed better at first, but I still have the problem of intermittent Bluetooth and keyboard/trackpad.
    Problems/solutions?
    What might the issue be, or is there anything that may be worth trying? As I mentioned, I've reset PRAM and SMC, made sure it's not an OS/driver issue (it happens on Win7 too), and replaced the Airport card. The machine does have aftermarket RAM (from OWC, ~2 years old) and SSD (Crucial M4, installed September)...but it seems unlikely that either of these would cause the problem. There haven't been any accidents that would have caused physical or (to my knowledge) electrical damage to it.
    I also searched for any occurrences of similar problems, but could not find any that were applicable to the Macbook revision in question. There was a similar keyboard/trackpad issue on older Macbook Pros that was caused by stress on a ribbon cable...but that seems unlikely given the concurrent issues with Bluetooth as well as the different design.
    The only thing I can think of next is to possibly replace the cable connecting the Airport card to the logic board, and possibly look at replacing the keyboard/trackpad (topcase). Anyway, I'm worried that it might be a hardware issue with the internal USB controller/hub, which would probably mean that it's unfixable unless I replace the logic board.
    Any advice as to which of these might be a potential solution or cause of the problem? Or might I just as well sell it off in its current condition and replace it?
    Thanks all!

    Has anyone find a fix for this?  I've been using my Dragon Dictate headset on my MacBook Pro for about a year, and then today, when I plugged it in, I got this:
    4/16/14 10:01:04.000 AM kernel[0]: USBF:    47.766    The IOUSBFamily is having trouble enumerating a USB device that has been plugged in.  It will keep retrying.  (Port 1 of Hub at 0x4000000)
    4/16/14 10:01:07.000 AM kernel[0]: USBF:    50.269    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x4000000 reported error 0xe00002c7 while doing clearing port power feature
    4/16/14 10:01:07.000 AM kernel[0]: USBF:    50.269    The IOUSBFamily was not able to enumerate a device.
    Here is what I have tried so far:
    Reset the PRAM
    Reset SMC
    Verify disk (there were no problems)
    Repair permissions
    Boot with an external USB hard drive (which works fine on the "problem" computer) that contained an old SuperDuper clone of my hard drive from several months ago. I received the same "The IOUSBFamily was not able to enumerate a device" error when I plug in the headset.
    Tried to headset on another computer, and it worked fine.
    Plug in an external USB keyboard into the problem computer, and it works fine.
    All of this would lead me to conclude that it is a hardware problem. But it seems that if it were a hardware problem, the external USB keyboard and external USB hard drive would not work (which they do). If the problem were with the headset, it wouldn't work on another computer, but it does.  So I'm wondering if it's some sort of firmware issue…???????  URG!!!!!!

Maybe you are looking for

  • Has anyone got a fix for iTunes 11.0.2?

    I click on a song and it won't play. It stays at 0:00 and the progress bar doesn't move although title/artist info scrolls. All volume is up. Have performed force quit a few times and no dice. Any ideas?

  • Mirroring Desktop at Different Resolutions

    Hello, Does anyone know if it is possible to mirror the desktop at different resolutions without my cinema display shrinking down the viewable area? I have a seperate 27" hdtv in my living room hooked up and I want to be able to use both displays on

  • Getting multiple copies of iPhoto slideshow when I burn a dvd - why?

    I just learned how to create a slideshow in iPhoto and struggled through the learning curve to be able to burn it as it appears in iPhoto. I got so excited today when I burned a dvd and it actually played on my TV's dvd player, though it was missing

  • Starting Itunes after all neccesary installations

    I have installed Itunes 7.5 and Quicktime 7.4 successfully, but the problem lies in that when i start itunes after all the aforementioned installations are complete, and i have restarted my computer, a box pops up titled "Itunes Setup Assistant" that

  • Master Data Vendor Object access from RFX

    HI all, I am trying to access Master Data Vendor object form RFx. I was able to find a method to get the Vendor reference from Master Agreement using doc.getVendorRef().But i don't find any direct method to get VendorReference from RFx. Basically i g