Something that I don't understand

The following code sample is a challenge to my comprehension:
private void myMethod(String myParameter) {
  final AClass myClass = new AClass() {
    //statements...
  //statements...
}What confuses me is the part that follows new AClass() and ends with };
Can someone write an equivalent snippet of code?

Basically all that is doing is defining a class and instantiating it at the same time. You can see similar examples when looking at ActionListeners.
These are called anonymous inner classes and will be compiled with the same name as the public class with a $ and then a numeral.
Here is an example from a MIDlet I developed
     final Command okCommand = new Command("Ok", Command.OK, 1);
     splashForm.addCommand(okCommand);
     splashForm.setCommandListener(new CommandListener() {
             public void commandAction(Command c, Displayable d)
                display.setCurrent(mainMenuList);
        });     

Similar Messages

  • Again something that I don't understand to the fullest. (Port Fowarding)

    I'm trying to port forward to make a Minecraft server. The port is 25565, and here's a tutorial for it. http://www.youtube.com/watch?v=8nFl6r3XpwM I've watched the tutorial and my format when I go to port forwarding looks NOTHING like that. It brings up a couple problems, in which I don't know how to explain. I originally posted, then I got rid of it because I thought I fixed it but I realize that that method doesn't work. Any help? Thanks.
    Solved!
    Go to Solution.

    Try the Simple portforwarding tool.
    It's a free download.  and it's completely automated.   Or they have a walk through 
    If not and you feel adventurous - you can check these two current video's from actiontec.
    How to enable BASIC Port Forwarding on the MI424WR Verizon FiOS Router
    How to Configure Advanced Port Forwarding on the MI424WR Verizon FiOS Router
    the only trick or advice that I have is that the Source port - make sure to leave that, as ANY and then the only place you put then number is for your destination port.     

  • What is it with yield() that I don't understand?

    The following code starts a thread that awaits a notification that never comes. However, I was expecting the Foo main thread to enter the running state again sometime after it yields and print the last line "main running again", but not so. The program hangs and never execute main's last print statement.
    class Task extends Thread {
    Foo foo;
    Task (Foo syncOnThis) {
        foo = syncOnThis;
        @Override
        public void run () {
        synchronized (foo) {
            System.out.println("task has the foo lock.");
            try {
                System.out.println("task about to release lock.");
                foo.wait();
            } catch (InterruptedException ie) {
                System.err.println("task was interrupted.");
            System.out.println("task was notified!");
    public class Foo {
        private synchronized void notifier() {
            notifyAll();
            System.out.println("foo notified all");
        public static void main(String[] args) {
            Foo foo = new Foo();
            Task alpha = new Task(foo);
            alpha.start();
        Thread.yield();
            try {
                Thread.sleep(500);
            } catch (InterruptedException ie) {
                System.out.println("Foo's sleep interrupted");
                System.out.println("main thread running again");
    }My understanding of yield() is that it offers to demote the current thread to the runnable state in order to allow other threads - in this case Task - to enter the running state. But once Task calls wait(), it also retreats from the running state and this is where I expect the main thread to become running again.
    If I swap yield() with something like
            try {
                Thread.sleep(500);
            } catch (InterruptedException ie) {
                System.out.println("Foo's sleep interrupted");
            }then it main does actually return to a running state and executes the last statement.
    what is it with yield() that I don't understand?

    krzn wrote:
    I see.Do also note that yield seldom is used these days. You most likely have a bug in your implementation or design if you think you need to call yield, or you are executing on a really old VM or on an odd system.
    (The first versions of the Solaris VM didn't use round robin so you had to release the execution to avoid starvation.)
    Kaj

  • Photo to ipod ,it said something that i cann't understand

    photo to ipod ,it said something that i cann't understand
    it said " some of your photo , including the photo "name5.jpg" were not copied to the ipod because they cannot be displayed on your ipod"
    how do i do to solve this problem

    Here's the list of supported images for all iPods.
    http://docs.info.apple.com/article.html?artnum=304677
    There may be a difference in JPG images as opposed to JPEG ones. ( I'm not sure)

  • Help with a Kernel Oops that I don't understand

    I'm in the process of installing Arch on a new setup based on a Zotac-IONITX-b motherboard.
    I have pretty much come to the end of the initial set up of Arch but I am experiencing something that makes me clueless, A kernel Oops.
    This is the output from dmesg as it happens:
    BUG: unable to handle kernel paging request at 000d8a0b
    IP: [<c016bfbc>] m_show+0x9c/0x1a0
    *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    last sysfs file: /sys/module/mbcache/initstate
    Modules linked in: ext3 jbd ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables arc4 ecb snd_hda_codec_nvhdmi rt73usb crc_itu_t rt2x00usb rt2x00lib snd_hda_codec_realtek led_class snd_seq_dummy input_polldev lirc_mceusb2 lirc_dev snd_seq_oss mac80211 snd_seq_midi_event snd_hda_intel usbhid snd_seq snd_seq_device snd_hda_codec hid nvidia(P) cfg80211 snd_pcm_oss snd_mixer_oss snd_hwdep agpgart snd_pcm snd_timer ohci_hcd snd soundcore i2c_nforce2 shpchp ehci_hcd psmouse snd_page_alloc pci_hotplug pcspkr usbcore sg serio_raw i2c_core forcedeth wmi evdev thermal processor fan button battery ac rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod pata_acpi ata_generic ahci libata scsi_mod
    Pid: 1947, comm: lsmod Tainted: P (2.6.30-ARCH #1) To Be Filled By O.E.M.
    EIP: 0060:[<c016bfbc>] EFLAGS: 00010282 CPU: 0
    EIP is at m_show+0x9c/0x1a0
    EAX: 00000000 EBX: f6a615a0 ECX: 00000e76 EDX: 00000000
    ESI: f98de6e0 EDI: 000d8a0b EBP: f98de810 ESP: f69edeb4
    DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Process lsmod (pid: 1947, ti=f69ec000 task=f6556800 task.ti=f69ec000)
    Stack:
    f6a615a0 c0457a4c f9b76bec 00011824 f98de6e4 f69edf30 c03d28a8 88e01f5c
    c03e0768 f6a615a0 f98de6e4 f69edf30 c01ee703 c012d160 00000000 00000174
    00000000 b807c014 f6a615c8 000003ec 00000014 f65b2780 f69edf90 0000001f
    Call Trace:
    [<c03d28a8>] ? mutex_lock+0x18/0x40
    [<c01ee703>] ? seq_read+0x263/0x470
    [<c012d160>] ? __wake_up+0x50/0x80
    [<c01ee4a0>] ? seq_read+0x0/0x470
    [<c0219b59>] ? proc_reg_read+0x79/0xc0
    [<c01d1923>] ? vfs_read+0xc3/0x1a0
    [<c0219ae0>] ? proc_reg_read+0x0/0xc0
    [<c01d1b08>] ? sys_read+0x58/0xb0
    [<c0103c73>] ? sysenter_do_call+0x12/0x28
    Code: 10 31 c0 81 c5 2c 01 00 00 39 ef 74 2d 66 90 8b 47 08 89 1c 24 c7 44 24 04 4c 7a 45 c0 83 c0 0c 89 44 24 08 e8 d6 22 08 00 8b 3f <8b> 07 0f 18 00 90 39 ef 75 da b8 01 00 00 00 8b 96 d4 00 00 00
    EIP: [<c016bfbc>] m_show+0x9c/0x1a0 SS:ESP 0068:f69edeb4
    CR2: 00000000000d8a0b
    ---[ end trace a2e72733227d6c47 ]---
    My kernel skills are next to zero so I don't even know where to begin to look for things to fix. The only thing I know is that if I set the runlevel to 5 at boot I get the Oops straight at boot. It appears that xorg (with nvidia module) starts loading but only makes it to about half a deacent log file. And when I try to issue lsmod the terminal just hangs.
    Runlevel 3 boots fine witout the Oops but as soons as I try to do something module related (like lsmod again) the Oops is right there.
    Any ideas what to do about this or am I down the reinstall route again?

    I'm still having problems with this
    I don't really know where to begin when it comes to prevent modules being loaded. Which ones are safe to remove etc?
    This is what I get at boot trying to get straight into X.
    Can anyone make something out of the dump? Any ideas what might be wrong is much appreciated.
    BUG: unable to handle kernel paging request at 000d8a0b
    IP: [<c016bfbc>] m_show+0x9c/0x1a0
    *pde = 00000000
    Oops: 0000 [#1] PREEMPT SMP
    last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/0000:03:00.0/resource
    Modules linked in: ext3 jbd ipt_REJECT xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables x_tables arc4 ecb snd_hda_codec_nvhdmi rt73usb crc_itu_t rt2x00usb rt2x00lib led_class lirc_mceusb2 snd_seq_dummy snd_hda_codec_realtek input_polldev lirc_dev snd_seq_oss joydev mac80211 snd_seq_midi_event snd_seq usbhid snd_hda_intel snd_seq_device hid snd_hda_codec cfg80211 nvidia(P) snd_pcm_oss snd_mixer_oss snd_hwdep snd_pcm snd_timer agpgart ohci_hcd snd psmouse ehci_hcd soundcore shpchp serio_raw i2c_nforce2 pcspkr usbcore snd_page_alloc pci_hotplug sg forcedeth i2c_core wmi evdev thermal processor fan button battery ac rtc_cmos rtc_core rtc_lib ext2 mbcache sd_mod pata_acpi ata_generic ahci libata scsi_mod
    Pid: 2023, comm: X Tainted: P (2.6.30-ARCH #1) To Be Filled By O.E.M.
    EIP: 0060:[<c016bfbc>] EFLAGS: 00210282 CPU: 0
    EIP is at m_show+0x9c/0x1a0
    EAX: 00000000 EBX: f73a5540 ECX: 00000e31 EDX: 00000000
    ESI: f98ac6e0 EDI: 000d8a0b EBP: f98ac810 ESP: ec821eb4
    DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Process X (pid: 2023, ti=ec820000 task=ec96bc00 task.ti=ec820000)
    Stack:
    f73a5540 c0457a4c f9bfcc2c 00011824 f98ac6e4 ec821f30 c03d28a8 9f0f8b2b
    c03e0768 f73a5540 f98ac6e4 ec821f30 c01ee703 00000000 9f0f8b2b 000001b9
    00000000 b7f54014 f73a5568 000003ec 00000014 ec990900 ec821f90 00000021
    Call Trace:
    [<c03d28a8>] ? mutex_lock+0x18/0x40
    [<c01ee703>] ? seq_read+0x263/0x470
    [<c01ee4a0>] ? seq_read+0x0/0x470
    [<c0219b59>] ? proc_reg_read+0x79/0xc0
    [<c01d1923>] ? vfs_read+0xc3/0x1a0
    [<c0219ae0>] ? proc_reg_read+0x0/0xc0
    [<c01d1b08>] ? sys_read+0x58/0xb0
    [<c0103c73>] ? sysenter_do_call+0x12/0x28
    Code: 10 31 c0 81 c5 2c 01 00 00 39 ef 74 2d 66 90 8b 47 08 89 1c 24 c7 44 24 04 4c 7a 45 c0 83 c0 0c 89 44 24 08 e8 d6 22 08 00 8b 3f <8b> 07 0f 18 00 90 39 ef 75 da b8 01 00 00 00 8b 96 d4 00 00 00
    EIP: [<c016bfbc>] m_show+0x9c/0x1a0 SS:ESP 0068:ec821eb4
    CR2: 00000000000d8a0b
    ---[ end trace c0390704e02a5e60 ]---
    edit:
    I hope this is solved now. I couldn't figure out what module that was acting up so I reinstalled and started slowly to install and activate my devices. As soon as I reached the point of installing X, and specifically the nvidia drivers, it all went bonkers again.
    I uninstalled the nvidia oackage and built the beta drivers from AUR, but had the same result. I ten turned to nvidia directly and installed their driver (the.run file) and after that everything seems to run smoothly.
    So, probably there is something in the pacman package that doesn't work with my Zotac IONitx board.
    Edit again:
    The error is back and I have filed a bug report to nvidia. I'm keeping my fingers crossed that they can solve this for me.
    Last edited by antis (2009-07-28 14:55:34)

  • Auto debit by Skype that I don't understand how th...

    Need help.  My credit card has been  compromised.  Have been charged on my credit card since March 2014.  After approaching the my bank, i was asked to cancel my credit card and was replaced with a new card in May.  However, in June I was again charged on my new card.  I was then told by the bank that it was an auto debit by Skype.  I really don't understand how this had happened.  How do I get a refund from Skype?
    This post was transferred from its previous location on a blog article to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content.

    I have asked for your email address to be edited out. Post your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.

  • JSF Exception that I don't understand

    I have a jsf fragment in a page that causes this exception:
    [#|2007-02-14T12:35:43.156+0100|SEVERE|sun-appserver-pe8.2|org.apache.pluto.portalImpl.aggregation.PortletFragment|_ThreadID=14;|Error in Portlet
    javax.portlet.PortletException: <not set> is not allowed
         at com.sun.faces.portlet.FacesPortlet.storeInitParameter(FacesPortlet.java:388)
         at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:311)
         at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:205)
         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:145)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:140)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
         at org.apache.pluto.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:73)
         at org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:105)
         at org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.renderPortlet(PortletContainerWrapperImpl.java:70)
         at org.apache.pluto.portalImpl.aggregation.PortletFragment.service(PortletFragment.java:168)
         at org.apache.jsp.WEB_002dINF.aggregation.ColumnFragment_jsp._jspService(ColumnFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RowFragment_jsp._jspService(RowFragment_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.PageFragment_jsp._jspService(PageFragment_jsp.java:75)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.jsp.WEB_002dINF.aggregation.RootFragment_jsp._jspService(RootFragment_jsp.java:159)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:80)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:509)
         at org.apache.pluto.portalImpl.aggregation.AbstractFragment.service(AbstractFragment.java:112)
         at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:281)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor988.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]But I really don't understad what can be wrong. Or how can I debug it.
    The fragment contains a lot of TextFields (read only) and static texts, everyone having their own style. There's one hidden field. Nothing more.
    The values of the texfields and the hiddenfield are set dynamically
    I guess that a property of a component is not set, or smtn like that.
    The exception happens only when I press a button which returns to the same page (no other action taken).
    I am using JSCreator 2.1 with bundled server.

    I didn't know what was "not set" and where... But as
    soon as I posted this message I realized, that "<not
    set>" is Creator's way to say that something is NOT
    SET. So I searched through the sourcecodes and found
    out, that for some reason, there is a value "<not
    set>" in the style property of one of the
    statictexts.
    background-image: url(<Not Set>);I suppose this is a bug in Creator, isn't it?Can say for sure, as I've never worked with that.. glad you find what the problem was.
    MeTitus

  • Error Message that i don't understand please help

    Hi,
    Please can you help me out to figure out what this error message means. I'm novice to mac os x world and i dont know much, my computer gets freezing every now and then, and will shutdown itself. Please find below error message and please if you have time to look at it and just explain to me what do i need to do, or where is the problem with it.
    Thanks in advance
    Interval Since Last Panic Report: 252477 sec
    Panics Since Last Report: 2
    Anonymous UUID: 1F56D626-1B8C-4DA0-BC7B-298FB99E2715
    Wed Feb 16 11:38:52 2011
    Machine-check capabilities (cpu 0) 0x0000000000000806:
    family: 6 model: 15 stepping: 6 microcode: 199
    Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
    6 error-reporting banks
    threshold-based error status present
    Machine-check status 0x0000000000000004:
    machine-check in progress
    MCA error-reporting registers:
    IA32MC0STATUS(0x401): 0xb200004000000800 valid
    MCA error code: 0x0800
    Model specific error code: 0x0000
    Other information: 0x00000040
    Threshold-based status: No tracking
    Status bits:
    Processor context corrupt
    Error enabled
    Uncorrected error
    IA32MC1STATUS(0x405): 0x0000000000000000 invalid
    IA32MC2STATUS(0x409): 0x0000000000000000 invalid
    IA32MC3STATUS(0x40d): 0x0020000000000000 invalid
    IA32MC4STATUS(0x411): 0xd000000000020151 valid
    MCA error code: 0x0151
    Model specific error code: 0x0002
    Other information: 0x00000000
    Threshold-based status: No tracking
    Status bits:
    Error enabled
    Error overflow
    IA32MC5STATUS(0x415): 0xb200121014040400 valid
    MCA error code: 0x0400
    Model specific error code: 0x1404
    Other information: 0x00001210
    Threshold-based status: No tracking
    Status bits:
    Processor context corrupt
    Error enabled
    Uncorrected error
    panic(cpu 0 caller 0x2a9d27): Machine Check at 0x17e960cc, thread:0x5e7fb7c, trapno:0x12, err:0x0,registers:
    CR0: 0x80010033, CR2: 0x17e97000, CR3: 0x00100000, CR4: 0x00000660
    EAX: 0x0000006d, EBX: 0xb073ad14, ECX: 0x1d52c034, EDX: 0x00000002
    ESP: 0xb073ad14, EBP: 0xb073ad2c, ESI: 0x1d52c1bc, EDI: 0x22e0dd60
    EFL: 0x00010206, EIP: 0x17e960cc
    Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
    0x819e18 : 0x21b50c (0x5d4438 0x819e4c 0x223974 0x0)
    0x819e68 : 0x2a9d27 (0x595f04 0x595ff1 0x17e960cc 0x5e7fb7c)
    0x819f58 : 0x2a1912 (0x1 0x0 0x0 0x0)
    BSD process name corresponding to current thread: WebKitPluginHost
    Mac OS version:
    10J567
    Kernel version:
    Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
    System model name: MacBook2,1 (Mac-F4208CA9)
    System uptime in nanoseconds: 602770527130
    unloaded kexts:
    (none)
    loaded kexts:
    com.apple.filesystems.autofs 2.1.0 - last loaded 366723211188
    com.apple.driver.AppleTyMCEDriver 1.0.2d2
    com.apple.driver.InternalModemSupport 2.6.2
    com.apple.driver.AudioAUUC 1.13
    com.apple.driver.AppleIntelYonahProfile 14
    com.apple.driver.AppleIntelPenrynProfile 17
    com.apple.DontSteal_Mac_OSX 7.0.0
    com.apple.driver.AppleUpstreamUserClient 3.4.5
    com.apple.driver.AppleIntelNehalemProfile 11
    com.apple.driver.AudioIPCDriver 1.1.6
    com.apple.driver.AppleHDA 1.9.9f12
    com.apple.driver.AppleMCCSControl 1.0.17
    com.apple.driver.AppleIntelGMA950 6.2.6
    com.apple.driver.AirPort.Atheros 411.19.4
    com.apple.driver.AppleGraphicsControl 2.8.68
    com.apple.driver.SMCMotionSensor 3.0.0d4
    com.apple.iokit.AppleYukon2 3.2.1b1
    com.apple.driver.AppleIntelMeromProfile 19
    com.apple.driver.ACPISMCPlatformPlugin 4.5.0d5
    com.apple.driver.AirPort.Atheros21 424.14.5
    com.apple.driver.AppleLPC 1.4.12
    com.apple.driver.AppleBacklight 170.0.34
    com.apple.driver.AppleIntelIntegratedFramebuffer 6.2.6
    com.apple.driver.CSRHIDTransitionDriver 2.3.8f7
    com.apple.driver.AppleIRController 303.8
    com.apple.driver.AppleUSBTrackpad 200.3.2
    com.apple.driver.AppleUSBTCKeyEventDriver 200.3.2
    com.apple.driver.AppleUSBTCKeyboard 200.3.2
    com.apple.driver.USBCameraFirmwareLoader 1.1.0
    com.apple.iokit.SCSITaskUserClient 2.6.5
    com.apple.iokit.IOAHCIBlockStorage 1.6.3
    com.apple.BootCache 31
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.driver.AppleUSBHub 4.1.7
    com.apple.driver.AppleAHCIPort 2.1.5
    com.apple.driver.AppleEFINVRAM 1.4.0
    com.apple.driver.AppleUSBEHCI 4.1.7
    com.apple.driver.AppleIntelPIIXATA 2.5.1
    com.apple.driver.AppleFWOHCI 4.7.1
    com.apple.driver.AppleUSBUHCI 4.1.5
    com.apple.driver.AppleRTC 1.3.1
    com.apple.driver.AppleHPET 1.5
    com.apple.driver.AppleSmartBatteryManager 160.0.0
    com.apple.driver.AppleACPIButtons 1.3.5
    com.apple.driver.AppleSMBIOS 1.6
    com.apple.driver.AppleACPIEC 1.3.5
    com.apple.driver.AppleAPIC 1.4
    com.apple.driver.AppleIntelCPUPowerManagementClient 105.13.0
    com.apple.security.sandbox 1
    com.apple.security.quarantine 0
    com.apple.nke.applicationfirewall 2.1.11
    com.apple.driver.AppleIntelCPUPowerManagement 105.13.0
    com.apple.driver.AppleProfileReadCounterAction 17
    com.apple.driver.AppleProfileTimestampAction 10
    com.apple.driver.AppleProfileThreadInfoAction 14
    com.apple.driver.AppleProfileRegisterStateAction 10
    com.apple.driver.AppleProfileKEventAction 10
    com.apple.driver.AppleProfileCallstackAction 20
    com.apple.iokit.IOSurface 74.2
    com.apple.iokit.IOBluetoothSerialManager 2.3.8f7
    com.apple.iokit.IOSerialFamily 10.0.3
    com.apple.driver.AppleHDAPlatformDriver 1.9.9f12
    com.apple.driver.AppleHDAHardwareConfigDriver 1.9.9f12
    com.apple.driver.DspFuncLib 1.9.9f12
    com.apple.iokit.IOAudioFamily 1.8.0fc1
    com.apple.kext.OSvKernDSPLib 1.3
    com.apple.iokit.IOFireWireIP 2.0.3
    com.apple.iokit.AppleProfileFamily 41
    com.apple.driver.AppleSMC 3.1.0d3
    com.apple.driver.IOPlatformPluginFamily 4.5.0d5
    com.apple.driver.AppleHDAController 1.9.9f12
    com.apple.iokit.IOHDAFamily 1.9.9f12
    com.apple.iokit.IO80211Family 312
    com.apple.iokit.IONetworkingFamily 1.10
    com.apple.iokit.IONDRVSupport 2.2
    com.apple.iokit.IOGraphicsFamily 2.2
    com.apple.driver.CSRUSBBluetoothHCIController 2.3.8f7
    com.apple.driver.AppleUSBBluetoothHCIController 2.3.8f7
    com.apple.iokit.IOBluetoothFamily 2.3.8f7
    com.apple.driver.AppleUSBMergeNub 4.1.5
    com.apple.iokit.IOUSBHIDDriver 4.1.5
    com.apple.driver.AppleUSBComposite 3.9.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.5
    com.apple.iokit.IOBDStorageFamily 1.6
    com.apple.iokit.IODVDStorageFamily 1.6
    com.apple.iokit.IOCDStorageFamily 1.6
    com.apple.driver.XsanFilter 402.1
    com.apple.iokit.IOATAPIProtocolTransport 2.5.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.5
    com.apple.driver.AppleFileSystemDriver 2.0
    com.apple.iokit.IOUSBUserClient 4.1.5
    com.apple.iokit.IOAHCIFamily 2.0.4
    com.apple.driver.AppleEFIRuntime 1.4.0
    com.apple.iokit.IOATAFamily 2.5.1
    com.apple.iokit.IOFireWireFamily 4.2.6
    com.apple.iokit.IOUSBFamily 4.1.7
    com.apple.iokit.IOHIDFamily 1.6.5
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.TMSafetyNet 6
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.DiskImages 289
    com.apple.iokit.IOStorageFamily 1.6.2
    com.apple.driver.AppleACPIPlatform 1.3.5
    com.apple.iokit.IOPCIFamily 2.6
    com.apple.iokit.IOACPIFamily 1.3.0
    Model: MacBook2,1, BootROM MB21.00A5.B07, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, SMC 1.13f3
    Graphics: Intel GMA 950, GMA 950, Built-In, spdisplaysintegratedvram
    Memory Module: global_name
    AirPort: AirPort Extreme, Atheros 5416: 2.1.14.5
    Bluetooth: Version 2.3.8f7, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: WDC WD1600BEVT-22A23T0, 149.05 GB
    Parallel ATA Device: HL-DT-ST DVDRW GSA-S10N6
    USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8501, 0xfd400000
    USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021b, 0x1d200000
    USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8240, 0x5d200000
    USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x7d100000

    Welcome to Discussions, proartpro
    You have encountered a "kernel panic".
    Start here for help resolving your kernel panic: http://www.thexlab.com/faqs/kernelpanics.html
    Don't be concerned that it refers to OS X 10.5. The suggestions also apply to your 10.6.x Mac.
    If you want more info, the following will give you as much as you want:
     • Another KP help site: http://www.index-site.com/kernelpanic.html
     • Apple's KP knowledge base article: http://support.apple.com/kb/HT1392
     • Apple's 10.6 help article: http://docs.info.apple.com/article.html?path=Mac/10.6/en/8965.html
     • In-depth KP info: http://developer.apple.com/mac/library/technotes/tn2002/tn2063.html
    EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.6); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.6)
    LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1

  • ERROR ORA-03113 that I don't understand

    When I try to change the code of a dynamic page, or even to create a synonym or any database object, portal30.wwv_builder procedure don't execute an a page with the message :
    Mon, 23 Apr 2001 10:15:59 GMT
    ORA-03113: fin de fichier sur canal de communication
    DAD name: portal30
    PROCEDURE : PORTAL30.wwv_builder.show
    URL : http://demo:80/pls/portal30/PORTAL30.wwv_builder.show?p_module_id=1802612552&p_version=1&p_section=1&p_save_version=1&p_mode=CREATE
    PARAMETERS :
    ============
    p_module_id:
    1802612552
    p_version:
    1
    p_section:
    1
    p_save_version:
    1
    p_mode:
    CREATE
    is displayed ???
    null

    jean-robert,
    The ORA-3113 error usually means that an internal Oracle Server error has occured on the server side and client process has been disconnected from the server, it should be some kind of ORA-600 error. When this happens a trace file is generated on the server side. Please try to locate the trace files in DB /admin/udump directory and alert.log file and please post the error numbers here.
    Thanks,
    Dmitry

  • HELP - Error message that I don't understand

    When trying to burn an iMovie project to DVD through IDVD I get this error message about 5 minutes in to the process every time:
    Error during rendering/encoding
    There was an error during rendering/encoding of the menu/slideshows. The burning process has been cancelled.
    I am a novice user & trying to make a DVD for all of my family back in the UK to send for Xmas - so URGENT now!!!
    Can anyone advise what I'm doing wrong?
    I have checked the disk tree and there aren't any errors showing up there as red crosses or black/yellow warning tape signs.
    The DVD set up is very basic - no menus or extras - just an iMovie project that I exported from iMovie OK. I have been able to do a version for iTunes so I just don't get why this won't work and the error message is super unhelpful.

    Hi JaneyHammond
    Welcome to apple discussions. There's an old saying, "The faster I go, the behinder I get". This may apply here because I can tell you from experience that One Step and Magic Dvd are not any faster at capturing / encoding video to dvd-r than creating a dvd via the traditional approach. I don't recommend One step or Magic as a beginner.
    Suggestion only: If you're a novice, then please create a typical iDvd project via Create an iDvd Project / apple's web site / iDvd tutorials (as opposed to a OneStep or Magic Dvd). Learn the basics first in order to make a standard dvd and then mess with the other approaches. Not the other way around.
    http://support.apple.com/kb/TA27570
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/6770.html
    http://support.apple.com/kb/HT1583?viewlocale=en_US
    http://support.apple.com/kb/TS2178
    http://www.apple.com/ilife/tutorials/#idvd-burn
    http://www.apple.com/ilife/tutorials/idvd/tutoriallist.html
    Hope this helps but if not just come on back.
    Message was edited by: SDMacuser

  • Error message that I don't understand

    hello guys
    I have these programs in C++ and in Java that interact;
    package Classes;
    import java.io.*;
    import java.lang.*;
    import java.awt.*;
    public class MyClass {
    public native int WriteMessage(int c);
    public void run(int mes){
    mes=0;
    WriteMessage(mes);
    public static void main(String[] args)throws IOException {
    int x;
    int y=0;
    String inputString = new String();
    char Car;
    MyClass m = new MyClass();
    System.out.println("give x");
    Car=(char)System.in.read();
    while(Car >= '0' && Car <= '9'){
    inputString = inputString + Car;
    Car = (char)System.in.read();
    x = Integer.parseInt(inputString);
    y=m.WriteMessage(x);
    System.out.println("new y:"+y);
    and the C++ program is:
    #include <jni.h>
    #include "MyClass.h"
    #include <iostream.h>
    JNIEXPORT jint JNICALL
    Java_MyClass_WriteMessage(JNIEnv *env, jobject obj, jint message){
    cout<<"new message:"<<message;
    message=message+10;
    return message;
    and it gives me this error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: MyClass (wrong name: Classes/MyClass)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    What must I understand and what can I do to make it work?
    I work on Solaris
    Thank u

    For starters, your program apparently doesn't call "loadLibrary" to load the shared library implementing your native method.

  • Netstat reveals connections that I don't understand

    I periodically run Netstat when my cable connections seems to slow. Recently I've been seeing a lot of connections marked "established" or "listen" that worry me. How can I find out what these are? Could they be accessing my computer? Security issue? Here's some of the most recent finds:
    eh-in-f191.googl.http ESTABLISHED
    eh-in-f191.googl.http ESTABLISHED
    204.2.145.27.http ESTABLISHED
    udp4 0 0 ip68-3-73-204.ph.ntp .

    These look like normal internet call to me, particularly those googl ones which I believe to belong to Google.
    You may be being a little paranoid there...........

  • Some problem that I don't understand

    I have the next program
    int i = 0;
    int j = 0;
    String[] pila = new String[10];
    String[] pila1 = new String[10];
    cadbase = prog2;
    dirmemo = prog3[i];
    do {
    if (cadbase.equals("MVI B")) {
    vpc ++;
    vciclos = vciclos + 7;
    j = i + 1;
    cadena2 = cadbase;
    regb.setText(" " + cadena2);
    regcy.setText(" 0");
    regp.setText(" 1");
    regac.setText(" 0");
    regz.setText(" 0");
    regs.setText(" 0");
    else if (cadbase.equals("INR B")) {
    vpc ++;
    vciclos = vciclos + 4;
    b = "00" + regb.getText().trim();
    cad = b;
    for(int k = 0; k < 65535; k++) {
    if(datos[k].equals(cad))
    vcad = k;
    vcad ++;
    cad = Integer.toHexString(vcad).toUpperCase();
    if (cad.length() == 1)
    cad = "0" + cad;
    regb.setText(" " + cad);
    regcy.setText(" 0");
    regp.setText(" 1");
    regac.setText(" 0");
    regz.setText(" 0");
    regs.setText(" 0");
    else (cadbase.equals("HLT")) {
    vpc ++;
    vciclos = vciclos + 5;
    regcy.setText(" 0");
    regp.setText(" 1");
    regac.setText(" 1");
    regz.setText(" 1");
    regs.setText(" 0");
    i = vpc ++;
    //Registro PC
    cadpc = enteros[vpc];
    regpc.setText(" " + cadpc);
    cadciclos = enteros[vciclos];
    regnciclos.setText(" " + cadciclos);
    } while (!(cadbase.equals("HLT")));
    When I compile it, compiler tell me that I miss a ";" after (cadbase.equals("HLT")), so someone can tell what's happen ????

    your block has syntax error...
    else (cadbase.equals("HLT")) {
    vpc ++;
    vciclos = vciclos + 5;
    regcy.setText(" 0");
    regp.setText(" 1");
    regac.setText(" 1");
    regz.setText(" 1");
    regs.setText(" 0");
    modify 1st line & it should work fine..
    else if (cadbase.equals("HLT")) {
    vpc ++;
    vciclos = vciclos + 5;
    regcy.setText(" 0");
    regp.setText(" 1");
    regac.setText(" 1");
    regz.setText(" 1");
    regs.setText(" 0");
    kamlesh

  • Pease help. White screen with a message on it that I don't understand!!

    When I turned my ipod on today i got a white screen that says connect to your computer...Use iTunes to restore. THen it just dies. PLease help...

    http://support.apple.com/kb/ht1212
    MacBook Pro, Mac OS X (10.8.2) 2.4GHz IntelCore i5 320 HD 8GB RAM ParallelsDesktop8.0 iPhone5_iOS6.0.2

  • How do you talk to anyone when you have a charge on your itunes account that I don't understand??

    How do I talk to some human that can tell me what a charge is for on my i tunes account.
    I find a $9.99 Pandora charge that I can not figure out what it is???????????

    You could simply type "Contact itunes support" into the google search bar.  This would give you the link to contact itunes support.
    Or you could just click the word Support at the top of this page, then click the link under Contact Apple Support.

Maybe you are looking for

  • How to change mount options on an install usb drive ?

    Situation: I did create an USB drive with three bootable partitions; - one bootable volume named "Install OS X Yosemite", created with the 'createinstallmedia' command - one bootable volume named "Install OS X Mavericks", created with the 'createinst

  • Report on Schedule Agreement

    Hi All, I have a requirement to understand the Schedule line wise level open qty, qty delivered, qty PGId & qty invoiced, something similar to a Sales order line item's document flow, i cant use VBFA or VBAP referring the SA line item as it is consid

  • Need plugin updates for InDesign CS2

    I purchased CS2 back in 2011. I use Photoshop, Acrobat and iIllustrator, but have never cracked open InDesign. And never had the need to upgrade to newer versions. (Semi retired) So someone sends me a file actually created in InDesign CS2 to edit and

  • Performance issue in obiee11.1.1.6.8

    Hi all, i have built  same Logical model  for sql server database and Oracle database.i have performance issue in sql server where as it not showing the filter in physical query(nqs query log) hitting the DB of SQL server( so its taking more time to

  • Contacts Crashing in Mountain Lion When Using Exchange

    My contacts (address book) application now crashes after the update to mountain lion.   Originally when I first upgraded it would not crash but I got a blank address book that was non functional.  I tried deleting the account and readding it now it c