My program is showing warning

hi
i am developing a application using swings(JFrames)
i had written the code it worked fine and no warnings or exceptions while tried to execute in JDK1.4 but when i tried to execute in JDK1.5 or more it is showing following warning messages as follows:
C:\Program Files\Java\jdk1.6.0\bin>javac fn1fast.java
Note: fn1fast.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
C:\Program Files\Java\jdk1.6.0\bin>javac -Xlint fn1fast.java
fn1fast.java:12: warning: [serial] serializable class sample has no definition o
f serialVersionUID
class sample extends JFrame
^
fn1fast.java:128: warning: [unchecked] unchecked call to add(E) as a member of t
he raw type java.util.ArrayList
        al.add(new Character((char)i));
              ^
fn1fast.java:26: warning: [serial] serializable class DNA has no definition of s
erialVersionUID
class DNA extends Panel implements ActionListener
^
fn1fast.java:242: warning: [serial] serializable class home has no definition of
serialVersionUID
class home extends Panel
^
fn1fast.java:277: warning: [serial] serializable class image has no definition o
f serialVersionUID
class image extends Panel implements ActionListener
^
5 warningsbut my program is executing well when i tried to execute inspite of above warnings

thanks for ur suggestions...
--santosh                                                                                                                                                                                                                           

Similar Messages

  • How to show warning message in am

    How to show warning message in am but not Stop , it still can go ahead.
    Thank you very much.

    jamras ,
    If i got you correct you wanna show user a list fo warnings after that have occured in some method in AM, and show them to user collectively, and the processing of the page should not stop in the above. What you need to do for it, is instead of throwing warning message in AM, collect all warnings in a arraylist or vector. when you navigate back to CO, iterate through this arraylist/vector and for each use pagecontext.putDialogmessage(oaexception).In this way you will be able to show all warning messages on page and your processing will not stop!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to print / Concurrent program completes with warning

    Hi,
    We have recently re-built our Apps server from scratch, ie. install OS, Apps using rapidwiz, restore old backup. Now everything works perfect except printing. We are able to configure all the printers are can able to take test prints using cups from linux gui mode. Our OS version is RHEL AS 5.4 & Apps version is 12.1
    Our concurrent program log shows error message :
    lp: The printer or class was not found.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. Program exited with status 1.
    from OS prompt if I issue command : " lp -d EPSONIT addftinfo " I get the same error message
    lp: The printer or class was not found.
    Please help me sort out this issue.
    Raviprakash

    from OS prompt if I issue command : " lp -d EPSONIT addftinfo " I get the same error message
    lp: The printer or class was not found.This is an OS issue and you need to fix the lp command issue from the OS before troubleshooting this from the application.
    Please help me sort out this issue.http://forums.oracle.com/forums/search.jspa?threadID=&q=APP-FND-00500&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Format Payments check printing program completes in warning APP-FND-00500:

    Hi All,
    I'm in process of converting Oracle Payables check printing from reports 6i to XML publisher.
    I created template, data definition and changed the output for concurrent program to XML.
    I tried printing check and 'Format Payments (Evergreen)' concurrent program completed with warning.
    Log file has following error.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Any one there has any idea what this error is for.
    Thanks
    pallavi

    This could have something to do with the fact that your printer is not set up correctly. Can you run a plain text (OReports) file output to the same printer? If not, then the printer is not set up in FND correctly. If you can ...
    Remeber that unless you have a more modern printer that can handle PDF documents natively then XMLPs PDF is going to need to be converted to PS or PCL. I would suggest you investigate the PASTA printer driver and get that set up. It provides the ability to call a program pdf2ps for instance, to convert the PDF to PS. There is a bunch of info on metalink
    Tim

  • Apple tv remote doesn't work so I programmed my time warner remote but can't unpair old remote

    I haven't used my apple tv in months and today when I tried using it the remote would not work.  I then tried to program my time warner remote to the apple tv and after I did this whenever I pressed a button on the remote a light flashes three times on the apple tv.  I've read this is because the old remote is still paired to the apple device.  I tried unpairing by holding menu and left on my time warner remote and menu and rewind also but neither combination seems to work as I am still seeing three blinking lights whenever I press a button.  Any help as to how I can unpair my old remote?

    Hi Rudegar,
    Even my Remote is not working.  I changed my battery.

  • The program closes without warning, while I am working in the program

    I just purchased the Acrobat DC software...
    The program closes without warning, while I am working in the program

    Hi Karen ,
    Could you please elaborate about the issue so that we get know important information about the issue and assist you accordingly ?
    How and when does the program closes?Is it during the launch of Acrobat or while working on any of the PDF'?
    What OS do you work on ?
    If there any error message associated along with it ,please share the screen shot of the same .
    If you are on windows ,please try repairing the software once and see if that fixes the issue .
    For repairing of Acrobat ,launch Acrobat>Navigate to help>Repair Installation
    If that does not work ,you could uninstall Acrobat and then try to re install and see how it goes .
    Make sure to disable all the third party software before the installation commence .
    Regards
    Sukrit Dhingra

  • I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    Next, close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current user font cache files. After running the command, close Terminal and immediately restart your Mac.

  • Show warning when accessing to files API.

    Hello,
    In my application I am using FileConnection APIs. Every time when accessing to files (get file size, dir list and others actions) showing warning: Allow applications to read data in: Memory card or Gallery Yes/No . Are possible remove this warning? If yes, then how can do it?
    Thank in advance.

    Hello.
    What Article? Please give a link for the article. need very mach
    Thanks

  • This program is showing errorss

    hi,
    Can any one tell why this program is showing errorss
    class A {
        /** Creates a new instance of a */
      int i=10;
      int j;
      try
           i= 20/0;
      catch (ArithmeticException a)
          System.out.println(a);
    class exp1
         public static void main(String[] args)
              A x = new A();
              System.out.println(x.i);
           System.out.println("after try  ");
    }it is showing error as
    exp.java:19: illegal start of type
    try
    exp.java:26: <identifier> expected
    }

    class A {
        /** Creates a new instance of a */
      public int i=10;
      public int j;
      A(){
      try
           i= 20/0;
      catch (ArithmeticException a)
          System.out.println(a);
    public class exp1
         public static void main(String[] args)
              A x = new A();
              System.out.println(x.i);
           System.out.println("after try  ");
    }

  • Weblogic 11g Admin console - Admin Server Health shows "Warning"

    Hi,
    My env details : db 11.1.0.7, wls1033, RCU 11.1.1.3, soa 11.1.1.3, AIA11gR1 PS2
    When I start only Admin server, Health shows "Ok" but when I start soa_server1, Admin Server Health becomes "Warning".
    When I checked "Health information details" for Admin server, threadpool subsystem is showing "Warning".
    Steps I tried to resolve this issue : increased "Stuck Thread Max Time" to "1200" and "Stuck Thread Timer Interval" to "120" and restarted server, but still it shows "Warning" for Admin server Health
    Once I start soa_server1, Admin Server log shows below trace
    <Sep 30, 2010 3:39:38 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Sep 30, 2010 5:17:34 PM IST> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initialized correctly.>
    <Sep 30, 2010 5:21:34 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WLSServerControlTablePage.>
    <Sep 30, 2010 5:41:37 PM IST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "1,203" seconds working on the request "weblogic.kernel.WorkManagerWrapper$1@dbf6176", which is more than the configured time (StuckThreadMaxTime) of "1,200" seconds. Stack trace:
    Thread-21 "[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
    jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:250)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:289)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:125)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:105)
    java.io.BufferedReader.readLine(BufferedReader.java:288)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:287)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:312)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:93)
    ^-- Holding lock: weblogic.nodemanager.client.PlainClient@dbf5115[thin lock]
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:45)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    >
    <Sep 30, 2010 5:41:37 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'StuckThread' with severity 'Notice' on server 'AdminServer' has triggered at Sep 30, 2010 5:41:37 PM IST. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND (MSGID = 'BEA-000337')
    WatchData: DATE = Sep 30, 2010 5:41:37 PM IST SERVER = AdminServer MESSAGE = [STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "1,203" seconds working on the request "weblogic.kernel.WorkManagerWrapper$1@dbf6176", which is more than the configured time (StuckThreadMaxTime) of "1,200" seconds. Stack trace:
    Thread-21 "[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
    jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:250)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:289)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:125)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:105)
    java.io.BufferedReader.readLine(BufferedReader.java:288)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:287)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:312)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:93)
    ^-- Holding lock: weblogic.nodemanager.client.PlainClient@dbf5115[thin lock]
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:45)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    SUBSYSTEM = WebLogicServer USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-000337 MACHINE = navistarlnx01.in.corp.sa TXID = CONTEXTID = a29dda85e23940b7:-4a5394b7:12b621e55e6:-8000-000000000000005d TIMESTAMP = 1285848697597
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 600000
    >
    <Sep 30, 2010 5:41:55 PM IST> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in /u01/app/ora11g/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/adr/diag/ofm/base_domain/AdminServer/incident/incdir_10 with a lockout minute period of 1.>
    <Sep 30, 2010 5:43:37 PM IST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "1,323" seconds working on the request "weblogic.kernel.WorkManagerWrapper$1@dbf6176", which is more than the configured time (StuckThreadMaxTime) of "1,200" seconds. Stack trace:
    Thread-21 "[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
    jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
    java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
    java.net.SocketInputStream.read(SocketInputStream.java:107)
    sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:250)
    sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:289)
    sun.nio.cs.StreamDecoder.read(StreamDecoder.java:125)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.InputStreamReader.read(InputStreamReader.java:167)
    java.io.BufferedReader.fill(BufferedReader.java:105)
    java.io.BufferedReader.readLine(BufferedReader.java:288)
    ^-- Holding lock: java.io.InputStreamReader@dbf1cdd[thin lock]
    java.io.BufferedReader.readLine(BufferedReader.java:362)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:287)
    weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClient.java:312)
    weblogic.nodemanager.client.NMServerClient.start(NMServerClient.java:93)
    ^-- Holding lock: weblogic.nodemanager.client.PlainClient@dbf5115[thin lock]
    weblogic.nodemanager.mbean.StartRequest.start(StartRequest.java:75)
    weblogic.nodemanager.mbean.StartRequest.execute(StartRequest.java:45)
    weblogic.kernel.WorkManagerWrapper$1.run(WorkManagerWrapper.java:63)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    Thx for your help.

    Is there any information on this StuckThread Issue ?
    It happens in every restart of the SOA Managed server.

  • FB70 why does system show warning message "enter true account assignment" ?

    FB70 why does system show warning message "enter a true account assignment object with revenues" ?
    i enter profit center but i still get warning message "enter a true account assignment object with revenues" 
    what should i do ?
    my  system have CO-PA .

    Dear,
    Please see that the profit center which you are entering in FB70 must have segment.
    still it gives warning message do worry enter it will post the transaction.
    bsrao

  • Every time I open iPhoto, the program freezes, showing me the spinning rainbow of death.  I always need to perform a Force Quit.  I have updated my software, but that did not help.

    Every time I open iPhoto, the program freezes, showing me the spinning rainbow of death.  I always need to perform a Force Quit.  I have updated my software, but that did not help.

    tullch24
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download <a href="http://www.fatcatsoftware.com/iplm/"><b><u>iPhoto Library Manager</b></u></a> and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption. 

  • Over the years I have upgraded Photoshop numerous times.  When I click Start and Programs it shows P

    Over the years I have upgraded Photoshop numerous times.  When I click on Start, Programs is shows I have CS4, CS5 and CS6 installed.  If all three are installed, doesn't this eat up a lot of hard drive space?  If so, can I uninstall CS4 and CS5 and still have CS6 function properly?  Note - I am running the Windows 64-bit versions.  Thanks in advance for your help!

    Ravi,
    Will you please clarify how you recommend I uninstall CS4 and CS5?  Should I uninstall them through Windows or if I deactivate them while the program is open will that uninstall them?
    Sincerely,
    Randy Ballinger
    [email address removed]

  • Ink level shows warning after refill

    Product Name: Deskjet Ink Advantage 1510 All
    OS  : windows 10
    I have refilled my catridge but still my ink level showed low. 
    I tried after by pulling out the power cable and plugging it back in. and now it is not shwoing any warning in printer but the estimated level in hp tool shows warning. Please help. 
    Please let me know if in need of more information.. 
    Regards, 
    Naresh Durai

    NareshDurai wrote:
    Thank you for your reply BH.. Hope someone will answer me how to reset the chip. 
    Hi,
    You may want to post your question how to reset the chip on other forums, I don't think you can find the info on this forum.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • There are some program that show my live image on MSN?

    Are there some program that show my live image on MSN?

    See also:
    *http://kb.mozillazine.org/Error_loading_websites
    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

Maybe you are looking for