Stuck on this error, please help.

Hi, I'm fairly new to Java, and I am getting this error on this library program I'm working on.
"Can't make a static reference to nonstatic variable `Collection' in class `library'."
Mainly, I would just like to find out what the error means by "make a static reference to a nonstatic variable", if you need more info, just tell me and I'll post it up.
Thanks in advance.

you can't access a non-static variable in a static method...for example...
private int time;
public int getTime() //this is legal
     return time;
public static int whatIsTheTime() //this is not legal
     return time;
[\code]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • I can not connect my i phon with my pc it shows athorised computer when i am trying to do authorised process the process done but again i connect my phon again show this errore please help me to solve my prob....

    i can not connect my i phon with my pc it shows athorised computer when i am trying to do authorised process the process done but again i connect my phon again show this errore please help me to solve my prob....

    I have clicked on the  connect button, but it brings up the same There is a problem connecting,  and I have also tried SMB://
    i tried pinging the ip address with in termial and it times out.  
    From my windows PC and I can access my MacBook Air just fine,

  • TS1424 Hi how can i resolve error code 1009 ,when i want download from iTunes i receive this error please help me.    Banafsheh

    Hi
    Please help me on error code 1009

    They are free but iTune still checks your payment method but realyydoes not charge anything.  Yo can set up a new/special iTunes account that is only good fro free apps.  However, you will still need our original ID to update any apps thatyour purchased with that account.
    Create an iTunes App Store account without a credit card

  • TS3694 phone is given this error please help i cant do anything

    help error 3194

    Error 1004, 1013, 1638, 3194: These errors may be the result of the connection to gs.apple.com being  redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check  security software. Ensure that communication to gs.apple.com is  allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section  "Blocked by configuration: (Mac OS X/Windows) > Rebuild network  information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • HT1926 GOT THIS ERROR, Please help...

    there is a problem with this windows installer package a program required for this install to complete could not be run contact your support personnel or package vendor
    i was trying to update itunes and i kept getting this error

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • While running web app I got this error please help.

    The JRE was not found in directory C:\Oracle\MIDDLE~1\jdk160_29. (JAVA_HOME)
    Please edit your environment and set the JAVA_HOME
    variable to point to the root directory of your Java installation.

    Can you set the OS Environment Variable JAVA_HOME to point to the jdk home and check if the issue still occurs?
    Thanks,
    Vijaya

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • Hi - I keep receiving the following error message on a song I purchased from itunes and am now trying to drag and drop to my iPad: "you must download items from icloud before you can copy then to iPad" what does this mean - please help! Thank you

    Hi - I keep receiving the following error message on a song I purchased from itunes and am now trying to drag and drop to my iPad: "you must download items from icloud before you can copy then to iPad" what does this mean - please help! Thank you

    Hi Poonam26c,
    If you do not have a local copy of a song which you have purchased (i.e. it is available via iTunes in the Cloud), you may need to redownload it before you can transfer it to your device. You may find the following article helpful:
    Apple Support: Downloading past purchases from the iTunes Store, App Store, and iBooks Store
    http://support.apple.com/kb/HT2519
    Regards,
    - Brenden

  • I just bought a iphone 3gs from my friend. when he gave it to me it was in recovery mode. Now everytime i try to Restore it i get the error 1603. is there any way to fix this ? please help !

    I just bought a iphone 3gs from my friend. when he gave it to me it was in recovery mode. Now everytime i try to Restore it i get the error 1603. is there any way to fix this ? please help !

    iOS: Unable to update or restore
    Are you sure your friend didn't jailbreak it?
    If so, save yourself a lot of time and trouble - throw it in the trash.

  • HT201442 I did this but still i am getting the same error , please help me .

    I did this but still i am getting the same error , please help me .
    <Email Edited by Host>

    Look at http://support.apple.com/kb/ts4451
     Cheers, Tom

  • ASR Hyper-v (VMM) to Azure and we are stuck with this error while preparing the VMM Server

    We are stuck with this error while installing ASR provider and registering with Azure Vault, can i get some help on this
    Error:
    NO Vaults could be retried for the registration key. Please ensure that
    1, your registration key has not expired.You can re-downloading registration key from Azure site Recovery portal
    2, Your system clock is not out of sync with the selected system time zone
    System Clock is set to IST and Azure to southeastasia

    Hi,
    Could you please ensure that you have downloaded the latest registration key from the portal?
    Also ensure that the machine from where you are accessing the portal and the VMM server has the right time according to your time zone.
    Thank you,
    Ruturaj

  • Windows - No Disk Error - Please help!

    Windows - No Disk Error - Please help!
    Hi,
    I have the following set up:
    * Lenovo T-61p
    * Windows XP Pro, SP 3
    * HP Photosmart 8250 printer (with nothing plugged into the various card readers, and USB slot in the printer)
    I am getting the following error:
    Windows - No Disk
    Exception Processing Message 0xc0000013 Parameters 0x75CE023C
    0x84C40C84 0x75CE023C
    I have done a lof experimenting and thru process of  elimination, and believe I have determined that this only happens when the HP Photosmart 8250 printer is plugged in to the USB slot of the computer.
    I can stop it from happening by safely removing hardware, and removing the drive that the 8250 creates on your computer when you plug it in.  In my case, this is drive E.  I'm guessing if there was something in the the various card readers, and USB slot in the printer, that's what those would be, but I don't those use those functions of the printer.
    I understand there is more at work than simply the printer, because I did not used to get this error, so some software changed as well, that is scanning all ports, and finding a drive that has no disk, and producing the error.
    A simple google search finds a lot people all over the world having this problem, and are solving it in different ways, because the suspected source is different: Norton, HP, etc.
    I have tried everything I have read, and the only thing that works was my own idea, of manually safely removing the drive the printer creates each time I plug in the printer.
    Anyone every any better, more permanent solutions?  Or know what the real root of the problem is?  What is scanning all the drives and being showing an error message because it found an empty drive?
    Thanks and Happy Holidays/New Year!

    I've been getting the same error on my 4G nano for the past week. I've had my nano for about a month and the first few weeks were fine. Tried it on 2 different computers (Vista and XP) and same problem. Tried it on a 3rd (XP) and it started ok. Problem started coming back after a day.
    I was able to find a quick fix though. I noticed that sometimes the message says something like "iexplore.exe... no disk..." even if I don't even use IE. What I do is end iexplore.exe on task manager before running iTunes and syncing my nano. I don't get the error whenever I do this, but one drawback is that the contents of my nano suddenly pops up in a window - even when disk use is not enabled.
    I've reset/restored my nano dozens and dozens of times to make sure it's clean. Leads me to believe it's a driver issue. Either that or I have a friggin malware problem I can't seem to find.
    I'll be posting updates every now and then. I'm no expert so I'm hoping an Apple expert also steps in to give some input.

  • Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.

    Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.
    I've tried my best to troubleshoot. . . opening in safe mode nothing seems to work.
    In the problem report, this is the error that stood out:
    Crashed Thread:  8  Dispatch queue: com.apple.iad.iadidmanager
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000090

    Hi there navicin79,
    You may find the troubleshooting steps in the articles below helpful. The first thing I would try is reinstalling iTunes as outlined in the first article.
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/ht2311
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    -Griff W. 

  • OMS 12c Upgrade Stuck at this error Error in invoking target 'client_shared

    Hi All
    We are Upgrading OMS from 11.1 to 12c
    stuck at this error after invoking runInstaller
    Following 1 system upgrade. (graphical mode).
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:
    INFO: /opt/app/wls/oms12c/oms/bin/genclntsh
    INFO: make: execvp: /opt/app/wls/oms12c/oms/bin/genclntsh: Permission denied
    INFO: make: *** [client_sharedlib] Error 127
    INFO: End output from spawned process.
    INFO: ----------------------------------
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target 'client_sharedlib' of makefile '/opt/app/wls/oms12c/oms/rdbms/lib/ins_rdbms.mk'. See '/opt/app/oraInventory/logs/installActions2012-08-02_06-38-02-PM.log' for details.
    Exception Severity: 1
    INFO: POPUP WARNING:Error in invoking target 'client_sharedlib' of makefile '/opt/app/wls/oms12c/oms/rdbms/lib/ins_rdbms.mk'. See '/opt/app/oraInventory/logs/installActions2012-08-02_06-38-02-PM.log' for details.
    Click "Retry" to try again.
    Click "Ignore" to ignore this error and go on.
    Click "Cancel" to stop this installation.
    Please Advise
    Edited by: TechAdmin on Aug 2, 2012 4:09 PM
    Edited by: TechAdmin on Aug 2, 2012 4:11 PM

    I installed all the packages and it allowed me to proceed furthur
    but now it throws another error saying that
    The log says "ORA-12003: materialized view "SYSMAN"."MGMT_ECM_MD_ALL_TBL_COLUMNS" does not exist" during the OMS Upgrade using graphical mode.
    We are not sure if that Materialized view ever exists on it or not.
    Please advise
    Below is the detailed log :
    INFO: oracle.sysman.top.oms:Failure...
    INFO: oracle.sysman.top.oms:exiting the thread...
    INFO: oracle.sysman.top.oms:[Initializing the EM RCU Runner, Failed Parameter Validation]
    INFO: oracle.sysman.top.oms: action logger path calculated finally: /opt/app/wls/OMS12c/oms/sysman/log/schemamanager/m_073012_1147_AM/m_073012_1147_AM.TRANSX/
    INFO: oracle.sysman.top.oms:The transx command execution is completed with the status 255
    INFO: oracle.sysman.top.oms:The transx action failed, Run the RepManager with -action transx
    INFO: oracle.sysman.top.oms:process_id:dr40kpyuxcpe
    INFO: oracle.sysman.top.oms:Failure...
    INFO: oracle.sysman.top.oms:1 error(s) happened in performing the action:
    INFO: oracle.sysman.top.oms:1):
    ORA-12003: materialized view "SYSMAN"."MGMT_ECM_MD_ALL_TBL_COLUMNS" does not exist
    File:/opt/app/wls/OMS12c/oms/sysman/admin/emdrep/sql/core/11.2.0.1/ecm/ecm_tables_alter.sql
    Statement:DROP MATERIALIZED VIEW MGMT_ECM_MD_ALL_TBL_COLUMNS
    INFO: oracle.sysman.top.oms:The plug-in Repository Upgrade has failed its perform method
    The other logs at <OMS_HOME>sysman/log/schemamanager/* says that the index is missing we checked our backups and all other possible ways to find if that index ever existed but we dont see anything as such.
    2012-08-06 12:07:54,476 [t970bytvwebs] INFO emschema.t970bytvwebs - index on mgmt_messages found: true on try: 196
    2012-08-06 12:08:00,479 [t970bytvwebs] INFO emschema.t970bytvwebs - index on mgmt_messages found: true on try: 197
    2012-08-06 12:08:06,570 [t970bytvwebs] INFO emschema.t970bytvwebs - repos connection is not null, using old one
    2012-08-06 12:08:06,571 [t970bytvwebs] INFO emschema.t970bytvwebs - executing: SELECT count(*) FROM all_objects WHERE object_name='MGMT_MESSAGES_IDX_01' AND owner='SYSMAN'
    2012-08-06 12:08:06,572 [t970bytvwebs] INFO emschema.t970bytvwebs - index on mgmt_messages found: true on try: 198
    2012-08-06 12:08:12,574 [t970bytvwebs] INFO emschema.t970bytvwebs - index on mgmt_messages found: true on try: 199
    2012-08-06 12:08:18,576 [t970bytvwebs] INFO emschema.t970bytvwebs - not found index on mgmt_messages
    2012-08-06 12:08:18,576 [t970bytvwebs] INFO emschema.t970bytvwebs - error: not found index on mgmt_messages for transx repos user exists: true mgmt_messages exists: true; index on mgmt_messages exist: false; found connection for repos user: true
    2012-08-06 12:08:18,576 [t970bytvwebs] ERROR emschema.t970bytvwebs - Failed Parameter Validation
    2012-08-06 12:08:18,576 [t970bytvwebs] ERROR emschema.t970bytvwebs - NULL Exception was thrown!
    2012-08-06 12:08:18,576 [t970bytvwebs] ERROR emschema.t970bytvwebs - Failed Parameter Validation
    we never had that index in our database.so that we could go back and check if that exits
    Please suggest a solution for this.
    Thanks
    Unfortunately we dont have any other database to compare it to see wether it exits
    Edited by: TechAdmin on Aug 6, 2012 11:34 AM

  • I am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    i am not able to update my iphone 4 ,when ever i tried to update it its show 1309 error...and at times 9006 error ,please help me ..

    Hey alkarim2008,
    If you are having an issue with being unable to update or restore your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    Resolve iOS update and restore errors in iTunes - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

Maybe you are looking for

  • Cancel Credit Memo Not passed to Accounting

    Hi, All My client have a Issue there raised Credit memo request with reference to billing document later there convert into Credit Memo, later there found amount there given is wrong credit memo request, there cancel credit memo the problem is that s

  • Problems with icloud syncing contacts on 2 iphones

    I have 2 iphone4's (ios 5.0.1) registered to the same Apple ID email account, both obviously with different contacts lists. As I understand it, the only way to add new contacts to your list now is to turn on icloud for contacts but when the iphones s

  • Prs-t1 is not properly rendering indic unicode fonts. Works fine in prs-t2

    Hi prs-t1 is not properly rendering indic unicode fonts (Hindi, Telugu etc).  Same epub works fine in prs-t2 and it renders the fonts properly. Solved! Go to Solution.

  • Dashboard doesn't launch on OS 10.6.8

    Why can't I launch Dashboard ? I didn't use it for a long time,  it's maybe offended... What do you think about ?

  • Ongoing White Balance issue

    In a video I just shot there is a slight shift in exposure in the image - just when my subject moves a couple times. It is shot with a white background and she is wearing black. I think this is a white balance issue. Which filters or fixes are best f