Multiple annotations found at this line, the method  ......

There,
I got an error when I used sql tag lib.
Error Message:
Multiple annotations found at this line, the method getStartdate() is undefined for the type map.
Before, I used JSTL 1.0, it worked fine, after I upgraded it to 1.1, I got the problem.
Any help and idea are appreciated.
Wolf
<%@ page session="true" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
<sql:query var="monthlyList" dataSource="jdbc/Booking" scope="request">
select date as d, count(d_code) as c, (sum(seconds)) as t
from inservicehistory where date>='<c:out value="${param.startdate}" />'  and date <='<c:out value="${param.enddate}" />'
group by d
</sql:query>
<jsp:forward page="list_daily.jsp" />

Very strange.
What server are you using?
You realise that JSTL1.1 requires a JSP2.0 container (eg Tomcat 5?)
Does your web.xml declare itself as version 2.4?
Is there any more to the error message?
Also I would write the query like this:
<sql:query var="monthlyList" dataSource="jdbc/Booking" scope="request">
select date as d, count(d_code) as c, (sum(seconds)) as t
from inservicehistory where date>= ?
and date <= ?
group by d
<c:param value="${param.startdate}" />
<c:param value="${param.enddate}" />
</sql:query>

Similar Messages

  • I updated to iTunes 12.0.1.26 and I am trying to burn a play list and it gives the following message: disc burner or software not found.  This is the first time that I have this problem.  Can any one help me please?

    I have a Mac Book Pro 2.4 GHz Intel Core i7; Memory 4 GB 1333 MHz DDR3
    Mac OS X Version 10.7.5
    I updated to iTunes 12.0.1.26 and I am trying to burn a playlist and I get the following message:  "Disc burner or software not found" .  I have burned lots of CD's and DVD's before and this is the first time I get this message and cannot burn anything.  Can anybody help me, please?

    Hello queenabs,
    It sounds like you are trying to burn a playlist to a disc in iTunes, but you are getting the error, "disc burner or software not found."  I found a couple of resources that I think might help with an error like this.
    I recommend starting with the steps in this article:
    iTunes for Windows: Optical drive is no longer recognized, or "Disc burner or software not found" alert after install
    http://support.apple.com/kb/TS2308
    If you are still having trouble with burning a disc after following the steps in that article, I recommend following the steps in this article:
    iTunes for Windows: Additional troubleshooting tips for burning issues
    http://support.apple.com/kb/TS1374
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Safari cannot open the page because the server cannot be found. This is the message I get many times when I try to open a webpage or click on a link from facebook or email. Pages don't open for a while in spite of refreshing and suddenly it works.

    During this problem, the internet works perfectly fine because my laptop can access every page smoothly. Please do let me know why this happens every so often.

    That's really annoying..
    a) Reset network settings (Settings > General > Reset.)
    b) May I ask you to tell me DSN.. is it spefied by your internet provider ?

  • Uploaded music videos to my new ipad and when I try to play it, it says  the requested url was not found on this server.

    When I uploaded music videos to my new ipad mini and when I try to play it, it says "the requested url was not found on this server.
    the Video will  not play.

    See this previous discussion:
    https://discussions.apple.com/message/16962474#16962474

  • How can i change the method that get a Bitmap file and return 15 new Bitmaps so the new Bitmaps will be also PixelFormat Format8bppIndexed ?

    This is the method:
    public static Bitmap[] get_images_with_clouds(Bitmap radar_image)
    int e = 0;
    int f = 0;
    int image_clock_area_x = 0;
    int image_clock_area_y = 0;
    int image_clock_area_x1 = 140;
    int image_clock_area_y1 = 21;
    Bitmap[] localImages;
    localImages = new Bitmap[15];
    Bitmap image;
    image = new Bitmap(Properties.Resources.radar_without_clouds);
    BitmapData bmD = null;
    BitmapData bmD2 = null;
    try
    bmD = image.LockBits(new Rectangle(0, 0, image.Width, image.Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
    bmD2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
    IntPtr sc0 = bmD.Scan0;
    unsafe
    int* p = (int*)sc0.ToPointer();
    int* p2 = (int*)bmD2.Scan0.ToPointer();
    for (e = image_clock_area_x; e < image_clock_area_x + image_clock_area_x1; e++)
    for (f = image_clock_area_y; f < image_clock_area_y + image_clock_area_y1; f++)
    Color clock_color = Color.FromArgb(p2[e + f * bmD2.Width]);
    p[e + f * bmD.Width] = clock_color.ToArgb();
    image.UnlockBits(bmD);
    radar_image.UnlockBits(bmD2);
    catch
    try
    image.UnlockBits(bmD);
    catch
    try
    radar_image.UnlockBits(bmD2);
    catch
    int c;
    for (c = 0; c < localImages.Length; c++)
    localImages[c] = new Bitmap(image);
    Bitmap new_image = new Bitmap(Properties.Resources.radar_without_clouds);
    Bitmap new_image1 = new Bitmap(Properties.Resources.radar_without_clouds);
    Bitmap localbmptest = black_and_white(new_image, radar_image);
    Image image1 = black_and_white(new_image, radar_image);
    image1.Save(@"c:\temp\testclouds666.jpg");
    Bitmap clouds = new Bitmap(image1);
    int x;
    int y;
    int a;
    int b;
    int d = 0;
    Bitmap redImage;
    redImage = new Bitmap(512, 512);
    using (Graphics g = Graphics.FromImage(redImage))
    g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
    g.PixelOffsetMode = System.Drawing.Drawing2D.PixelOffsetMode.Half;
    g.Clear(Color.Red);
    BitmapData bmData = null;
    BitmapData bmData2 = null;
    BitmapData bmDataArray = null;
    try
    bmData = clouds.LockBits(new Rectangle(0, 0, clouds.Width, clouds.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
    bmData2 = radar_image.LockBits(new Rectangle(0, 0, radar_image.Width, radar_image.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
    IntPtr scan0 = bmData.Scan0;
    IntPtr scan02 = bmData2.Scan0;
    unsafe
    int* p = (int*)scan0.ToPointer();
    int* p2 = (int*)scan02.ToPointer();
    double h, mm;
    for (d = 0; d < localImages.Length; d++)
    bmDataArray = localImages[d].LockBits(new Rectangle(0, 0, localImages[d].Width, localImages[d].Height), ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb);
    IntPtr scan0Array = bmDataArray.Scan0;
    int* pArray = (int*)scan0Array.ToPointer();
    for (a = 0; a < new_image.Width; a++)
    for (b = 0; b < new_image.Height; b++)
    Color color1 = Color.FromArgb(p[a + b * bmData.Width]);
    Color color2 = Color.FromArgb(p2[a + b * bmData2.Width]);
    if (color1.R != 0 || color1.G != 0 || color1.B != 0)
    h = color2.GetHue();
    mm = RadarAnalysis.Hue2MMPerHour(h);
    if (mm >= treshhold_array[14 - d])
    pArray[a + b * bmDataArray.Width] = color2.ToArgb();
    localImages[d].UnlockBits(bmDataArray);
    clouds.UnlockBits(bmData);
    radar_image.UnlockBits(bmData2);
    catch (Exception error)
    try
    clouds.UnlockBits(bmData);
    catch
    try
    radar_image.UnlockBits(bmData2);
    catch
    try
    localImages[d].UnlockBits(bmDataArray);
    catch
    Logger.Write("Error Exception ==> " + error);
    MessageBox.Show("Error Exception ==> " + error);
    return localImages;
    In the end i'm getting 15 Bitmaps in localImages.
    localImages is Bitmap[]
    The method get a Bitmap and the Bitmap pixel format is: Format8bppIndexed
    I want that in the end the 15 Bitmaps in localImages will be also pixel format of Format8bppIndexed.
    The problem is that if i change everywhere in the method from: PixelFormat.Format32bppArgb to PixelFormat.Format8bppIndexed
    I'm getting exception on the line:
    pArray[a + b * bmDataArray.Width] = color2.ToArgb();
    Attempted to read or write protected memory. This is often an indication that other memory is corrupt
    System.AccessViolationException was unhandled
      HResult=-2147467261
      Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
      Source=My Weather Station
      StackTrace:
           at mws.ImagesComparison.get_images_with_clouds(Bitmap radar_image) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ImagesComparison.cs:line 469
           at mws.ScanningClouds.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ScanningClouds.cs:line 695
           at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
           at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
           at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
           at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
           at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
           at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
           at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
           at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
           at System.Threading.ThreadPoolWorkQueue.Dispatch()
           at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
      InnerException: 
    Line 469 is: pArray[a + b * bmDataArray.Width] = color2.ToArgb();

    Thorsten Hi,
    Too complicated for me i will try to look on it.
    Also if you will have time later maybe you could look at it too ? 
    For now what i tried was to get the returned 15 new Bitmaps to a local array:
    bitmaps = ImagesComparison.get_images_with_clouds(b1);
    for (int i = 0; i < bitmaps.Length; i++)
    ConvertTo1or8Bit.ColorToGrayscale(bitmaps[i]);
    break;
    Then make a convertion with a new class trying to convert the Bitmaps to 8 bit in the memory without saving them first to the hard disk. This is the new class:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Drawing.Imaging;
    using System.Drawing;
    using System.IO;
    namespace mws
    class ConvertTo1or8Bit
    public ConvertTo1or8Bit()
    public static Bitmap ColorToGrayscale(Bitmap bmp)
    int w = bmp.Width,
    h = bmp.Height,
    r, ic, oc, bmpStride, outputStride, bytesPerPixel;
    PixelFormat pfIn = bmp.PixelFormat;
    ColorPalette palette;
    Bitmap output;
    BitmapData bmpData, outputData;
    //Create the new bitmap
    output = new Bitmap(w, h, PixelFormat.Format8bppIndexed);
    //Build a grayscale color Palette
    palette = output.Palette;
    for (int i = 0; i < 256; i++)
    Color tmp = Color.FromArgb(255, i, i, i);
    palette.Entries[i] = Color.FromArgb(255, i, i, i);
    output.Palette = palette;
    //No need to convert formats if already in 8 bit
    if (pfIn == PixelFormat.Format8bppIndexed)
    output = (Bitmap)bmp.Clone();
    //Make sure the palette is a grayscale palette and not some other
    //8-bit indexed palette
    output.Palette = palette;
    return output;
    //Get the number of bytes per pixel
    switch (pfIn)
    case PixelFormat.Format24bppRgb: bytesPerPixel = 3; break;
    case PixelFormat.Format32bppArgb: bytesPerPixel = 4; break;
    case PixelFormat.Format32bppRgb: bytesPerPixel = 4; break;
    default: throw new InvalidOperationException("Image format not supported");
    //Lock the images
    bmpData = bmp.LockBits(new Rectangle(0, 0, w, h), ImageLockMode.ReadOnly,
    pfIn);
    outputData = output.LockBits(new Rectangle(0, 0, w, h), ImageLockMode.WriteOnly,
    PixelFormat.Format8bppIndexed);
    bmpStride = bmpData.Stride;
    outputStride = outputData.Stride;
    //Traverse each pixel of the image
    unsafe
    byte* bmpPtr = (byte*)bmpData.Scan0.ToPointer(),
    outputPtr = (byte*)outputData.Scan0.ToPointer();
    if (bytesPerPixel == 3)
    //Convert the pixel to it's luminance using the formula:
    // L = .299*R + .587*G + .114*B
    //Note that ic is the input column and oc is the output column
    for (r = 0; r < h; r++)
    for (ic = oc = 0; oc < w; ic += 3, ++oc)
    outputPtr[r * outputStride + oc] = (byte)(int)
    (0.299f * bmpPtr[r * bmpStride + ic] +
    0.587f * bmpPtr[r * bmpStride + ic + 1] +
    0.114f * bmpPtr[r * bmpStride + ic + 2]);
    else //bytesPerPixel == 4
    //Convert the pixel to it's luminance using the formula:
    // L = alpha * (.299*R + .587*G + .114*B)
    //Note that ic is the input column and oc is the output column
    for (r = 0; r < h; r++)
    for (ic = oc = 0; oc < w; ic += 4, ++oc)
    outputPtr[r * outputStride + oc] = (byte)(int)
    ((bmpPtr[r * bmpStride + ic] / 255.0f) *
    (0.299f * bmpPtr[r * bmpStride + ic + 1] +
    0.587f * bmpPtr[r * bmpStride + ic + 2] +
    0.114f * bmpPtr[r * bmpStride + ic + 3]));
    //Unlock the images
    bmp.UnlockBits(bmpData);
    output.UnlockBits(outputData);
    return output;
    But they are still 32 bit. So i guess i didn't realy understand yet how to do it.

  • Column Highlighted with Color with leadselection on this line...

    Hi, All
    I want to highlight column with Color but when I select on this line the orignal color will overlap the highlighted color, any way to still keep this hightlighted color?

    Hi, All
    I want to highlight column with Color but when I select on this line the orignal color will overlap the highlighted color, any way to still keep this hightlighted color?

  • /apex/wwv_flow.accept was not found on this server

    Hello
    I´ve performed a basic XE install on my PC
    I´ve done this several times before but this time I ran into problems
    I managed to login as system the 1st time but now a login returns
    "The requested URL /apex/wwv_flow.accept was not found on this server"
    The XE database is up and running!
    Any ideas??
    Thanks in advance
    Ganderss
    Message was edited by:
    GAnderss
    Message was edited by:
    GAnderss
    Message was edited by:
    GAnderss
    null

    Upppps!!
    The problem was caused by an incorrect import (affecting the system schema)
    Sorry for taking up your time
    GAnderss

  • Printing java object in the method

    How to print the object that has called the method in the method itself.
    class abc{
    public method1()
    S.o.p("Print the object that has called this method")
    psvm(string a[])
    abc aa=new abc();
    aa.method1();
    Thanks
    Sir

    Or make a new exception and parse the stack trace.
    This has a performance penalty, though.That wont get the object that's making the call (the 'this' of the method that's making the call), but only the class and the method

  • Scripting Error: Line 25 Object doesnot support this property or method

    Hi,
    Environment :
    BS Version: 11i(11.5.9)
    Component: Web ADI
    Descripiton: When trying to upload journals through Web ADI we are getting the below error.
    "Scripting Error: Line 25 Object doesnot support this property or method"
    Please help on this issue.
    Thanks,
    Arun Babu R

    Hi hsawwan,
    Thanks for your reply.Actually after working on it we found that is the browser issue. The issue was resolved.
    ThanQ,
    Arun Babu R

  • Multiple markers at this line

    Hi,
    I change the programming language from PBL to Java.
    But I got errors:
    Multiple markers at this line
    statement is espected
    especting ; but keyword is found
    when I define arrays such as:
    String[] keywords = new String[10];

    Your code as Java:
    String[] keywords = new String\[10\];
    Your code as PBL:
    keywords as String[]
    (You don't need to specify an initial size and can just go about adding to it)
    ie.
    keywords[] = "myFirstKeyword"
    keywords[] = "mySecondKeyword"
    keywords[] = "myThirdKeyword"
    at this point, keywords.length is 3
    Hope that helps...
    -Kevin

  • Multiple users found with the same name

    Hi,
    In my ADF bean, I am trying to access some users from ldap. I found there are two users with the same email in my console under "Users and Groups" tab.
    I am getting the following error in logs:
    oracle.jbo.JboException: multiple users found with same name
            at com.castandcrew.portal.am.StartPaperworkCenterAMImpl.setStartPaperworkApprovalHistory(StartPaperworkCenterAMImpl.java:627)
            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:597)
            at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:657)
            at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2143)
            at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)
            at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
       at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3114)
            at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:261)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1635)
            at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2151)
            at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
            at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
            at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
            at com.castandcrew.portal.view.bean.startpaperwork.StartPaperworkCenterManagedBean.handleRowDisclosure(StartPaperworkCenterManagedBean.java:696)
            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:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
            at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:263)
            at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:147)
            at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:404)
            at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
            at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:280)
            at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:147)
            at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:404)
            at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:93)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:431)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
            at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:34)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    I am wondering how open ldap can allow two users with same email.
    Any suggestions are welcome.can i try some work around for that?
    Thanks.

    Hi.
    For some reason you have duplicates. Normally is something strange but it can occurs in heavy load / database corruptions or other situations.
    You should contact a LDAP Administrator in order to find and fix the duplicate problem.
    Regards.

  • How to count number of lines inside methods() using the Doclet API

    Wrote a custom doclet using the [Doclet API|http://java.sun.com/j2se/1.3/docs/tooldocs/javadoc/doclet/index.html ] .
    The purpose for the doclet is to load Java source files and create stubs (which are identical Java source files but do not contain any method implementation details).
    Instead, the method implementation details need to be replaced with blank lines...
    public class MyDoclet {
         private static String TAB = "\t";
         public static boolean start(RootDoc root) {
              ClassDoc[] classes = root.classes();
              // Parse through class or interface
              for (ClassDoc clazz : classes) {
                   Type superClass = clazz.superclassType();     
                   // Print Methods
                   MethodDoc[] methods = clazz.methods();
                   for (MethodDoc method : methods) {
                        Parameter[] parameters = method.parameters();
                        println();
                        if (!method.isPrivate()) {
                             print(TAB + method.modifiers() + " "
                                                    + method.returnType().simpleTypeName() + " " + method.name());
                             print("(");
                             for (int i=0; i < parameters.length; i++) {
                                  Parameter parameter = (Parameter) parameters;
                                  print(parameter.type().simpleTypeName() + " " + parameter.name());
                                  if (i != parameters.length - 1) {
                                       print(", ");
                             print(")");
                             println(" {");
                             println("\n");
                             println(TAB + "}");
              return true;
    As one can see, I am just creating the method and placing the opening and closing curly braces (along with a new \n line escape sequence, in between).
    Am not really that familiar with the Doclet API...
    Question(s):
    (1) What is the best way to figure out how many lines of code are inside each method and then use a for loop to insert the exact same number of blank lines inside the methods?
    (2) Is there a way to do it using the com.sun.javadoc.SourcePosition.line() method?
    Would really appreciate it if someone could help me because this is an important requirement (hence the 10 Duke Stars).
    Happy coding to all,
    Mike                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    This is not possible using the Doclet API, because JavaDoc does not store any information regarding implementation detail. Although MethodDoc#position will give you the line where the method is declared, there is no way to determine where the method body starts and ends.
    If you need that much information, maybe you would be better of using a tool such as Eclipse's Abstract Syntax Tree parser. AST will provide you with line numbers for each code expression, hence it is relatively easy to compute the first and last line in a method body.

  • When I upgraded to FF 3.6, the line in the FF header with file, edit, view, etc is no longer visible. What do i need to do to display this line?

    When FF starts, the file, edit, etc line is not displayed. What do I need to do to display this line?
    Bill
    == This happened ==
    Every time Firefox opened
    == I upgraded to FF 3.6

    '''''"...the file, edit, etc line is not displayed"''''': That's the Menu Bar; see below.
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • This is the best method to install a new version of Studio!

    Do it cleanly. By this I mean create a new fresh startup disk for the install of Studio. Whether for Studio 1 ,2 or 3, trust me. this method will get you to a really stable FCS system.
    1. Backup everything you want to keep if you're using the same drive you've been using as your startup disk. Clone it if you'd like to save time digging around for the files you want to keep. Or buy a new drive for your tower and use it as a startup disk, keeping the earlier one until you've transferred all you need from it. (I have no less than 3 startup disks for my single tower here) One is a 250 gig drive, the other two reside on their own partitions of a second physical drive. I use one system for beta testing, reinstalling the OS each beta test, and one "working" system for daily real work environments, and yet another "backup" system which is there just in case I need it. (but never really do actually).
    2. Load your latest OS disk, and restart your computer from it holding down the c key during a boot up, or selecting it from the startup disk control panel in the apple system prefs.
    3. Once your computer starts up from the OS disk, select "optional installs" from the button you'll see in the window. From there select "erase and install" and install will begin.
    4. After the OS install, run Software update and go all the way with it. There's nada out there that's not OK to install.
    5. Install Studio. If it's an upgrade version, no problem to not install the earlier version you're upgrading from. Just have it's serial number handy because FCS will ask for it as well as the upgrade serial number.
    6. Run Software upgrade again to make sure all of your FCS apps are up to date. INSTALL EVERYTHING that Software Update proposes to install.
    7. You'll be a very happy camper.. it will also feel like your whole computer is faster because of this clean install of the OS you did...
    It's not impossible to get a fine upgrade done without doing it as I've described above, but with the latest round of problems being posted about a new install, I gotta say that this clean method will fix all the problems being posted here and elsewhere. Why even bother taking the risk? What I've posted above will be THE WAY to make sure you're system is running right.
    I've espoused this method of install any time you upgrade your OS (i.e., Tiger to Leopard or the upcoming Leopard to Snow Leopard upgrades about ready to hit us all) OR any time you install a new version of FCS or even a FIRST install of the studio. It's not all that time consuming, and running pro level software really demands that the system install is totally clean.
    I oversee about 75 FCS stations at the Colorado Film School, we do this clean install every semester (4 months) on the systems there, and really have incredibly stable setups. Never really having the problems that get reported all over the forums... not only that, they boot fast, run fast, and just work.
    When software companies test new versions of their software in beta, it's always asked by all software manufacturers to install their beta over a clean fresh OS... always... so there's a lesson here to learn from them, and also a hint: nobody chooses the "upgrade" button for a new version of said software, rather they are testing over CLEAN installs only. Makes perfect sense then to install new versions of software as complicated as this is over a clean new OS install.
    Jerry

    I fully support Jerry's advice. Though it is a little like the old auto repair manual I once had. If you looked in the section under "clutch replacement", it started out like this ...
    *Clutch Replacement procedure.*
    • elevate car - be sure to use jack stands to support vehicle
    • remove engine
    • with clutch pressure plate exposed ....
    Of course, they never spelled out all that was involved in the "remove engine" step. So, in the interest of adding more detail to Jerry's advice on the "erase and install" process for those who have not done it before and might be intimidated - read on.
    • Make a list of all Applications to install. Which ones do you need? Go through your Applications and Utilities folder and note which ones you'll want to reinstall. Note the version.
    (I don't know about you, but I had a shocking number of apps I downloaded, used for a few times and never used again. Forget installing these disused apps.)
    • If you are upgrading from a PPC to an intel machine, you'll want to know if the apps are UB or PPC. Upgrading your PPC software to UB can be a significant cost in a PPC to intel conversion. Know what you are getting into - do a search before installation to see if there is a UB version available. You can find out whether an app is PPC or UB by looking in System Profiler>Software>Applications. This window will also tell you the current installed version number. Generate a .pdf file of it and have everything listed for your records.
    • In the list, note whether is was a download or you have a disk. If it was a download, find the DMG or installer package and copy it to an external firewire drive. Put it in a folder titled - Apps to be installed - or something easily identifiable.
    • If you need to go back to a previous version (e.g. QT 6.5.2) download the dmg file BEFORE you start the installation process.
    • In the list, note if the application is a full install or an UPGRADE. If an upgrade, make sure you have the previous version's disks (as well as the serial numbers - see below).
    If the UPGRADE version does not require the previous version to be present - eg when installing the upgrade version of FCP 7, DO NOT install earlier software. All you'll need is the previous serial number. The way to figure this out is to try to install the newest version. If it needs the previous version present before proceeding, the install process will tell you that.
    Some upgrades will require that a version of the previous app is on the disk. If this is the case, when you install the first version, simply install the minimum so the app will be on the hard drive. You will need to do this because there will be NOTHING on the disk after you do your clean erase.
    • Referencing your list, find ALL your disks before you start. This includes previous versions if you are unsure whether they will be needed.
    • Spend some time looking through this forum for Professional Application installation issues. The classic example is a conflict between Logic and FCP. Install FCP first and you'll have no issues.
    • Sort your list into an installation sequence. Lay out your disks in that order.
    • Referencing the list, make sure you have ALL your serial numbers including those you've downloaded. I've purchased a number of programs on line and the only documentation of the serial number was an email. All those are kept in a dedicated folder in Mac Mail. For serial numbers that arrived via electronic means, use cut and paste instead of re-typing whenever possible. This will prevent errors in transcription.
    In making the list, TEXT EDIT works ok, (I use Excel). Text edit has the benefit of being easily readable on any mac. Print the list out for reference, put a copy on a flash drive or a firewire drive where you can access it to cut and past serial numbers during the installation process.
    • Recognize this is going to take some time. Ranting, drinking too much coffee, swearing, sitting in front of the computer watching the progress bar, etc will not make things go faster. All it will to is put you in a really bad frame of mind. Do it over a weekend when you can be multitasking. While you are cleaning off the mountains of paper on your desk or raking the yard, you can take regular breaks to check on progress.
    Process -
    • Download Carbon Copy Cloner or one of the other backup utilities and do a full backup of your existing system drive to an external firewire drive. Make the drive bootable. *Do not* cheap out on this as this is your insurance policy. If you forget something or can not find a serial number, you often can find it and copy it from the backup system to the newly installed version. Or, if things go horribly wrong, you can simply copy the old system back to your computer and pick up where you left off.
    If you have a MacPro or G5 tower, an alternative to cloning your existing system disk is to pick up a new hard drive to use as the clean new system disk. Your existing system disk will be the clone.
    • Once you have gathered and organized all the materials and backed up the drive or installed the new system drive ...
    • Insert your OSX installation disk and boot the computer from the disk (Jerry explains how)
    • Erase the hard drive. Use the ZEROs option as this will map out any bad sectors. This will take time. See the note above.
    • Install the OS. If it is an upgrade install, see the note above regarding upgrade installs. Repair Permissions and then run the updates. Repair Permissions.
    • Install your applications following your list. Make sure to Repair Permissions after each install and update..
    Have fun, be prepared for a few minor glitches. If you multitask, you can get the garage/ or office cleaned out and your computer rebuilt. In all honesty, this process took all weekend plus time in the next week as I discovered apps that needed additional updates, configuration settings, etc. No doubt it would have been faster if I was sitting at the console the whole time, but I was able to get the office cleaned up and organized (which also makes ME much faster). Overall it was a very slick process.
    When you have a fully functioning system again (you have tested all applications and everything works), CLONE the new system and put your info, your notes and the disks in a safe place - once you've done this once, why go through the pain of organizing this stuff again ...
    Now, rejoice in a much faster machine with a lot more free disk space.
    Cheers,
    x

  • False message: The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.

    When I specify http://www.celticmanner.com/selector_test.html to Firefox 6.01, I get the false message:
    Multiple Choices
    The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.
    Available documents:
    /selector_test.txt (common basename)
    The file http://www.celticmanner.com/selector_test.html IS PRESENT on the host.
    The file http://www.celticmanner.com/selector_test.txt IS NOT. (It had been earlier.)
    I do not find the text "selector_test.txt" anywhere on my partition C! Where does Firefox retain a pointer to this file that no longer exists? And why?
    NB: The text "could not be found on this server" is sloppy. That message is not issued from a servcer, but from the instance of Firefox on my computer. The message should read "could not be found on the specified server".
    B. Somers

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

Maybe you are looking for

  • IPhone 5 excessive data usage problem (carrier-AT&T)--any resolutions?

    I got an iPhone 5 in June of 2013, and the billing period after I got it, I went over my data usage for the first time ever (I have been an iPhone user since 2010). I thought that it was just because I had been working out at a camp that got poor rec

  • Thunderbolt Daisy Chain

    Hi, I've searched all over the internet for a thunderbolt to gigabit ethernet adapter that also allows for daisy-chaining and connect another thunderbolt/mini-diplayport adapter, but it seems that such doesn't exist... Does anyone know of one that I

  • Excise Duty sediment allowance calculation

    How does SAP deal with sediment allowance: For cask products we are able to claim a sediment allowance, for the undrinkable bits at the bottom of a cask. So if a product has a volume of 9 Gallons (40.9L) but there is a sediment figure of 0.7L we only

  • How to get data into BI system

    Hi Experts,          I am a newbie to SAP BI. Please guide me how to get the data from tha R/3 tables into BI system tables. When I check the data in SE11 in R/3 (for ex: VBAK, VBAP...... etc), I could see all the records. Now how can I get the same

  • CS4 Fonts in AI

    Boner questions about fonts: How can one tell which fonts are monospaced when reviewing fonts inside Illustrtor? Or some other way to know in advance which fonts will align correctly when using basic formatting like:       something:  orange somethin