Please help me understand this error

I am new to depolying applications with java webstart. When I try to download and run my application using web start I get this error:
An error occurred while launching/running the application.
Title: Brians Slide Show
Vendor: brianbjork.org
Category: Download Error
Found unsigned entry in resource: http://www.brianbjork.org/Apps/sSlideShow.jar
Here is the jnlp file:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for App Demo Application -->
<jnlp
spec="1.0+"
codebase="http://www.brianbjork.org"
href="Apps/briansStarter.jnlp">
<information>
<title>Brians Slide Show</title>
<vendor>brianbjork.org</vendor>
<homepage href="http://www.brianbjork.org"/>
<description>Brians Slide Show</description>
<description kind="short">Something to learn on</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4.0+"/>
<jar href="Apps/sSlideShow.jar"/>
</resources>
<application-desc main-class="Assn3"/>
</jnlp>

Hi,
Probably you have to sign the sSlideShow.jar.
java.sun.com/docs/books/tutorial/jar/sign/signing.html
Another way of resolving the problem, but this way you cannot access any the client computer, to save files for example, is to take out the <all-permissions/>!
Rgds,
Andre'

Similar Messages

  • CrashReporter - Could you please help to understand this crash report?

    Could you please help to understand this crash report below?
    If I'm not wrong it started after update the Mac OS X to version 10.5.6 - every startup.
    Note: First update by regular update then after by combo.
    Thanks in advance!
    _ CrashReporter
    Process: aslmanager [218]
    Path: /usr/sbin/aslmanager
    Identifier: aslmanager
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: launchd [1]
    Date/Time: 2009-04-05 08:29:52.069 -0300
    OS Version: Mac OS X 10.5.6 (9G55)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x0000000000200000
    Crashed Thread: 0
    Thread 0 Crashed:
    0 libSystem.B.dylib 0x952a8a85 asl_get64 + 11
    1 libSystem.B.dylib 0x952aa034 aslfile_fetchpos + 939
    2 libSystem.B.dylib 0x952aa2f6 aslfilematch + 339
    3 aslmanager 0x00002409 0x1000 + 5129
    4 aslmanager 0x00002b3e 0x1000 + 6974
    5 aslmanager 0x0000211a 0x1000 + 4378
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x001ffffc ebx: 0x952a9ca1 ecx: 0x00000000 edx: 0x00000000
    edi: 0x0000ff3d esi: 0x00100b30 ebp: 0xbffffbc8 esp: 0xbffffba0
    ss: 0x0000001f efl: 0x00010286 eip: 0x952a8a85 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00200000
    Binary Images:
    0x1000 - 0x2ffd +aslmanager ??? (???) <201b2dea48b8d80ac1432ff85244ed31> /usr/sbin/aslmanager
    0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
    0x9444a000 - 0x9444efff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x951a4000 - 0x951abfe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
    0x951ba000 - 0x95321ff3 libSystem.B.dylib ??? (???) <d68880dfb1f8becdbdac6928db1510fb> /usr/lib/libSystem.B.dylib
    0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
    _ Log
    05/04/09 8:25:58 com.apple.loginwindow[35] Shutdown NOW!
    05/04/09 8:25:58 com.apple.loginwindow[35] System shutdown time has arrived
    05/04/09 8:25:58 com.apple.SystemStarter[30] Stopping Missing Sync Listener
    05/04/09 8:25:58 com.apple.SystemStarter[30] Stopping HP Trap Monitor
    05/04/09 8:25:58 com.apple.SystemStarter[30] Stopping HP IO Monitor
    05/04/09 8:25:59 com.apple.SystemStarter[30] kextunload: unload kext /System/Library/Extensions/Pvsnet.kext succeeded
    05/04/09 8:25:59 com.apple.SystemStarter[30] kextunload: unload kext /System/Library/Extensions/ConnectUSB.kext succeeded
    05/04/09 8:26:02 com.apple.SystemStarter[30] kextunload: unload kext /System/Library/Extensions/vmmain.kext succeeded
    05/04/09 8:26:02 com.apple.SystemStarter[30] kextunload: unload kext /System/Library/Extensions/hypervisor.kext succeeded
    05/04/09 8:26:35 com.apple.launchctl.System[2] BootCacheControl: could not open /var/db/BootCache.playlist: No such file or directory
    05/04/09 8:26:35 com.apple.launchctl.System[2] BootCacheControl: could not unlink playlist /var/db/BootCache.playlist: Unknown error: -1
    05/04/09 8:26:37 com.apple.launchctl.System[2] launchctl: Please convert the following to launchd: /etc/mach_init.d/dashboardadvisoryd.plist
    05/04/09 8:26:37 com.apple.launchd[1] (com.apple.blued) Unknown key for boolean: EnableTransactions
    05/04/09 8:26:37 com.apple.launchd[1] (org.cups.cupsd) Unknown key: SHAuthorizationRight
    05/04/09 8:26:37 com.apple.launchd[1] (org.ntp.ntpd) Unknown key: SHAuthorizationRight
    05/04/09 8:26:49 org.ntp.ntpd[27] Error : nodename nor servname provided, or not known
    05/04/09 8:26:57 com.apple.SystemStarter[30] Starting up Missing Sync Listener
    05/04/09 8:26:57 com.apple.SystemStarter[30] Starting HP IO Monitor
    05/04/09 8:26:58 com.apple.SystemStarter[30] kextload: extension /System/Library/Extensions/hypervisor.kext is already loaded
    05/04/09 8:26:58 com.apple.SystemStarter[30] Starting HP Trap Monitor
    05/04/09 8:26:58 com.apple.SystemStarter[30] kextload: extension /System/Library/Extensions/vmmain.kext is already loaded
    05/04/09 8:26:59 com.apple.SystemStarter[30] kextload: extension /System/Library/Extensions/ConnectUSB.kext is already loaded
    05/04/09 8:27:00 com.apple.SystemStarter[30] kextload: extension /System/Library/Extensions/Pvsnet.kext is already loaded
    05/04/09 8:27:00 com.apple.SystemStarter[30] kextload: /Library/StartupItems/Parallels/Pvsvnic.kext loaded successfully
    05/04/09 8:27:06 com.apple.SystemStarter[30] Sun Apr 5 08:27:06 wslys-Mac.local Missing Sync Listener[77] <Warning>: 3891612: (CGSLookupServerRootPort) Untrusted apps are not allowed to connect to or launch Window Server before login.
    05/04/09 8:27:06 com.apple.SystemStarter[30] Sun Apr 5 08:27:06 wslys-Mac.local Missing Sync Listener[77] <Error>: kCGErrorRangeCheck : On-demand launch of the Window Server is allowed for root user only.
    05/04/09 8:27:06 com.apple.SystemStarter[30] Sun Apr 5 08:27:06 wslys-Mac.local Missing Sync Listener[77] <Error>: kCGErrorRangeCheck : Set a breakpoint at CGErrorBreakpoint() to catch errors as they are returned
    05/04/09 8:27:08 com.apple.SystemStarter[30] _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
    05/04/09 8:27:20 com.apple.launchd[1] (com.apple.UserEventAgent-LoginWindow[123]) Exited: Terminated
    05/04/09 8:27:20 com.apple.launchctl.Aqua[129] launchctl: Please convert the following to launchd: /etc/machinit_peruser.d/RemoteUI.plist
    05/04/09 8:27:20 com.apple.launchd[116] (com.apple.AirPortBaseStationAgent) Unknown key for boolean: EnableTransactions
    05/04/09 8:27:21 com.apple.FolderActions.enabled[130] launchctl: Error unloading: com.apple.FolderActions.folders
    05/04/09 8:27:42 quicklookd[146] [QL ERROR] 'Creating thumbnail' timed out for '<QLThumbnailRequest /Users/wsly/Downloads/m090374535329zdwg_650ref.mov>'
    05/04/09 8:27:42 Dock[138] [QL ERROR] quicklookd crashed while thumbnailing /Users/wsly/Downloads/m090374535329zdwg_hdref.mov
    05/04/09 8:29:52 com.apple.launchd[1] (com.apple.aslmanager[218]) Exited abnormally: Segmentation fault

    Try repairing the disk through the Mac OS X install disk.

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    itunes could not connect to the iphone an unknown error occurred 0xE8000003 please help me with this error any one have idea ?

    http://support.apple.com/kb/ts3221

  • IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error

    IOS 7 very slow, i have many problem , exemple  download documents , typing doc to go .   Very slow, sometime no response , please help us for this error,

    spacepilot wrote:
    i live in the WS10 / 0121 area and have been having similar problems. i have an up to 20mb services, but up to a month ago connected at 4800, then my line went dead for 6 days, and all indis could do was send me  new router, which came the day after my line was restored, but had dropped to 2418 and remained so for the past 3 to 4 weeks, then i dropped to 1963 yesterday, and 729 today.
    all speeds are far lower on my upto 20mb than they where on my upto 8mb link.
    foegot to add, i reported the problem via the report a problem link, which hopefully will be red by someone with  a firmer grasp of english that the normal call centre staff
    welcome to the forum    why don't you start your own subject and post the adsl stats from your router and also run btspeedtester and post the results and someone may be able to offer assistance
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Hello Technical Experts... please help me on this error :- 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.

    In my A/P credit memo screen i have incorporated a column for adding reference to closed A/P Invoices. upon filling this field with DocNum of APInvoice certain other fields also get filled from an SQL query. One among them is the TaxCode. My problem is that the TaxAmount(LC) field at the last row of the matrix is not filled with the appropriate value, it remains 0. On trying to add the document or pressing the link button on the TaxAmount field a status bar error message pops up showing, 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.
    Please Help me solve this issue.
    Thanks in Advance
    Rajeev

    Hi,
    Please check SAP note:
    1860926 - When updating a Purchase Order via DI API "-12109 Tax data
    is missing..." Error occurs
    Thanks & Regards,
    Nagarajan

  • Please help me in this error

    Hi all,
    I am new to solaris platform. I am using List template in my program. I wrote a makefile to compile this program. While compiling it is giving the following errors. I am struggling with this error for the past 3 days.
    errors
    "/opt/SUNWspro/SC5.0/include/CC/Cstd/rw/rwdispatch.h", line 63: Error: RWis_integral_type(int) already had a body defined.
    "/opt/SUNWspro/SC5.0/include/CC/Cstd/rw/rwdispatch.h", line 121: Error: Multiple declaration for _RWdispatch<int>.
    Anybody please help me in this regard. I will be thankful to you.
    My platform Forte Developer 6 update 2.
    Thanks
    venkat

    Get the latest patches for the compiler and see if that fixes the problem.
    http://developers.sun.com/prodtech/cc/downloads/patches/

  • Please help me with this error I keep getting for attachments

    please help me with my error message as I can't download attachments

    Some information would be helpful...  operating system, email client, Reader version, error message, ...

  • Can someone please help me understand this

    I am a new poster here and was hoping someone might be able to help me...
    I am writing a program that is supposed to generate a non applet (IE text) version of a 4-way intersection....however i have run into a problem that i simply cannot see a solution....please tell me why this code does not do what it is supposed to:
    in i meant to call the car arrives method which is supposed to enqueue based on some randomly determined parameters, known as direction and bound....it is supposed to loop through and do that for every car created.. what i think is happnening is that everything is getting overwritten rather than enqueued...what i dont understand is why...the reason i believe that nothing is enqueuing is because later in the code i attempt to dequeue these queues and and set a paramter and i get a null pointer exception
    PLEASE NOTE I RECIEVED THESE ERRORS BEFORE INSTANTIATING THE VEHICLE CURRENT CAR AS NULL...perhaps it is an instantiation problem but i cannot tell...please help me out as I have worked on this forthe last few days and am desparate for an answer
    Vehicle CurrentCar = null;
         do
              //this ensures that the number of vehicles generated is within the spec guidelines
              if (j == 1)//might need to be changed
                   numCars = generator.nextInt(7) + 4;
              else if ((j%2) == 0)
                   numCars = generator.nextInt(6) + 10;
              else if ((j>1)&&( (j%2) !=0))
                   numCars = generator.nextInt(4) + 10;
              totalCars += numCars;
              System.out.println("j is " + j);
              System.out.println( numCars);
              System.out.println(totalCars);
              //this ensures the number of vehicles never goes over 100
                   if (totalCars>100)
                        int subCars = (totalCars - 100); //ensures that car total never goes above 100
                        numCars = numCars - subCars;
                   //calls the MakeMeaCar method which contains the vehicle constructor
                   for (int k=1;k <= numCars; k++)
                   CurrentCar = MakeMeACar(count);
                   count ++;
                   Street.CarArrives(CurrentCar);
                   CurrentCar.toString();
    HERE IS THE CAR ARRIVES METHOD
    public static void CarArrives (Vehicle CurrentCar)
    //These if-else statements evaluate the enum parameters from the vehicle class and assigns them to a queue based on those parameters
    if (CurrentCar.getDirection() == Directenum.s)
         if ((CurrentCar.getBound() == Boundenum.nB) || (CurrentCar.getBound() == Boundenum.wB))
              lfstrChurchNorthbound.enqueue(CurrentCar);
         else if (CurrentCar.getBound() == Boundenum.eB)
              rChurchNorthbound.enqueue(CurrentCar);
    else if (CurrentCar.getDirection() == Directenum.n)
         if ((CurrentCar.getBound() == Boundenum.sB) || (CurrentCar.getBound() == Boundenum.eB))
              lfstrChurchSouthbound.enqueue(CurrentCar);
         else if (CurrentCar.getBound() == Boundenum.wB)
              rChurchSouthbound.enqueue(CurrentCar);
    else if (CurrentCar.getDirection() == Directenum.e)
         if ((CurrentCar.getBound() == Boundenum.wB) || (CurrentCar.getBound() == Boundenum.sB))
              lfstrMainEastbound.enqueue(CurrentCar);
         else if (CurrentCar.getBound() == Boundenum.nB)
              rMainEastbound.enqueue(CurrentCar);
    else if (CurrentCar.getDirection() == Directenum.w)
         if ((CurrentCar.getBound() == Boundenum.eB) || (CurrentCar.getBound() == Boundenum.nB))
              lfstrMainWestbound.enqueue(CurrentCar);
         else if (CurrentCar.getBound() == Boundenum.sB)
              rMainWestbound.enqueue(CurrentCar);
    if you need more code to help please let me know...i would post it all but it about 8 pages or more total (inlcuding the various classes)
    thanks
    I appreciate all help given

    ok running it through a debugger DID NOT HELP at all, please somebody help me, im very desparate now. i have spent 15 hours on this problem alone. i see absolutley nothing wrong with my code and have tried about 10 doifferent ways of trying this.,....i cannot get it to work, somebody please help me, ...in addition i was hoping someone could clear up an issue i have with enums...i do not understand how i can access the variable of the enum, the only access to it my text book provides is how to acess the string associated with enums....but i need to access the variable itself...how would i design such a get method....ive tried that a bunch of different ways as well, and right now im so lost that i want to cry, somebody please help, im begging on my knees...i really need someone to explain this to me....

  • Can someone please help me understand this? About Apple Repairs

    Hello everyone,
    I bought my macbook in Nov. 2009 in USA. I just moved to India and I've noticed the rubber base coming off and the infamous apple hairline crack. When I first took it to the India center, they kept insisting I had to pay for repair, I have a 1 year limited warranty.
    Upon my insisting that they check with Apple USA first, they decided to call them and then asked me to send them pictures. I've sent the pictures, my repairs have been approved.
    Now they tell me that I need to bring in the laptop and they need to run some software test for the crack, then they will submit this test and get the screen in about 4-5 days and then return the mac to me.
    I need to understand this from people that have gone through this sort of repair. Why do they need to do a software test for a hardware issue?
    Even if they have to do this software test, why can't they wait till the screen arrives (as this is the only way they claim to fix the crack) and then do the test all at once in one single day, rather than making me run back and forth with my macbook?
    I also requested for them to forward Apple's response to me, they refused and said its internal.
    I would really appreciate it if someone can please explain this to me, as the logic is just not making sense in my head. Maybe this is the way they do repairs and I'm not aware of them.. don't know..
    Thanks everyone!!

    ok running it through a debugger DID NOT HELP at all, please somebody help me, im very desparate now. i have spent 15 hours on this problem alone. i see absolutley nothing wrong with my code and have tried about 10 doifferent ways of trying this.,....i cannot get it to work, somebody please help me, ...in addition i was hoping someone could clear up an issue i have with enums...i do not understand how i can access the variable of the enum, the only access to it my text book provides is how to acess the string associated with enums....but i need to access the variable itself...how would i design such a get method....ive tried that a bunch of different ways as well, and right now im so lost that i want to cry, somebody please help, im begging on my knees...i really need someone to explain this to me....

  • Please help me with this error message on my lost Crashed Thread:  1  Dispatch queue: NSOperationQueue Serial Queue  Exception Type:  EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000

    I was organizing my contatcs when suddenly it disappeared and got this error message.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter the name of the crashed application or process. For example, if iTunes crashed, you would enter "iTunes" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    ☞ The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ User Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of crash reports. The name of each report starts with the name of the process, and ends with ".crash". Select the most recent report related to the process in question. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • Please Help Me with this error

    It only works if the button is presses once. if you try to add other data to be shown under the first data that you inputted. the program crash and gives and error  
    This is my code for the Class:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace WpfApplication3
        class Person
            private Queue<string> Name = new Queue<string>();
            private Queue<string> Surname = new Queue<string>();
            private Queue<string> Course = new Queue<string>();
            private Queue<int> CRNumber = new Queue<int>();
            public string name
                get
                    return Name.Peek();
                set
                    Name.Enqueue(value);
            public string surname
                get
                    return Surname.Peek();
                set
                    Surname.Enqueue(value);
            public string course
                get
                    return Course.Peek();
                set
                    Course.Enqueue(value);
            public int crnumber
                get
                    return CRNumber.Peek();
                set
                    CRNumber.Enqueue(value);
            public void Constructor()
                Name.Enqueue("default");
                Surname.Enqueue("default");
                Course.Enqueue("default");
                CRNumber.Enqueue(0);
            public void Constructor(string name, string surname, string course, int crnumber)
                Name.Enqueue(name);
                Surname.Enqueue(surname);
                Course.Enqueue(course);
                CRNumber.Enqueue(crnumber);
            public String View(int Count)
                int i = 0;
                string Output = "";
                while (i <= Count)
                    Output += "Student Info : " + "\n" + "Name : " + Name.Dequeue() + "\n" + "Surname : " + Surname.Dequeue() + "\n"
    + "Course : " + Course.Dequeue() + "\n" + "Class room number : " + Convert.ToString(CRNumber.Dequeue()) + "\n";
                    i++;
                return Output;
    And this is my MainWindow code where i try to call the class:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    namespace WpfApplication3
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
            public MainWindow()
                InitializeComponent();
            int Count = 0;
            private void AddButton_Click(object sender, RoutedEventArgs e)
                Person Student = new Person();
                Student.Constructor(txtBox1.Text, txtBox2.Text, txtBox3.Text, Convert.ToInt32(txtBox4.Text));
                TextBlock1.Text = Student.View(Count);
                //TextBlock.Text = Student.View(Count);
                Count++;
    Please Help as soon as possible.

    Hi Joubert,
    The problem is clear. In this piece of code:
    while (i <= Count)
    Output += "Student Info : " + "\n" + "Name : " + Name.Dequeue() + "\n" + "Surname : " + Surname.Dequeue() + "\n" + "Course : " + Course.Dequeue() + "\n" + "Class room number : " + Convert.ToString(CRNumber.Dequeue()) + "\n";
    i++;
    You are calling the Dequeue() operation from the queues. Dequeue() will remove the next element and return it.
    When you click the button the second time, the while loop will be carried out two times. The second time, it tries to dequeue but there is nothing in the queue. That is why you get the exception.
    Also, your code looks very messy to me. I do not think the queues are appropriate collections for what you are trying to do. There are a couple of things wrong here.
    If you provide some info on what your goals is, I could give you some pointers on what to fix.
    Rgds MM
    PS: Pls mark as answer if helpful. Thanks!

  • HT2521 A pop up window in my safari is not closing. Even after several clicks on OK it keeps popping up. And the open window is not allowing me to use the Safari nor is it allowing to restart/Shutdown the Mac. Please help me rectify this error.

    A pop up window on my Safari does not close even after several clicks on OK... this window keeps popping up and is not allowing using the safari nor is it alowing to close the browser. The open Safari is also not allowing to restart or shutdown the notebook. Please help me rectify the problem.

    Force Quit .
    Press command + option + esc keys together at the same time.    Wait.
    When Force Quit window appears, select  Safari, if not already.
    Press Force Quit button at the bottom of the window.      Wait.
    Application will quit.
    If this does not help, press the power button for 7 or more seconds.
    Computer will shut down.
    Restart.
    Hold the shift key down and launch Safari.
    Best.

  • Please help me with this error i see when i open firefox on my android phone after installation !

    after i install any version of firefox on my htc chacha (android 2.3),when i open firefox,in some versions of firefox i get this error: "the application firefox (process org.mozilla.firefox) has stopped unexpectedly.please try again."
    and when i try again i get the same error again and again
    in some other versions i get this error: " this device does not meet the minimum system requirements for firefox"
    btw i can not install any program from android market so i have to download files through my pc and install them on my phone

    The reason why your phone will not install Firefox from Market is because it has a older ARMv6 cpu when ARMv7 is required.
    The good news is that Mozilla is looking to try and have ARMv6 builds of mobile Firefox releases in future. Your phone looks to have reasonable specs to run it then.
    Another option is to try the third-party builds from http://forum.xda-developers.com/showthread.php?p=25855563

  • Please help to fix this error

    hi friends,
    I am new to J2ME, i have cofigured eclipseME with J2ME wireless Toolkit when i debug an alert shows Error exist in required projects continue launch if we select yes then the emulator pops up and disappear and then another message box alerts as couldn't connect to virtual machine and goes and the below mentioned message is displayed on the console output.
    Warning: Running JAM, Ignoring all other options (but "-Xheapsize", and OTA flags if provided)
    Running with storage root MediaControlSkin
    ** Error installing suite (36): Corrupt JAR, error while reading: com/TestMidlet.class
    Execution completed.
    192983 bytecodes executed
    4 thread switches
    738 classes in the system (including system classes)
    1182 dynamic objects allocated (51152 bytes)
    1 garbage collections (0 bytes collected)
    Please help me .
    Thanks in advance

    hi friends,
    I am new to J2ME, i have cofigured eclipseME with
    J2ME wireless Toolkit when i debug an alert shows
    Error exist in required projects continue
    launch if we select yes then the emulator pops
    up and disappear and then another message box alerts
    as couldn't connect to virtual machine and
    goes and the below mentioned message is displayed on
    the console output.dear frien dif error exists how can u launch it
    just go show view--> problems in ecplise menu
    and c what's the problem

Maybe you are looking for

  • I got An Error While Executing the Program below

    code import java.sql.*; import javax.sql.*; class JdbcJsp5 public static void main(String args[])throws Exception      Connection con=null;      PreparedStatement pstselect=null;      ResultSet rs=null;      try      Class.forName("sun.jdbc.odbc.Jdbc

  • IPhoto 9.4.3-keyword "" not working correctly in smart albums

    Every May I work on the 5th Grade recognition slideshow (using Keynote) for our 5th grade students.  In iPhoto, I always give photos the checkmark keyword after I've placed that photo so that I know it's been added/used.  I have many smart photo albu

  • To send a mail for failed login attempts,.

    We have to implement the mailing system in linux.,to send the mail regarding failed login attempts and ip address of user who attempted the failed login.,any one have the idea on this? Regards., Vaaru

  • Digital Signature Edit/Add

    Hi, I am using Adobe Acrobat Pro 09 and I have been sent a form that needs to be signed digitally and the form came with a blank signature field for me to add my digital signature to. But, when I click the blank field, nothing happens. The field grey

  • IPod as file storage?

    I've done it before, but it's been a while... how do you use your iPod as file storage? Say I want to use my iPod as backup storage for my picture files or some word documents, how do I go about doing that?