I have an error...pls help!!

so this is the question:
The task is to write a class that simulates a car. When an oject of
this class is created, one must supply
- The capacity of the fuel tank in gallons.
- The fuel efficiency in miles per gallon;
Newly manufactured cars have empty fuel tanks.
The car will include the following displays (functions):
-a fuel guage, giving a number between 0.0 and 1.0 indicating how much
fuel is left in the tank.
-on odometer, giving the total number of miles the car has travelled.
The car should also support the following operations (procedures)
-fill the fuel tank
-drive a certaion mr of miles, consuming fuel. If there is insufficient
fuel to drive the whole distance, drive until the fuel is exhausted.
(You may wixh to use Math.min or Math.max to implement this part)
class car{
     int capacity;
     int fuelEfficiency;
     float meter;
     double miles;
     public car(int c, int f, float meter, double miles)
          capacity = c;
          fuelEfficiency = f;
          meter = 0;
          miles = 0;
     public int getFuelLeft()
     return (fuelEfficiency/capacity);
     public double getMilage()
     return miles;
     public void setCapacity()
          capacity = fuelEfficiency;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class cardemo{
     public static void main (String[] args) throws IOException{
     BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
     Car mycar = new Car(c,f,meter,miles);
     //menu
     System.out.println("1. Input capacity.");
     System.out.println("2. Input fuel efficiency.");
     System.out.println("3. View fuel guage.");
     System.out.println("4. View odometer.");
     System.out.println("5. Fill the tank.");
     System.out.println("6. Drive a certain number of miles.");
     System.out.println("7. Exit.");
     int choice = 0;
     while(choice != 7 ) // 7 = exit
          System.out.println("INPUT YOUR CHOICE");
          choice = Integer.parseInt(reader.readLine());
          switch(choice)
               case 1:
               System.out.println("Input capacity of the fuel tank in gallons");
               int capacity = Integer.parseInt(reader.readLine()); // capacity input
               break;
               case 2:
               System.out.println("Input fuel efficiency in miles per gallon");
               int fuelEfficiency = Integer.parseInt(reader.readLine()); // fuel efficiency input
               break;
               case 3:
               System.out.println("View fuel guage.");
               System.out.println("Fuel left in tha tank: "+mycar.getFuelLeft());
               case 4:
               System.out.println("View odometer.");
               System.out.println("Total number of miles the car has travelled: "+mycar.getMiles());
               case 5:
               System.out.println("Fill the tank.");
               System.out.println("The fuel tank is full :"+mycar.setCapacity());
               case 6:
               System.out.println("How much miles would you like to travel.");
               double miles = Integer.parseInt(reader.readLine()); // miles input
               double drive = miles/fuelEfficiency; // gallons needed to finish journey
               if (drive > capacity) //gallons needed to finsh journey is more than gallon capacity
                    System.out.println("There is no sufficient fuel to drive the whole distance.");
                    System.out.println("Your car will drive until the fuel is exhuasted.");
                    //upgrade odometer (miles) (adek trid tamila)
                    System.out.println("Your car will be able to drive "+miles+" miles.");
                    drive = drive - capacity; //gallons needed to continue journey
                    System.out.println("You will need "+drive+" more gallons to drive "+miles+" miles.");
               else
                    System.out.println("You have sufficient fuel to drive the whole distance.");
                    drive = capacity - drive; //gallons left in tank
                    System.out.println("You have "+drive+" gallons of fuel left to use.");
               default:
               System.out.println("Invalid choice number.");
               break;
i am getting this error in the main:
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : class Car
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : class Car
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : variable c
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : variable f
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : variable meter
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
C:\Documents and Settings\Francis Cutajar\Desktop\cardemo.java:10: cannot find symbol
symbol : variable miles
location: class cardemo
     Car mycar = new Car(c,f,meter,miles);
     ^
6 errors
can you please tell me how i shoul code it =]

PoisonGirl wrote:
so it should be like this: car mycar = new car(...);
although im still getting an error in (c,f,meter,miles)
where am i wrong?lots of places. more to follow...
1) Your Car constructor takes a meter parameter. What's that?
2) Why pass a miles variable into the Car constructor? Won't that always be zero on construction, so a parameter is unnecessary?
3) Since you need some data present before you can construct a car, you will likely need to collect the data from the user before trying to construct car.
4) You can't just pass variables to a method or constructor when the variables simply do not exist.
5) You need to learn the technique of incremental programming where you create your program in little steps, adding only a small amount of code and then not adding any more until the code present compiles. It looks like you kept adding code to a doomed program increasing your number errors umpteen fold.
Edited by: Encephalopathic on Aug 18, 2008 3:15 PM

Similar Messages

  • Pls help my time capsule (4th gen) lost it files..I think it have a virus pls help me to fix it tnx..

    Pls help my time capsule (4th gen) lost it files..I think it have a virus pls help me to fix it tnx..

    1. Ethernet .. are you using ethernet?
    2. Change the name of the TC to short, no spaces and pure alphanumeric.
    3. In the file sharing page change the workgroup to WORKGROUP.
    4. In the same area, change the guest access to on read and write.
    5. If you setup homegroup on the PC get rid of it.. TC is not compatible with homegroup.
    6. Turn off ipv6 in the network settings for ethernet. (since you are going to be using ethernet).
    From Mac version utility it looks like this.
    Go to the admin tools and ensure that bonjour for windows is on.
    Manually type the IP directly into windows explorer.. do not open via MyComputer.
    \\10.0.1.1
    Because the error message is important.

  • Oracle (ODBC Error) Pls help

    Hi Friends
    I created a new project with Vb.Net and database of oracle 10g
    I build the Exe file when i opened for the first time its working fine and second time too
    but some times its not even logged in getting an below error message
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 8.1.5.0.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 8.1.5.0.0 - Production
    Time: 25-JAN-08 03:18:37
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 0
    nt OS err code: 0
    and as well as geting "SqlConnect Attr Failed" error
    Pls help me out on this
    thanks
    Krrish

    Check your Folder configuration under 'My Content Server' , change the content style to native and clear the 'Show hidden when browsing' option.
    Hope this helps.
    Regards,
    -Mukesh.

  • When I try to download xcode 4.6.2, my computer shuts down and restarts telling me I have an error. HELP?!??

    When I try to download xcode 4.6.2, my computer shuts down and restarts telling me I have an error. HELP?!?? Can anyone help me?

    Wed Jun 12 21:40:11 2013
    panic(cpu 6 caller 0xffffff80190ac90b): Releasing non-exclusive RW lock without a reader refcount!
    Backtrace (CPU 6), Frame : Return Address
    0xffffff81096e3a80 : 0xffffff801901d626
    0xffffff81096e3af0 : 0xffffff80190ac90b
    0xffffff81096e3b10 : 0xffffff801911c09c
    0xffffff81096e3d40 : 0xffffff8019110e92
    0xffffff81096e3d70 : 0xffffff80190ff954
    0xffffff81096e3ef0 : 0xffffff80190ffa10
    0xffffff81096e3f50 : 0xffffff80193e182a
    0xffffff81096e3fb0 : 0xffffff80190ced33
    BSD process name corresponding to current thread: installd
    Mac OS version:
    12C60
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID:
    Kernel slide:     0x0000000018e00000
    Kernel text base: 0xffffff8019000000
    System model name: iMac11,3 (Mac-F2238BAE)
    System uptime in nanoseconds: 11938612497736
    last loaded kext at 606795969288: com.line6.driver.xtaudio    7.2.3 (addr 0xffffff7f9b360000, size 1024000)
    last unloaded kext at 207361764339: com.apple.driver.AppleUSBUHCI    5.2.5 (addr 0xffffff7f99ac8000, size 65536)
    loaded kexts:
    com.line6.driver.xtaudio    7.2.3
    net.telestream.driver.TelestreamAudio    1.1.0
    com.logmein.driver.LogMeInSoundDriver    1.0.2
    at.obdev.nke.LittleSnitch    3876
    com.seagate.driver.SeagateGoFlexBlockSizeAdjuster    5.2.2
    com.apple.driver.AppleBluetoothMultitouch    75.15
    com.apple.driver.AppleHWSensor    1.9.5d0
    com.apple.driver.AudioAUUC    1.60
    com.apple.driver.AGPM    100.12.69
    com.apple.driver.AppleMikeyHIDDriver    122
    com.apple.driver.AppleHDA    2.3.1f2
    com.apple.filesystems.autofs    3.0
    com.apple.iokit.IOUserEthernet    1.0.0d1
    com.apple.driver.AppleUpstreamUserClient    3.5.10
    com.apple.iokit.IOBluetoothSerialManager    4.0.9f33
    com.apple.kext.AMDFramebuffer    8.0.0
    com.apple.Dont_Steal_Mac_OS_X    7.0.0
    com.apple.driver.AppleMikeyDriver    2.3.1f2
    com.apple.driver.AppleBacklight    170.2.3
    com.apple.driver.AppleLPC    1.6.0
    com.apple.driver.ApplePolicyControl    3.2.11
    com.apple.AMDRadeonAccelerator    1.0.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport    4.0.9f33
    com.apple.driver.AppleMCCSControl    1.0.33
    com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
    com.apple.driver.AppleIRController    320.15
    com.apple.driver.AppleUSBCardReader    3.1.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    34
    com.apple.iokit.SCSITaskUserClient    3.5.1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCIBlockStorage    2.2.2
    com.apple.driver.AppleUSBHub    5.2.5
    com.apple.driver.AppleFWOHCI    4.9.6
    com.apple.iokit.AppleBCM5701Ethernet    3.2.5b3
    com.apple.driver.AirPort.Atheros40    600.70.23
    com.apple.driver.AppleAHCIPort    2.4.1
    com.apple.driver.AppleUSBEHCI    5.4.0
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleACPIButtons    1.6
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.6
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    196.0.0
    com.apple.nke.applicationfirewall    4.0.39
    com.apple.security.quarantine    2
    com.apple.driver.AppleIntelCPUPowerManagement    196.0.0
    com.apple.driver.AppleBluetoothHIDKeyboard    165.5
    com.apple.driver.AppleHIDKeyboard    165.5
    com.apple.driver.IOBluetoothHIDDriver    4.0.9f33
    com.apple.driver.AppleMultitouchDriver    235.28
    com.apple.driver.DspFuncLib    2.3.1f2
    com.apple.kext.triggers    1.0
    com.apple.iokit.IOSurface    86.0.3
    com.apple.driver.AppleUSBAudio    2.9.0f6
    com.apple.iokit.IOAudioFamily    1.8.9fc10
    com.apple.kext.OSvKernDSPLib    1.6
    com.apple.iokit.IOSerialFamily    10.0.6
    com.apple.iokit.IOBluetoothFamily    4.0.9f33
    com.apple.driver.AppleBacklightExpert    1.0.4
    com.apple.driver.AppleGraphicsControl    3.2.11
    com.apple.iokit.IOAcceleratorFamily    19.0.26
    com.apple.iokit.IONDRVSupport    2.3.5
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport    4.0.9f33
    com.apple.driver.AppleHDAController    2.3.1f2
    com.apple.iokit.IOHDAFamily    2.3.1f2
    com.apple.driver.AppleSMBusPCI    1.0.10d0
    com.apple.iokit.IOFireWireIP    2.2.5
    com.apple.kext.AMD5000Controller    8.0.0
    com.apple.kext.AMDSupport    8.0.0
    com.apple.driver.AppleSMBusController    1.0.10d0
    com.apple.iokit.IOGraphicsFamily    2.3.5
    com.apple.driver.AppleSMC    3.1.4d2
    com.apple.driver.IOPlatformPluginLegacy    1.0.0
    com.apple.driver.IOPlatformPluginFamily    5.2.0d16
    com.apple.iokit.IOUSBHIDDriver    5.2.5
    com.apple.iokit.IOUSBMassStorageClass    3.5.0
    com.apple.driver.AppleUSBMergeNub    5.2.5
    com.apple.driver.AppleUSBComposite    5.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.5.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.iokit.IOFireWireSBP2    4.2.0
    com.apple.iokit.IOSCSIBlockCommandsDevice    3.5.1
    com.apple.iokit.IOAHCISerialATAPI    2.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.5.1
    com.apple.iokit.IOUSBUserClient    5.2.5
    com.apple.iokit.IOFireWireFamily    4.5.5
    com.apple.iokit.IOEthernetAVBController    1.0.2b1
    com.apple.iokit.IO80211Family    500.15
    com.apple.iokit.IONetworkingFamily    3.0
    com.apple.iokit.IOAHCIFamily    2.2.1
    com.apple.iokit.IOUSBFamily    5.4.0
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOHIDFamily    1.8.0
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    220
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.security.TMSafetyNet    7
    com.apple.driver.DiskImages    344
    com.apple.iokit.IOStorageFamily    1.8
    com.apple.driver.AppleKeyStore    28.21
    com.apple.driver.AppleACPIPlatform    1.6
    com.apple.iokit.IOPCIFamily    2.7.2
    com.apple.iokit.IOACPIFamily    1.4
    com.apple.kec.corecrypto    1.0

  • While doing service  in service po we get account assignment error pls help

    while doing services in service po we get error account assignment error (se181) pls help to resolve

    Hi,
    a service line can be never saved WITHOUT the account assignment details (except acc. ***. category U in in the PO item).
    In case the table ESLL will have entry but the accounting tables eskl  has got no entry or has entries with deletion flag, it would be an inconsistent situation.    
    You can set on the screen SAPLMLSK 0200 the deletion flag (ESKL-LOEKZ) for your service account assignment, but without entering a new account assignment information the system would not allow you to leave this screen. When you set the deletion flag for service line in the account assignment detail screen, you must enter right afterwards a new account assignment information in order to leave the screen without the error message 06 408.
    Regards,
    Edit

  • Hs_err_pid3108 error pls help me its really been there for a year now =(

    Here is the complete error file:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2309cfa0, pid=3108, tid=2896
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
    # Problematic frame:
    # C 0x2309cfa0
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x07c48000): JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    siginfo: ExceptionCode=0xc0000005, writing address 0x385d0800
    Registers:
    EAX=0x001f0900, EBX=0x00000109, ECX=0x2309cf98, EDX=0x0000dc00
    ESP=0x0a33ebb0, EBP=0x0a33f008, ESI=0x0000dc00, EDI=0x00000135
    EIP=0x2309cfa0, EFLAGS=0x00210246
    Top of Stack: (sp=0x0a33ebb0)
    0x0a33ebb0: 00000000 00000000 00000135 00000135
    0x0a33ebc0: 001f0900 001f0900 0000013d 10c50000
    0x0a33ebd0: 01590005 00730000 0000006e ffff6187
    0x0a33ebe0: 000030c3 ffff6187 00000083 ffff5e51
    0x0a33ebf0: 000006bc ffff5e51 ffff8000 0001c000
    0x0a33ec00: ffff8000 00000073 00000071 0f460000
    0x0a33ec10: 017c3332 01480000 01480000 0b0f8000
    0x0a33ec20: 0b0f8000 00000000 0b0f8000 00000002
    Instructions: (pc=0x2309cfa0)
    0x2309cf90: 01 00 00 00 ac 0a 00 00 01 00 00 00 88 e3 72 2b
    0x2309cfa0: 01 9c 02 00 23 3d 38 00 23 3d 38 00 23 3d 38 00
    Stack: [0x0a240000,0x0a340000), sp=0x0a33ebb0, free space=1018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x2309cfa0
    J ea.k(I)V
    J ea.a(ZZI)V
    J ea.a(IIIIIIIII)V
    J qb.a(Lse;Z)V
    J qb.a(IIIIII)V
    J pf.a(I)V
    J lb.b(B)V
    J client.a(I)V
    J v.g(I)V
    J v.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0aad9400 JavaThread "Thread-16" daemon [_thread_blocked, id=2004]
    0x08994800 JavaThread "Thread-15" daemon [_thread_blocked, id=3856]
    0x089ae400 JavaThread "Thread-14" daemon [_thread_blocked, id=3464]
    0x08964000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3760]
    0x0899e000 JavaThread "Thread-11" daemon [_thread_blocked, id=404]
    =>0x07c48000 JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    0x08adbc00 JavaThread "Thread-9" daemon [_thread_blocked, id=1592]
    0x0894bc00 JavaThread "AWT-EventQueue-2" [_thread_in_native, id=3192]
    0x08ae5c00 JavaThread "thread applet-loader.class" [_thread_blocked, id=3276]
    0x0894ac00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3256]
    0x08946400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2888]
    0x08940400 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=3004]
    0x07d32c00 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3712]
    0x07d26400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3568]
    0x07d24400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3092]
    0x07c70400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3348]
    0x07c6b800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3596]
    0x07c6a400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2756]
    0x07c69400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2764]
    0x07c65000 JavaThread "Finalizer" daemon [_thread_blocked, id=2460]
    0x07c60800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3616]
    0x02949c00 JavaThread "main" [_thread_in_native, id=2308]
    Other Threads:
    0x07c57400 VMThread [id=3600]
    0x07c8ac00 WatcherThread [id=1144]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 6080K, used 4552K [0x20960000, 0x20ff0000, 0x210c0000)
    eden space 5440K, 73% used [0x20960000, 0x20d442e8, 0x20eb0000)
    from space 640K, 88% used [0x20f50000, 0x20fde068, 0x20ff0000)
    to space 640K, 0% used [0x20eb0000, 0x20eb0000, 0x20f50000)
    tenured generation total 80140K, used 69910K [0x210c0000, 0x25f03000, 0x26960000)
    the space 80140K, 87% used [0x210c0000, 0x25505930, 0x25505a00, 0x25f03000)
    compacting perm gen total 12288K, used 4386K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 35% used [0x26960000, 0x26da8998, 0x26da8a00, 0x27560000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae5e4e8, 0x2ae5e600, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7a0e78, 0x2b7a1000, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x0049a000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b6000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8fe000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e31000      C:\WINDOWS\system32\RPCRT4.dll
    0x77e40000 - 0x77e87000      C:\WINDOWS\system32\GDI32.dll
    0x7e390000 - 0x7e420000      C:\WINDOWS\system32\USER32.dll
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x00330000 - 0x003a6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1e0000      C:\WINDOWS\system32\SHELL32.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x61410000 - 0x61531000      C:\WINDOWS\system32\urlmon.dll
    0x770e0000 - 0x7716c000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5dca0000 - 0x5dce4000      C:\WINDOWS\system32\iertutil.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x77390000 - 0x77493000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d4e0000 - 0x5d57a000      C:\WINDOWS\system32\comctl32.dll
    0x00a40000 - 0x00fe6000      C:\WINDOWS\system32\IEFRAME.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x771b0000 - 0x7727c000      C:\WINDOWS\system32\WININET.dll
    0x009a0000 - 0x009a9000      C:\WINDOWS\system32\Normaliz.dll
    0x5b190000 - 0x5b1c8000      C:\WINDOWS\system32\UxTheme.dll
    0x754d0000 - 0x75578000      C:\WINDOWS\system32\RASDLG.dll
    0x76d00000 - 0x76d18000      C:\WINDOWS\system32\MPRAPI.dll
    0x77c90000 - 0x77cc2000      C:\WINDOWS\system32\ACTIVEDS.dll
    0x76dd0000 - 0x76df5000      C:\WINDOWS\system32\adsldpc.dll
    0x6ff20000 - 0x6ff74000      C:\WINDOWS\system32\NETAPI32.dll
    0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
    0x76ad0000 - 0x76ae1000      C:\WINDOWS\system32\ATL.DLL
    0x76e40000 - 0x76e4e000      C:\WINDOWS\system32\rtutils.dll
    0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
    0x778e0000 - 0x779d7000      C:\WINDOWS\system32\SETUPAPI.dll
    0x76ea0000 - 0x76edc000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e50000 - 0x76e62000      C:\WINDOWS\system32\rasman.dll
    0x71a30000 - 0x71a47000      C:\WINDOWS\system32\WS2_32.dll
    0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
    0x76e70000 - 0x76e9f000      C:\WINDOWS\system32\TAPI32.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x746a0000 - 0x746eb000      C:\WINDOWS\system32\MSCTF.dll
    0x20000000 - 0x202d5000      C:\WINDOWS\system32\xpsp2res.dll
    0x77b00000 - 0x77b22000      C:\WINDOWS\system32\apphelp.dll
    0x75250000 - 0x7527e000      C:\WINDOWS\system32\msctfime.ime
    0x5dff0000 - 0x5e01e000      C:\WINDOWS\system32\IEUI.dll
    0x76320000 - 0x76325000      C:\WINDOWS\system32\MSIMG32.dll
    0x4eb80000 - 0x4ed23000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
    0x76f90000 - 0x7700f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77010000 - 0x770dd000      C:\WINDOWS\system32\COMRes.dll
    0x74670000 - 0x7469a000      C:\WINDOWS\System32\msimtf.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x60a30000 - 0x60a39000      C:\WINDOWS\system32\mslbui.dll
    0x779e0000 - 0x77a36000      C:\WINDOWS\System32\cscui.dll
    0x765a0000 - 0x765bd000      C:\WINDOWS\System32\CSCDLL.dll
    0x325c0000 - 0x325d2000      C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
    0x61930000 - 0x61979000      C:\Program Files\Internet Explorer\ieproxy.dll
    0x7d1f0000 - 0x7d4ae000      C:\WINDOWS\system32\msi.dll
    0x75e30000 - 0x75ee0000      C:\WINDOWS\system32\SXS.DLL
    0x75d40000 - 0x75dd1000      C:\WINDOWS\system32\MLANG.dll
    0x10000000 - 0x1000e000      C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x02950000 - 0x0296b000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x02970000 - 0x0297f000      C:\WINDOWS\system32\tfswapi.dll
    0x029e0000 - 0x02a7b000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x6d7c0000 - 0x6d839000      C:\Program Files\Java\jre1.6.0_01\bin\ssv.dll
    0x719d0000 - 0x71a10000      C:\WINDOWS\system32\mswsock.dll
    0x61200000 - 0x61259000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
    0x76970000 - 0x76a24000      C:\WINDOWS\system32\USERENV.dll
    0x77c40000 - 0x77c63000      C:\WINDOWS\system32\msv1_0.dll
    0x76d20000 - 0x76d39000      C:\WINDOWS\system32\iphlpapi.dll
    0x71cd0000 - 0x71cec000      C:\WINDOWS\system32\actxprxy.dll
    0x72240000 - 0x72245000      C:\WINDOWS\system32\sensapi.dll
    0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
    0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
    0x7e830000 - 0x7eb8c000      C:\WINDOWS\system32\mshtml.dll
    0x03000000 - 0x03029000      C:\WINDOWS\system32\msls31.dll
    0x72ea0000 - 0x72f00000      C:\WINDOWS\system32\ieapfltr.dll
    0x76bf0000 - 0x76c1e000      C:\WINDOWS\system32\WINTRUST.dll
    0x77a40000 - 0x77ad5000      C:\WINDOWS\system32\CRYPT32.dll
    0x77ae0000 - 0x77af2000      C:\WINDOWS\system32\MSASN1.dll
    0x76c50000 - 0x76c78000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x63380000 - 0x633f7000      C:\WINDOWS\System32\jscript.dll
    0x58760000 - 0x58792000      C:\WINDOWS\system32\iepeers.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76200000 - 0x76276000      C:\WINDOWS\system32\mshtmled.dll
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x72c90000 - 0x72c99000      C:\WINDOWS\system32\wdmaud.drv
    0x72c80000 - 0x72c88000      C:\WINDOWS\system32\msacm32.drv
    0x77bb0000 - 0x77bc5000      C:\WINDOWS\system32\MSACM32.dll
    0x77ba0000 - 0x77ba7000      C:\WINDOWS\system32\midimap.dll
    0x74900000 - 0x74a0e000      C:\WINDOWS\System32\msxml3.dll
    0x767a0000 - 0x767c7000      C:\WINDOWS\system32\schannel.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x68100000 - 0x68124000      C:\WINDOWS\system32\dssenh.dll
    0x74d10000 - 0x74d7b000      C:\WINDOWS\system32\USP10.dll
    0x6d6b0000 - 0x6d6d1000      C:\Program Files\Java\jre1.6.0_01\bin\npjpi160_01.dll
    0x6d4a0000 - 0x6d4bb000      C:\Program Files\Java\jre1.6.0_01\bin\jpiexp.dll
    0x6d250000 - 0x6d261000      C:\Program Files\Java\jre1.6.0_01\bin\deploy.dll
    0x71a50000 - 0x71a5a000      C:\WINDOWS\system32\wsock32.dll
    0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
    0x6d4f0000 - 0x6d514000      C:\Program Files\Java\jre1.6.0_01\bin\jpishare.dll
    0x05960000 - 0x05ba7000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\client\jvm.dll
    0x6d310000 - 0x6d318000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\hpi.dll
    0x6d770000 - 0x6d77c000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\Java\jre1.6.0_01\bin\awt.dll
    0x736d0000 - 0x73719000      C:\WINDOWS\system32\ddraw.dll
    0x73b30000 - 0x73b36000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\Java\jre1.6.0_01\bin\fontmanager.dll
    0x6d480000 - 0x6d498000      C:\Program Files\Java\jre1.6.0_01\bin\jpicom.dll
    0x08c40000 - 0x08c7b000      C:\Program Files\Java\jre1.6.0_01\bin\regutils.dll
    0x30000000 - 0x302ee000      C:\WINDOWS\system32\Macromed\Flash\Flash9b.ocx
    0x76350000 - 0x7639a000      C:\WINDOWS\system32\comdlg32.dll
    0x69000000 - 0x6900e000      C:\WINDOWS\system32\Macromed\Common\SwSupport.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_01\bin\net.dll
    0x6d220000 - 0x6d243000      C:\Program Files\Java\jre1.6.0_01\bin\dcpr.dll
    0x6d940000 - 0x6d94a000      C:\WINDOWS\System32\ddrawex.dll
    0x6d760000 - 0x6d76f000      C:\Program Files\Java\jre1.6.0_01\bin\unpack.dll
    0x6d590000 - 0x6d599000      C:\Program Files\Java\jre1.6.0_01\bin\nio.dll
    0x6d520000 - 0x6d544000      C:\Program Files\Java\jre1.6.0_01\bin\jsound.dll
    0x6d550000 - 0x6d558000      C:\Program Files\Java\jre1.6.0_01\bin\jsoundds.dll
    0x73e80000 - 0x73edc000      C:\WINDOWS\system32\DSOUND.dll
    0x73e50000 - 0x73e54000      C:\WINDOWS\system32\KsUser.dll
    0x6d450000 - 0x6d474000      C:\Program Files\Java\jre1.6.0_01\bin\jpeg.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE16~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;
    PATH=C:\PROGRA~1\Java\JRE16~1.0_0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Sonic\MyDVD;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\Sonic\MyDVD;;C:\DESKJET;.
    USERNAME=Giel
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 523808k(60484k free), swap 1228812k(801124k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
    Thanks for your help, it would be really nice if annyone could help me out here. I am encountering this problem for more then a year now, and nothing has been able to fix it. pls help me

    The stack trace from the hs_err log doesn't provide a ton of info on this. I would try running with the server compiler (add the option '-server' to your command line) to see if this is due to something in the client compiler. Aside from that, look at the Java SE 6 troubleshooting guide, it has a number of tips for getting more information:
    http://java.sun.com/javase/6/webnotes/trouble/index.html
    Best of all, if you have a (hopefully small) reproducible test case that you can provide to us (Sun), then please file a bug.

  • IPhone 4 Updating Error (Pls Help)

    When I click on update in itunes to update my iphone 4 it promt me an error message.
    Could someone pls help me thanks.
    Error Message: An unknown error Occured (-23)
    p.s. I had updated my ipad2 with no problems but I am unable to update my iphone 4.

    Waited for a few days then I uninstalled and reinstalled itunes on my laptop and it's work... No more error msg popping out and the updating went smoothly .
    p.s. Yuppie finally able to updated my iphone to iOS5.. 

  • I registered on icloud from my gmail and now when i log on icloud and type password its say your account is been blocked for security reasons.when i reset be email its just send on email but wich email i dont remember.i have @icloud email pls help

    (https://iforgot.apple.com i registered on icloud from my gmail and now when i log on icloud and type password its say your account is been blocked for security reasons.when i reset be email its just send on email but wich email i dont remember.i have @icloud email pls help

    drop the CAPS thats rude.
    iforgot.apple.com there is a link for find my apple id click here
    https://iforgot.apple.com/appleid?language=US-EN&returnURL=https://appleid.apple .com/cgi-bin/WebObjects/MyAppleId.woa&app_id=93&app_type=ext
    Peace, Clyde

  • Collaboration Room iViews give error -- Database related errors -- Pls Help

    Hello Everyone,
    We are on EP 6.0 SP 17 (Netweaver 2004).
    KMC component was installed separately (Deployed manually).
    We are trying to create simple Collaboration Rooms and we are facing some issues with the same.
    I am following the documentation on SAP Help for the Room Creation:
    Help &#61664; SAP Netweaver 2004 &#61664; People Integration &#61664; Collaboration &#61664; Administration Guide
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/3d59fdaa5ebb45967ea107d3fa117a/frameset.htm
    We are able to create rooms based on pre-defined templates and we are also able to add members to rooms, send/receive the invitation emails. I am able to work with Instant Messaging also.
    But the problem is that some of the iViews related to Collaboration Rooms are giving errors.
    1.<b> “Discussion” iView gives an error saying “You do not have access permission” (even the user has all the necessary roles assigned).</b>
    Log for this error is as follows:
    Exception ID = 90c3315f-c29d-2910-87ac-806aa372da7f com.sapportals.wdf.WdfError     at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120)
         at com.sapportals.htmlb.Container.preRender(Container.java:120) ……….
    --- Nested WDF Exception -
    com.sapportals.wcm.WcmException: The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope
    I tried to change the permissions of the “Discussion” iView, but it did not work either.
    2. <b>Some iViews like “Room Information” throw a Runtime Error as follows:</b>
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/RoomPartContent/Generic/Pages/com.sap.netweaver.coll.RoomDiscussionPage/com.sap.netweaver.coll.RoomInformationExtended
    Component Name : com.sap.netweaver.coll.appl.ui.room.RoomInformation
    The exception was logged. Inform your system administrator..
    Exception id: 02:17_02/02/07_0006_213711350
    See the details for the exception ID in the log file
    <b>I have figured out that the following error message is common in most or the error messages:
    The SQL statement "INSERT INTO "KMC_URIMAPPER" ("HASH_KEY","EXTERNAL_KEY","CONST_INTERNAL","VAR_INTERNAL","EK_PREFIX","EKHK00","EKHK01","EKHK02","EKHK03","EKHK04","EKHK05","EKHK06","EKHK07","EKHK08","EKHK09","EKHK10","EKHK11","EKHK12","EKHK13","EKHK14") VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" contains the semantics error[s]: column "EK_PREFIX" not in any scope</b>
    Are there any database related configurations required for making the Collaboration Room Discussion functionality work properly?
    Are there any KM related configurations necessary other than those mentioned in the document I am referring to?
    Are there any database related configurations that are required?
    I would really appreciate any help in this matter. Please advise me about any ideas you may have?
    Thanks,
    Raj Seelam

    Hello Lars,
    First of all thank you for your reply.
    <b>do u use Collaboration first time?</b>
    Yes, we just started using Collaboration and this is our first requirement.
    <b>Which roles do u have?</b>
    I have all the required roles (Super Admin, Content Management, Collaboration, Collaboration Room Creation).
    I know that these features are available in NW04 SP 17 without any limitations. I have reviewed SAP Notes 707730, 711093, 709354 and 946470 also.
    This problem is with only a few Collaboration iViews.
    I am able to create Rooms, Enter Rooms, Receive Invitation e-mails without any problem.
    Any suggestions about any possible missing configurations ?
    Thanks Again,
    Raj

  • DBMS_DATAPUMP package  ERROR ;;;; PLS HELP mE

    Hello Everybody,
    I have a problem using the DBMS_DATAPUMP package ;
    I have just created on procedure that lunch one job and put the dmp file into an oracle directory ; the procedure works fine until yesterday and sadly strange today the procedure does'nt work and i have this oracle message :
    ORA-31626: job does not exist
    I dont' know how to do since i have not changed the procedure !!!
    can someone help me please?
    thank you very much
    regards

    No i have just this error : ORA-31626: job does not exist
    from the execution time to the failure in the alert.log file I have only The value (30) of MAXTRANS parameter ignored.
    for the session nothing is changed
    below the code source :
    CREATE OR REPLACE PROCEDURE SP_DPUMP_EXPORT (
    P_DIRECTORY_NAME IN VARCHAR2
    AS
    || Procedure: here
    ||
    || Creates a nightly DataPump Export of all User schema
    ||
    idx NUMBER; -- Loop index
    JobHandle NUMBER; -- Data Pump job handle
    PctComplete NUMBER; -- Percentage of job complete
    JobState VARCHAR2(30); -- To keep track of job state
    LogEntry ku$_LogEntry; -- For WIP and error messages
    JobStatus ku$_JobStatus; -- The job status from get_status
    Status ku$_Status; -- The status object returned by get_status
    SELECT table_name, max_trans
    FROM user_tables;
    BEGIN
    -- Build a handle for the export job
    JobHandle :=
    DBMS_DATAPUMP.OPEN(
    operation => 'EXPORT'
    ,job_mode => 'FULL'
    ,remote_link => NULL
    ,job_name => 'GADNETOBJECTS'
    ,version => 'LATEST'
    -- Using the job handle value obtained, specify multiple dump files for the job
    -- and the directory to which the dump files should be written. Note that the
    -- directory object must already exist and the user account running the job must
    -- have WRITE access permissions to the directory
    DBMS_DATAPUMP.ADD_FILE(
    handle => JobHandle
    ,filename => 'GADDB01_'||TO_CHAR(SYSDATE-1,'YYYYMMDD')||'.dmp'
    ,directory => P_DIRECTORY_NAME
    ,filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE
    /* ,filesize => '100M'*/
    DBMS_DATAPUMP.ADD_FILE(
    handle => JobHandle
    ,filename => 'GADDB01_'||TO_CHAR(SYSDATE-1,'YYYYMMDD')||'.log'
    ,directory => P_DIRECTORY_NAME
    ,filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE
    -- Apply a metadata filter to restrict the DataPump Export job to only return
    -- selected tables and their dependent objects from the Miva schema
    /*DBMS_DATAPUMP.METADATA_FILTER(
    handle => JobHandle
    ,NAME => 'SCHEMA_EXPR'
    ,VALUE => '= ''ALL'''
    \* ,object_type => 'TABLE'*\
    -- Initiate the DataPump Export job
    DBMS_DATAPUMP.START_JOB(JobHandle);
    -- If no exception has been returned when the job was initiated, this loop will
    -- keep track of the job and return progress information until the job is done
    PctComplete := 0;
    JobState := 'UNDEFINED';
    WHILE(JobState != 'COMPLETED') and (JobState != 'STOPPED')
    LOOP
    DBMS_DATAPUMP.GET_STATUS(
    handle => JobHandle
    ,mask => 15 -- DBMS_DATAPUMP.ku$_status_job_error + DBMS_DATAPUMP.ku$_status_job_status + DBMS_DATAPUMP.ku$_status_wip
    ,timeout => NULL
    ,job_state => JobState
    ,status => Status
    JobStatus := Status.job_status;
    -- Whenever the PctComplete value has changed, display it
    IF JobStatus.percent_done != PctComplete THEN
    DBMS_OUTPUT.PUT_LINE('*** Job percent done = ' || TO_CHAR(JobStatus.percent_done));
    PctComplete := JobStatus.percent_done;
    END IF;
    -- Whenever a work-in progress message or error message arises, display it
    IF (BITAND(Status.mask,DBMS_DATAPUMP.ku$_status_wip) != 0) THEN
    LogEntry := Status.wip;
    ELSE
    IF (BITAND(Status.mask,DBMS_DATAPUMP.ku$_status_job_error) != 0) THEN
    LogEntry := Status.error;
    ELSE
    LogEntry := NULL;
    END IF;
    END IF;
    IF LogEntry IS NOT NULL THEN
    idx := LogEntry.FIRST;
    WHILE idx IS NOT NULL
    LOOP
    DBMS_OUTPUT.PUT_LINE(LogEntry(idx).LogText);
    idx := LogEntry.NEXT(idx);
    END LOOP;
    END IF;
    END LOOP;
    -- Successful DataPump Export job completion, so detach from the job
    DBMS_OUTPUT.PUT_LINE('Job has succesfully completed');
    DBMS_OUTPUT.PUT_LINE('Final job state = ' || JobState);
    DBMS_DATAPUMP.DETACH(JobHandle);
    EXCEPTION
    DBMS_OUTPUT.PUT_LINE('ERREUR :'||SQLERRM);
    END;

  • Error pls help me

    Hi Experts
    I have used the following code which gives error in the line
    If con.logon(0, False) True Then.
    whats the reason, can anyone explain and correct me.
    Regards
    Rajaram
    Private Sub Command1_Click()
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set con = bapictrl.Connection
    con.Client = "391"
    con.User = "sap01"
    con.password = "victory"
    con.Language = "EN"
    If con.logon(0, False) True Then
    MsgBox "No connection to R/3!"
    Exit Sub 'End program
    Else
    MsgBox "connection to R/3 Successful!"
    End If
    End Sub
    Private Sub Command2_Click()
    Dim x As String
    Set Obj = bapictrl.GetSAPObject("ZEMPLOYEE")
    Set Header = bapictrl.DimAs(Obj, "ZBAPIEMP", "EMPDB")
    Set sreturn = bapictrl.DimAs(Obj, "ZBAPIEMP", "Return")
    Header.Value("code") = TextBox1.Text
    Header.Value("name") = TextBox2.Text
    Header.Value("salary") = TextBox3.Text
    Obj.zbapiemp EMPDB:=Header, RETURN:=sreturn
    x = sreturn.Value("message")
    If x = "" Then
    MsgBox "Created Successfully........"
    Else
    MsgBox x
    End If
    End Sub
    Private Sub Command3_Click()
    End
    End Sub

    Hi Jagrut,
    Have a look in ST22 for the short dump....
    You should be able to figure out the exact cause of the error and will also get a source code extract to see where the error occurred exactly...!!!
    Seems to be an error in the OPEN SQL Statement...!
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • Have weird error message, help please.

    I've created two classes to interact with each other from a problem in my text book. Here is the problem from the book:
    Implement a class Employee. An employee has a name(a string) and a salary (a double). Write a default constructor, a constructor with two parameters(name and a salary), and methods to return the name and salary. Write a small program that test your class.
    I'm think the error is probably small, but I'm having trouble identifying it.
    Here is the code and error messages
    This class contains a constructor designed to construct an employee object with
    the parameters name & salary.
    public class Employee
       String name;
       double salary;
          This constructor, when called, constructs an object Employee,
          sets the initial name and salary.
       public Employee(String constructName, double constructSalary)
       name = constructName;
       salary = constructSalary;
       The method returns the value for name to the EmployeeTester class.
       public String employeeName()
          return name;
       This method returns the value for salary to the EmployeeTester class.
       public double employeeSalary()
          return salary;
    This class contains an executable program designed to test the functionality
    of the class Employee.
    public class EmployeeTester
       public static void main(String[] args)
             Employee rick = new Employee(rick,10000);
             System.out.println("The employee name is " + rick.employeeName + ".");
             System.out.println("The employee salary is " +rick.employeeSalary + ".");
    }C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:9: cannot find symbol
    symbol : constructor Employee(Employee,int)
    location: class Employee
    Employee rick = new Employee(rick,10000);
    ^
    C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:10: cannot find symbol
    symbol : variable employeeName
    location: class Employee
    System.out.println("The employee name is " + rick.employeeName + ".");
    ^
    C:\Documents and Settings\Administrator\Desktop\Comp 1900 files\EmployeeTester.java:11: cannot find symbol
    symbol : variable employeeSalary
    location: class Employee
    System.out.println("The employee salary is " rick.employeeSalary ".");
    ^
    3 errors

    C:\Documents and Settings\Administrator\Desktop\Comp
    1900 files\EmployeeTester.java:9: cannot find symbol
    symbol : constructor Employee(Employee,int)
    location: class Employee
    Employee rick = new Employee(rick,10000);The error message is telling you exactly what's going yon. You're trying to create a new Employee by passing an Employee and an int to the constructor. Employee does not have a c'tor that takes Employee and int as arguments. So either create such a c'tor, or call one that does exist. (Without looking at your code or what you're trying to do, I'll say that the latter is more likely the correct course.)
    Also, you've got a flaw there, in that at the point you say Employee rick, rick does not have a value, but then in the same line, you try to pass rick's value to the c'tor, but rick doesn't have a value yet. You're saying, "here's this new variable rick, give it a value based on it's current, nonexistent value."
    ^
    Settings\Administrator\Desktop\Comp 1900
    files\EmployeeTester.java:10: cannot find symbol
    ymbol : variable employeeName
    location: class Employee
    System.out.println("The employee name is " +
    rick.employeeName + ".");Again, the error message is very explicit. You're trying to use a member variable called employeeName where Employee has no such member variable.
    >
    >
    C:\Documents and Settings\Administrator\Desktop\Comp
    1900 files\EmployeeTester.java:11: cannot find
    symbol
    symbol : variable employeeSalary
    location: class Employee
    System.out.println("The employee salary is "
    rick.employeeSalary ".");Based on the above, you should be able to figure this one out.

  • Report Errors -pls help

    Hi,
    While running reports from Oracle forms I am getting following error in report runtime engine,
    Rep-0110: Unable to open file ' \utl.rep'
    Rep-1070: Error While opening and saving file
    Rep-0110: Unble to open file ' \utl.rep'
    I have checked the paths, and reports in folder. They all there and correct.
    It was working fine two days ago. I am got admin rights to run the reports. Its only the reports(5 reports) in Form menu those are not working, everything else is working fine.
    Its Oracle 6i and application is installed at one single server and every one has got the mapping drive to their PC's.
    So privilage is not a single problem and paths also looks OK to me. I really don't know what could be the problem

    Jagjit,
    Since it looks like the problem is in finding the report definition, a debugging tip: put your report definition file in a directory where you have one of the reports that works. You may also want to ensure that there is only one copy of your report definition file under OracleHome & in the REPORTS_PATH.
    Regards,
    Anil.

  • Javax Activation error, pls help me very urgent

    Hello,
    I am calling a java stored procedure, but I am getting the following error:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed;
    boundary="----=_Part_0_-1403249095.1105388630390"
    I dropped the jar files from the database and re-deployed the the latest jar files downloaded from Sun site, still I am getting the the same error.
    could someone please help me with this, I am desperately trying to solve this problem and get the work done. I am using java stored procedure to send emails.
    Any help is highly appreciated.
    Thanks
    Cosmos

    This is a Javamail problem.
    with a quick search of the javamail forum i found the same problem: http://forum.java.sun.com/thread.jspa?threadID=74127&start=0&tstart=0

  • Disconnecting external hard drive error - PLS HELP!

    im an iMac newbie so i didnt know i was gonna encounter a problem when i manually disconnected my external hard drive from the USB port. when i disconnected it, an error message popped up saying something like the USB device was not properly disconnected..make sure to eject the device... this may cause loss of data, etc. So when i tried to plug in my external hard drive again, a message box popped up saying something like "the device is not compatible with this computer.." so i went and tried to connect the external hard drive on to my PC... as i expected, an error message popped up saying that it is not formatted yet and it was asking me if i want to reformat it..
    what should i do??? did i permanently lose all the data in my external hard drive?? is there any way to restore the files?? please help..

    As indicated in the previous post, you need to 'eject' the drive before you disconnect the cable or power down the external drive.
    to eject:
    click on the drive icon then press command-e
    right click or control click on the drive icon then select eject
    plus other methods
    I'd plug in the device & power up the device before starting the mac. This will force a drive check.
    With the device connected & power up, then run disk repair.
    harddrive > applications > utilities > Disk Utility
    On the left you will see a list of devices with the partitions on the device below the device icon. Select the device icon of the external device. Be sure to select the device not the partition on the device.
    Select the First Aid tab. See lower right.
    run verify
    run repair
    run verify
    what should i do??? did i permanently lose all the data > in my external hard drive?? is there any way to restore > the files?? please help..
    If the repair doesn't work you need to try a utility like disk warrior. If that dosn't work, you will need to try a commercial recovery firm.
    Robert

  • Numeric or value error: hex to raw conversion error , pls help

    I am having problem with a sproc which accepts a Raw parameter.
    I have a table called Profile:
    CREATE TABLE PROFILES
    PROFILEID INTEGER NOT NULL,
    USERID INTEGER NOT NULL,
    PROFILE RAW(255)
    and a sproc named addprofile
    CREATE OR REPLACE PROCEDURE addprofile
    profile IN RAW,
    userName IN VARCHAR2
    AS
    userId INT;
    BEGIN
    GetUserIdByName( userName, userId);
    INSERT INTO Profiles
    ( ProfileID,userId , profile )
    VALUES ( Profiles_ProfileID_SEQ.NEXTVAL,AddProfile.userId ,
    AddProfile.profile );
    END;
    I am calling the Ent Library's Insert profile method which is part of DbProfileProvider.cs (Security App block). It is trying to persist a serialized profile object into the database.
    private void InsertProfile(string userName, byte[] serializedProfile,
    Data.Database securityDb, IDbTransaction transaction)
    DBCommandWrapper cmd = securityDb.GetStoredProcCommandWrapper
    (SPAddProfile);
    cmd.AddInParameter("userName", DbType.String, userName);
    cmd.AddInParameter("profile", DbType.Binary, serializedProfile);
    securityDb.ExecuteNonQuery(cmd, transaction);
    I get the following error:
    Any suggestion on what needs to be changed to get this working? thanks!
    Exception Details: Oracle.DataAccess.Client.OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error ORA-06512: at line 1
    Stack trace:
    [OracleException: ORA-06502: PL/SQL: numeric or value error: hex to raw conversion error
    ORA-06512: at line 1]
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, String procedure, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src)
    Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    Microsoft.Practices.EnterpriseLibrary.Data.Database.DoExecuteNonQuery(DBCommandWrapper command)
    Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteNonQuery(DBCommandWrapper command, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.InsertProfile(String userName, Byte[] serializedProfile, Database securityDb, IDbTransaction transaction)
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    [InvalidOperationException: Error saving the profile for the following user 'test'.]
    Microsoft.Practices.EnterpriseLibrary.Security.Database.DbProfileProvider.SetProfile(IIdentity identity, Object profile)
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:285
    [ApplicationException: An error has occurred saving profile object to Datastore. See stack trace for further information]
    EntLibSecuritySample.DFO.Security.SecurityHelper.SetUserProfile(IIdentity identity, Object Profile) in C:\DFO\Sample\Security\EntLibSecuritySample\SecurityHelper.vb:287
    EntLibSecuritySample.ProfilePage.cmdSaveProfile_Click(Object sender, EventArgs e) in C:\DFO\Sample\Security\EntLibSecuritySample\profile.aspx.vb:59
    System.Web.UI.WebControls.Button.OnClick(EventArgs e)
    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
    System.Web.UI.Page.ProcessRequestMain() +1292

    Harsh,
    I am not a user of the Enterprise Library so I can not speak to the specifics of that. However, here is a short sample that is based on the information you've provided. Perhaps it will be useful.
    Database:
    create table profiles
      profileid integer not null,
      userid    integer not null,
      profile   raw(255)
    create or replace procedure addprofile
      p_profileid in integer,
      p_userid    in integer,
      p_profile   in raw
    as
    begin
      insert into
        profiles (profileid, userid, profile)
        values (p_profileid, p_userid, p_profile);
    end;
    /C# code:
    using System;
    using System.Data;
    using System.Text;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace HarshTest
      /// <summary>
      /// Summary description for Class1.
      /// </summary>
      class Class1
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
          // connect to local db using o/s authentication
          OracleConnection con = new OracleConnection("User ID=/; Pooling=False");
          con.Open();
          // create command object and set properties
          OracleCommand cmd = new OracleCommand();
          cmd.Connection = con;
          cmd.CommandText = "ADDPROFILE";
          cmd.CommandType = CommandType.StoredProcedure;
          // parameter object for profileid
          OracleParameter p_profileid = new OracleParameter();
          p_profileid.OracleDbType = OracleDbType.Int32;
          p_profileid.Value = 1;
          p_profileid.Direction = ParameterDirection.Input;
          // parameter object for userid
          OracleParameter p_userid = new OracleParameter();
          p_userid.OracleDbType = OracleDbType.Int32;
          p_userid.Value = 1;
          p_userid.Direction = ParameterDirection.Input;
          // create a byte array for the raw value
          ASCIIEncoding encoder = new ASCIIEncoding();
          byte[] byteArray = encoder.GetBytes("TestProfile");
          // parameter object for profile
          OracleParameter p_profile = new OracleParameter();
          p_profile.OracleDbType = OracleDbType.Raw;
          p_profile.Value = byteArray;
          p_profile.Direction = ParameterDirection.Input;
          // add parameters to collection
          cmd.Parameters.Add(p_profileid);
          cmd.Parameters.Add(p_userid);
          cmd.Parameters.Add(p_profile);
          // execute the stored procedure
          try
            cmd.ExecuteNonQuery();
          catch (OracleException ex)
            Console.WriteLine(ex.Message);
          // clean up objects
          p_profile.Dispose();
          p_userid.Dispose();
          p_profileid.Dispose();
          cmd.Dispose();
          con.Dispose();
    }Maybe the part about creating the byte array is what you are missing...
    - Mark

Maybe you are looking for