Compile error in drop out stack program

I have a compile error "Cannot find symbol" Symbol: constructor Node(E, dropOutStack.Node<E> on line 20
line 20 : topStackRef = new Node<E>(obj, topStackRef);
import java.util.*;
          public class dropOutStack<E>  {
             private Node<E> topStackRef = null; //reference to first stack node
       //Node class     
          class Node<E> {
                private E data; //data value
          private Node<E> next = null; //link to next node
          private Node<E> prev = null; //link to previous node
          private Node(E dataItem) {
               data = dataItem;
             public E push(E obj) {
                    topStackRef = new Node<E>(obj, topStackRef);
               return obj;
           public E pop() {
                     if (empty()) {
                    throw new EmptyStackException();
               else {
                    E result = toStackRef.data;
                    topStackRef = topStackRef.next;
                    return result;;
           public E peek() {
                     if (empty()) {
                    throw new EmptyStackException();
               else {
                    return topStackRef.data;
           public boolean empty() {
                     return topStackRef == null;
           public static void main(String [] args) {
           Node<String> itemStack = new Node<String>();
           String[] items = {"Item1", "Item2", "Item3", "Item4", "Item5"};
           for (int i = 0; i < 5; i++) {
                int itemNumber = nextInt(i);
               itemStack.push(items[itemNumber]);     
           System.out.println(itemStack);
       

Anyways. I need help with the logic. As far as I
know, DropOut stacks cannot return something that has
been poped or removed. if the operation (performed n
times) is n+1 times.No empty stack can be popped, if that's what you're saying.
If you examine your assignment, it describes special behavior for drop-out stacks during the push method. It says that stacks are made with a given size, and that when the stack is full, subsequent pushes cause the least-recently-pushed element to drop out.
Your code doesn't do that. It does some futzing during pop whose purpose is unclear to me.

Similar Messages

  • Logic Pro audio error 10011 (drop out)

    I bought a new mac mini yesterday that meets all requirements for Logic. I bought it to run Logic as a dedicated machine linked to a keyboard. Apart from the basic software that came with it, Logic is the only software installed on it. Installed it after I did all the updates. Aiport & bluetooth is now turned off, and I don't have it hooked up to a network.
    Brand new, 10.6 factory fresh system, 2gbs ram and 91 GB of pure virgin hard drive space. Doesn't get much cleaner than that.
    And it wont run the demo songs without the audio error..... and these are their demos!!! I really doubt they would choose demo songs that are too complex to play, so why the errors?
    I tried running through the demos and re-running them. This did help, but one demo is still bawking half way through.
    This just does not make sense to me. Is there something I'm missing? I am new to Logic Pro, moving up from garageband. Not sure if this:
    'System Overload.The audio engine was not
    able to process all required data in time.
    (-10011)'
    is this what many here refer to as ' dropping out'?
    Help!!!!
    (ignore Model and machine listed below -different machine)

    Hi,
    Thanks for your replies. I did move demos to the Hard drive (found out that the hard way!)
    The thing is the mini is to be used exclusively for music, and is hooked up to a pro88 midi keyboard. 90% of the time it will be used for Mainstage, with some editing in Logic.
    It sure does a fine job with GarageBand - no issues there.
    My main machine is a MacPro, and I have three other (older) iMacs. So I really didn't want to spend more than I have to. As the Mac will be only used for music and nothing else (not even internet etc.) I was hoping that it would be up to the task of running Logic, as it does meet the needed specs.
    My worry is that moving up to a iMac (which would almost double my investment to $1300) might not necessarily do much. I am not willing to dedicate a big machine like a MacPro to the task -way too expensive for my budget.
    So.... being new to Logic, is there a chance settings are the culprit. Is current practice to work on a few tracks, and freeze them, then continue to add new tracks? Or is it more common to leave everything un-frozen when working on stuff?
    Options I am aware of are:
    •Freeze tracks
    •Buffer size set to 1028
    anything else?
    If the mini is not fully up to the task, would the low end iMac really be any better? or will it to be not up to the task either, in which case there is no point shelling out more. From what I have read, the even the biggest machines stumble from time to time.
    Thanks again for your input, I do value it!

  • Flash Player Drops Out Internet Connection of Other Programs

    I'm having terrible problems with Flash Player X.  Everytime I connect to streaming video using Flash Player, the movie plays OK for about ten minutes then Flash Player doesn't allow me to connect to the internet with other programs of other windows and drops out any programs already connected.  I can either surf the internet or watch a movie but not both.  I've tried re-installing the software, done every configuration of my system and firewall that I know how but still can't get rid of this problem.  I've tried all the suggests in other threads but to still no avail.  I could use some help on this issue.

    No, Verizon doesn't automatically share your wifi connection with strangers.  The cable company that serves Long Island is now doing what you described.  They have guest wifi automatically enabled on their latest routers but FiOS does no such thing. If you would like to try to get some help with your varying speeds from fellow users here, start another thread and provide more details.  Include what part of the country you're in; if you're measuring your speeds via a hardwire (Ethernet) connection or wifi; and what model router you have. I can tell you that with the rare exception of a few hours outage we had a few days ago, I consistenly get over 80 mb/s up and down on my 75/75 plan.  That's the way FiOS should work and does for me. BTW, you should be able to go to the setup pages for your router in your  router and see what devices are connected to your local network.  Sign in at 192.168.1.1 on on the home page you'll see "My Network" where all devices connected will be shown.  

  • Effiency in dropout stack program

    Does anyone think this code is efficient?
    Thanks
    import java.util.*;
      public class dropOutStack<E> {     
         //stack size limit      
          public final int stackLimit = 5;
          private static class LinkStack <E>  {
                 private E data;
                  private LinkStack<E> next = null;
              private LinkStack<E> prev = null;
                  private LinkStack(E dataItem) {
                     data = dataItem;  ;
               // Stack Items
                     LinkStack<String> item1 = new LinkStack<String>("Red");
               LinkStack<String> item2 = new LinkStack<String> ("Yellow");
               LinkStack<String> item3 = new LinkStack<String>("Green");
               LinkStack<String> item4 = new LinkStack<String>("Blue");
               LinkStack<String> item5 = new LinkStack<String>("Orange");
                  LinkStack<String> item6 = new LinkStack<String>("Silver");
         public void print() {
              //links
               item1.next = item2;
               item1.prev = null;
               item2.next = item3;
               item2.prev = item1;
               item3.next = item4;
               item3.prev = item2;
               item4.next = item5;
               item4.prev = item3;
               item5.next = null;
               item5.prev = item4;
               LinkStack<String> obj = item1;
               LinkStack<String> empty = null;
               while (obj != empty) {
                         System.out.print(obj.data + " ");
                   obj = obj.next;     
           public void  push() {
              LinkStack<String> newitem2 = item1;
              LinkStack<String> newitem3 = item2;
              LinkStack<String> newitem4 = item3;
              LinkStack<String> newitem5 = item4;
                   item2 = newitem2;
              item3 = newitem3;
              item4 = newitem4;
              item5 = newitem5;
              item1.next = item1.next.next;
              item1 = item6;
         //Test method   
          public static void main(String [] args) {
               dropOutStack<String> itemStack = new dropOutStack<String>();
               itemStack.print();
               //push Silver onto the LinkStack
                 itemStack.push();
               System.out.println("\nStack after drop out: ");
               itemStack.print();
    }

    No, because:
    1) you can't change the size of the stack without changing the code
    2) when you push something, you reassign a whole bunch of variables to each other unnecessarily
    3) You're hardcoding the contents of the stack into the program (write an external test class instead, or put the test code into the main method, preferably the former)
    4) There is no pop, and you're popping stuff (?) in print(). Shouldn't print have no side effects? Have you combined pop and print for some reason?
    5) Push doesn't take an argument, so it's not really a push method. And it seems to eliminate item one while also rotating item 6 to the beginning, maybe?
    6) No constructor? The only place where you actually create the linking of the linked list, is in your print method?
    Look: the advantage of linked lists is that things like inserting at the beginning or end can take constant time (you only have to futz with a single element or maybe two elements for a drop-out stack). That's why they're ideal for things like stacks.
    So you shouldn't have any methods that touch every single item in the stack. If you want to do that you're on the wrong track.
    Here's a hint: the DropOutStack class should have 4 fields:
    1) the maximum size of the stack (as given in the constructor)
    2) the current size
    3) a reference to the first element (where you drop things from)
    4) a reference to the last element (where you push/pop things to)
    In addition you'll need a constructor that takes a maximum size, a pop method that takes no argument and returns a value, a push method that takes a value and returns nothing, an isEmpty method that takes no argument and returns a boolean, and possibly a size method that takes no argument and returns an int (the current size). Optionally you can have a print method that takes no argument, returns nothing, but prints the contents of the stack to standard output as a side-effect.
    Look in your textbook if you don't understand any of this.
    Write a skeleton class that has that stuff but has empty method bodies. Then fill in the method bodies. It may be easier to understand that way.

  • Weblogic 9 and JSP compiler errors

    Hello everyone,
              I am having problems with my Jsps in my EAR file deployed on WL 9.0.
              I have a Jsp called upms.jsp that contains the following code snippets:
              After my import statements, I have some code that creates a resource bundle that accesses a properties file:
               <%!
                   ResourceBundle bundle = null;
                   public void jspInit() {
                   bundle = ResourceBundle.getBundle("conf.properties");
              %>
              I get an error from the above code:
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
                        import="java.util.ResourceBundle"
              ^----------------------^
              I am totally clueless as to what that error means.
              Next I declare a bean I use in the jsp:          
                   <jsp:useBean
                        id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
                   scope="session">
                   </jsp:useBean>
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              I get these errors from the above portion:
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Has anyone encountered these before?
              This jsp worked perfectly well when I deployed my EAR file on JBoss...no such luck using Weblogic.
              Is there something I am missing here? I appreciate any help.
              Cheers, :-)
              M.

    Mildred,
              Two suggestions:
              1) use option weblogic.jspc's "-keepgenerated", you can keep the generated
              servlet's source code.
              Please paste it here.
              2) Can you create a simple reproducer(e.g. a war), and put it here, so that
              we can debug it and give more clues.
              To reproduce your issue, I write a simple a simple
              UserPreferencesManagerBean classs below :
              package controllers.beans;
              public class UserPreferencesManagerBean {
              private int p1;
              public void setP1(int p)
              p1 = p;
              public int getP1()
              return p1;
              But it works(oh, I run it under 910MP1).
              We cannot tell too much without your further information
              Thanks
              Leon
              <Mildred A> wrote in message news:[email protected]...
              I am still fighting with this issue.. Dang!
              I don't know what to change in my JSP because the WL JSP compiler errors are
              so out there..
              Here is the first portion of the JSP file:
              <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
              session="true"
              pageEncoding="ISO-8859-1"
              import="java.util.ArrayList"
              import="java.util.HashSet"
              import="java.util.Date"
              import="java.util.Collections"
              import="java.util.ResourceBundle"
              %>
              <%!
              ResourceBundle bundle = null;
              public void jspInit() {
              bundle = ResourceBundle.getBundle("conf.properties");
              %>
              <jsp:useBean
              id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
              scope="session">
              </jsp:useBean>
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              Below is the error I get from this section alone (after precompiling):
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
              import="java.util.ArrayList"
              ^-----------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found 'catch' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found '__ee' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ; (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected } (found 'EOF' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Can anyone see what I am doing wrong here? ?:| ?:|
              Cheers,
              M

  • Compile Errors to File?

    On Windows 98 using javac, how do I get the compile errors to go to a file? javac x.java >x.txt doesn't do it. The compile errors still come out in the command window and the only ones that are important are scrolled off the top. javac x.java 2>x.txt gets a gripe from javac complaining about the unknown "2". "help" doesn't help, either.
    Thanks.
    Grant

    http://forums.java.sun.com/thread.jsp?forum=54&thread=100037
    http://forums.java.sun.com/thread.jsp?forum=17&thread=28000

  • Compilation errors when using Client program

    Hi all,
    I face a problem when compiling the client.
    Compilation errors:
    "Not able to resolve symbols HelloHome, Hello"
    At this line: HelloHome home = (HelloHome)ctx.lookup("HelloHome")
    I have cut and paste the client program below:
    Please look into it.
    Thanks
    Ranjan
    //Client for HelloBean
    import java.rmi.*;
    import javax.naming.*;
    import java.util.*;
    public class HelloClient {
    public static void main(String args[]) {
    try
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,"t3://localhost:7001");
    InitialContext ctx = null;
    ctx = new InitialContext(ht);
    HelloHome home = (HelloHome)ctx.lookup("HelloHome");
    Hello hel = home.create();
    String retval = hel.sayHello("Ranjan");
    System.out.println("Returned: " + retval);
    hel.remove();
    catch (RemoteException e)
    System.out.println("RemoteException occured: " + e);
    catch (javax.ejb.CreateException e)
    System.out.println("Create Exception occured: " + e);
    catch (javax.ejb.RemoveException e)
    System.out.println("Remove Exception occured: " + e);
    catch(javax.naming.NamingException e)
    System.out.println("Naming Exception occured: " + e);
    **************************

    Hi,
    Yes the Hello and HelloHome classes are present in the same directory as the HelloClient.class
    Regards
    Ranjan

  • FPGA Compile error - Actual of formal out port cout cannot be an expression

    Details:
    ERROR:HDLCompiler:192 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd" Line 1408: Actual of formal out port cout cannot be an expression
    ERROR:HDLCompiler:854 - "C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd" Line 69: Unit <vhdl_labview> ignored due to previous errors.
    VHDL file C:\NIFPGA\jobs\BPO5kq2_O6tyN2U\OC4_Sine_Cosine_LUT_Constant_Amplitude_dash_optimised_vi_c.vhd ignored due to errors
    -->
    The compilation gets to the "Estimated device utilisation" stage but then stops shortly after with a compilation error.
    The Line in question (1408) relates to the output of a "Reinterpret FXP" node with the text
    cOut => (others => '0'),
    in the port map portion of the code.  This corresponds to the output of the FXP reinterpret node being directly connected to an indicator in a sub VI whose output is then input directly to a high thoughput multiply node.  The code is part of a sinus cosinus LUT I have programmed.  It used to compile no problem but I think I know where the problem is.  In one instance I only utilise the Sinus output of the algorithm and theoretically, Xilinx can optimise away the Cosinus part.  I have two instances of this VI in my code and looking at the one NOT generating errors, the output is associated with a Cosinus indicator.
    cOut => s_Cosine_2434,
    It would seem that the pathway is essentially optimised away but the Xilinx compiler has a problem with the indicator being present on the sub-VI but the idnicator not being utilised anywhere.  As such, the cOut gets set to an invalid value.  I assume the immediate proximity of the FXP Reinterpret to the output of the sub-VI is an important aspect of this problem.
    I think I know enough now to fix this problem (manually remove the path by duplicating the sub-vi) but this is perhaps a useful feedback for future bugfixes in the FPGA module.  This isn't the first time this kind of incorrect code removal has given me problems but it's the first time I've been able to clearly locate the problem.
    Shane
    Say hello to my little friend.
    RFC 2323 FHE-Compliant
    Solved!
    Go to Solution.

    I am currently attempting a compile after changing some things.
    Just a side question.  Is this particular to the Reinterpret node or are other "pink nodes" also affected by this?  If I don't connect the output of a high throughput add, will it result in the same behaviour?
    PS OK, it seems to be compiling now.  I managed to juggle around the nodes a bit in my sub-VI to make sure the "reinterpret" is not the last node before the indicator.  It seems to be compiling now.  A question which is in my head at this time is: Does the "reinterpret" node prevent anything before it from being optimised away by the Xilinx compiler?  Are there other nodes which cannot be removed, even if the outputs are not being used?  This would immediately seem to suggest to me that such nodes need to be as close to the source as possible in order to reduce the amount of code which cannot be removed as "dead code" during the Xilinx compile process.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • Compiler error, unexpected conversion in my cRIO program

    Hello,
    When I open, or try to run a vi I get this message about 8-9 times,
    Compiler error. Report this problem to National Instruments Tech Support. 
    Unexpected conversion. src type=112, dst type=7
    This program is meant to be used on a cRIO system in Real time.
    I am using Windows 7, Labview 2011. 
    This is a rather complex vi, and not yet finished, but here it is along with an image of the error message. 
    I think that the destination type is an unsigned long integer, while I am not sure about the source type. I have tried to find the instances that tries to convert a data type to an unsigned long integer. I may have missed a few, or I may be chasing my tail.
    Thank you!
    Attachments:
    Control Front end.vi ‏519 KB
    error_20120114.PNG ‏27 KB

    Hello Joe,
    I get this message right when I open the vi, or whenever I compile this vi. This vi calls a vi on the FPGA which is onboard the chassis.
    The hardware that I am using is:
      cRIO-9022 (cRIO)
      cRIO-9114 (chassis)
      NI 9401 (DIO module)
      NI 9205 (Analog Module)
    The arrow is broken, but only says that the vi failed to compile. This does not point me to anything.
    I have gone through each part of the code to try to find the culprit. It seems that in my FPGA call (read/write control) I select which channel on the modules to either ouput or read with my FPGA. If I take this portion out of my code, then the error stops and I can run my vi. I've since modified the FPGA code to handle this differently, but I feel like this is not the correct solution, just ignoring the problem. 
    So my question is: Is it possible to select a FPGA I/O channel from the cRIO vi? If I try, I get an error indicating that I have incompatible type wired up. Although I have copy and pasted directly the channels from my FPGA vi to my vi on the cRIO.
    Thank you!
    Samuel

  • Iphoto keeps dropping out. Sometimes other programs do too such as Software Update. They other programs seem to drop randomly but iPhoto drops out constantly. Is there a solution?

    iPhoto constantly keeps dropping out. Other programs do at times but iPhoto drops out constantly. Does anyone know what causes this?

    Apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • HT4623 I am trying to update my i-phone 4 with IOS 7.1.1 it has twice got 400mB in to the 1.3GB update and then dropped out with an "error has occured" message.....any ideas?

    I-phone 4........I am being auto-prompted to update my IOS from 7.1 to 7.1.1. Each time I try to do that on i-tunes it gets to about 400Mb of the 1.3Mb file and then drops out with an "error has occured" message. I have 5Gb free space on the phone. I have tried to do that wirelessly also and it says "an error has occured while checking for a software update"........does anyone have any ideas?....thanx

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • JSP Compilation Error when using OC4J out of the box

    Hello.
    After installing Java jdk 1.5.0_05, setting ORACLE_HOME, setting JAVA_HOME, rebooting, and installing OC4J standalone straight out of the box, I have deployed a simple web project that consists of just one JSP. I receive the following error message:
    NOTIFICATION J2EE JSP-0008 Unable to dispatch jsp Page: oracle.jsp.provider.JspCompilationException: Errors compiling: C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\persistence\_pages\\_Test.java<pre></pre>
    I have deployed a number of Flex2 applications without incident. What am I missing here? Another odd thing is that my organization has OAS running and it can render JSPs fine.
    Any help is appreciated thanks,
    Mike
    P.S. I have gone back and set the JSP debug switches, but they do not yeild much more info. Here is the stacktrace:
    NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\oc4j_jsp\persistence\_pages\\_Test.java</H3><pre></pre>
         at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
         at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Unknown Source)

    I had the very same Problem, and I spent a lot of time on it.
    When installing Oc4j as a service using Javaservice opnesource, I had no problem, even using J.D.K 1.6:
    %JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -XX:PermSize=128m -XX:MaxPermSize=256m -Xmx1024M -Xms1024M -Djava.class.path=%OC4J_HOME%\oc4j.jar -start oracle.oc4j.loader.boot.BootStrap -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -auto -description OC4JService
    Then I wanted to install it using "ServiceMill" or "Javaservice Wrapper", becuase it has a better control on the process and I had that awfull compilation error.
    I guess it is because ServiceMills uses java.exe and javaservice the .dll to launch the oc4j, no idea.
    Anyway, thank you very much!!!!!
    Antonio

  • Certificate not yet generated errors and wifi drop outs

    Hello all!  Recently I've been getting the following errors in console
    11/5/13 8:02:52.815 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.815 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.816 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.816 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.817 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.817 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.817 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.818 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.818 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.819 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.819 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.820 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.821 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.821 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.824 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.827 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.828 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.949 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:52.986 PM apsd[87]: Certificate not yet generated
    11/5/13 8:02:53.369 PM apsd[87]: Couldn't find cert in response dict
    11/5/13 8:02:53.370 PM apsd[87]: Failed to get client cert on attempt 1, will retry in 15 seconds
    The last line keeps repeting after it tries again attempt 101, will retry in 900 sec etc...
    Additionally I've noticed that periodically my wifi will drop out, and when I go to Airport Utility my Extreme is unavailable.  I don't know if this error and the two the wifi drop outs are linked or not.  At first I thought it was the new firmware for the basestation, but now I'm not so sure because last time I launched airport utility and the extreme was unavailable I saw the basestation come back on line.
    One final note.  I have a home server on a mac mini (ML Server essentially for ituens shared liberary).  All the macs access this server.
    Thanks in advance

    From the menu bar, select
               ▹ About This Mac
    Below the "OS X" legend in the window that opens, the OS version appears. Click the version line twice to display the serial number. If the number is missing or invalid according to this web form, take the machine to an Apple Store or other authorized service center to have the problem corrected.

  • Compiler error out of regs, reg 1239

    I've installed LV2009 and trying to open version  8.6 vi.
    I am getting a pop-up message "Compiler error. REport this problrm to Nationa Instruments Tech Support. out of regs - no spill candidate found, reg 1239!"
    32-bit Labview client  on Win 7 64 bit and Win server 2008 64 bit give same error.
    The code attached.
    Solved!
    Go to Solution.
    Attachments:
    SyncLoc.llb ‏465 KB

    After converting and testing the problematic VI in LV 2009 sp1, I found that the code that worked for me since LV 8.2 and 8.6 is bugged now.  
    I am using an array of waveforms. I apply "Split 1D Array", followed by "Decimate 1D Array" library functions. The resulted array is stripped of the waveform information in LV2009.
    I isolated the bugged piece in the attached VI.
    Is it a bug?
    Attachments:
    Test decimate array.vi ‏23 KB

  • Finder "drops out" during operations, then "drops in" when in other programs.

    When trying to copy files to a USB stick or through AirDrop, Finder will drop out for a second (all its windows briefly disappear and processes will stop). The files will be partially copied to the USB stick, but greyed out.
    When in other programs, like Safari, Finder windows will suddenly appear, unbidden.
    When I run DiskUtility, I will get a very long list of permissions which need to be repaired. When I click "Repair Permissions" it says it repaired them, but then running Repair Permissions again brings up the same list. I have tried the "resetpassword" command in Terminal from the Recovery Volume (Restart+CMD-R) to reset the home folder permissions and ACLs. I have reset the PRAM. I have done a Safe Boot and restarted. I still cannot copy, and Finder is still acting weird. What can I do?
    J

    Might be Finder preferences are corrupted ...
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.finder.plist
    Click Go then move the com.apple.finder.plist file to the Trash.
    Launch the Finder to test.
    If that didn't help, try relaunching the Finder > Relaunch Finder… from the Mac OS X Finder
    It's not necessary to repeatedly repair permissions. Those are messages, nothing more.

Maybe you are looking for