Point Array Help needed

I'm trying to create an array of points and set all to points to (0,0)     
private Point[] triPoints = new Point[2];
this is what i have used but i'm not sure if it sets every point to (0,0) cos i get nullPointerException.
Is there a quick way of declaring all the Points in the array (0,0)??
Thanks in advance

not that I'm aware of. Best way is:
for (int x=0; x < triPoints.length; x++)
  triPoints[x] = new Point(0,0);
}

Similar Messages

  • Urgent array help needed! come get some duke points

    this program keeps track of rentals for a shop. Other methods and classes not shown (like Customer, Transaction classes) are also in this program. Every item (created with a constructor in Item class) can hold an array of up to 20 transactions; part of a Transaction object is a rental total, based on a number of rental days * specific rental price for that item rented (backhoe, edger, etc.) If the user presses "t" for total amount of transactions, the following method is called, which calls the getTotalPrice() in another class called Item. My problem here is that even if I enter in transaction amounts, when I press "t", the program just quits, not producing the report and returning me to the main class. I have been over it with the debugger and I am still lost. Below is some selected code; I hope it is sufficient. Please let me know if I need to put up more
    //main
    String input = JOptionPane.showInputDialog(null, "Enter a rental transaction (x)" +
                                                      "\nAdd a customer (c)" +
                                                      "\nAdd an item (i)" +
                                                      "\nReport on a specific item (r)" +
                                                      "\nReport on total dollar amounts of rentals for all items (t)" +
                                                      "\nReport on total rentals for a specific customer (s)" +
                                                      "\nStrike cancel to exit from the program");
              //big huge while
              while (input != null){
                   if (input.equals("x")){
                        rentalTrans();
                   }//if
                   if (input.equals("c")){
                        addCustomer();
                   }//if
                   if (input.equals("i")){
                        addItem();
                   }//if
                   if (input.equals("r")){
                        specificItemReport();
                   }//if
                   if (input.equals("t")){
                        allItemReport();
                   }//if
                   if (input.equals("s")){
                        customerReport();
                   }//if
                   input = JOptionPane.showInputDialog(null, "Enter a rental transaction (x)" +
                             "\nAdd a customer (c)" +
                             "\nAdd an item (i)" +
                             "\nReport on a specific item (r)" +
                             "\nReport on total dollar amounts of rentals for all items (t)" +
                             "\nReport on total rentals for a specific customer (s)" +
                             "\nStrike cancel to exit from the program");
    //allItemReport()
    public static void allItemReport(){ //menu item t
              Item temp = null;
              for (int index = 0; index < items.length; index++){
                   temp = items[index];
              }//for
              JOptionPane.showMessageDialog(null, "Total rental transactions to date amount to: $" + temp.getTotalPrice());
    //Item Class
    public String getTotalPrice() {
              double total = 0;
              String output = "";
              for (int i = 0; i < trans.length; i++) {
                   if (trans[i] == null) {
                        if (i == 0) {
                             output = "There are currently no transactions.";
                        }// if
                        break;
                   }// if
                   else{
                   total += getPerDayRentalPrice();
                   }//else
              }// for
              output+= total;
              return output;
         }//getTotalPrice

    Don't flag your questions as urgent. It's rude. Also don't think that waving with a couple of worthless Dukes is going to get you better/quicker help.
    The reason I respond to your question is because you have explained your problem well and used code tags.
    Try this:class Main {
        public static void main (String[] args) {
            String message = "Enter a rental transaction (x)\nAdd a customer (c)" +
                "\nAdd an item (i)\nReport on a specific item (r)\nReport on total "+
                "dollar amounts of rentals for all items (t)\nReport on total rentals"+
                " for a specific customer (s)\nStrike cancel to exit from the program";
            String input = JOptionPane.showInputDialog(null, message);
            while(input != null){
                if (input.equals("x")) rentalTrans();
                else if (input.equals("c")) addCustomer();
                else if (input.equals("i")) addItem();
                else if (input.equals("r")) specificItemReport();
                else if (input.equals("t")) allItemReport();
                else if (input.equals("s")) customerReport();
                else System.out.println("Invalid option!");
                input = JOptionPane.showInputDialog(null, message);
            System.out.println("Bye!");
        // the rest of your methods ...
    }

  • Javascript array help needed to generate narrative from checkboxes

    For context...  the user will indicate symptoms in cardiovascular section, selecting "deny all", if none of the symptoms apply.  The narrative sub-form needs to processes diagnosis sub-form and generate text that explains the symptoms in a narrative form.  For example, if the user selects "deny all" in the cardiovascular section, the Cardiovascular System Review field would have:  "The patient denies:  High Blood Pressure, Low Blood Pressure.  The logic associated with the narrative needs to account for "deny all" and all the variations of selections.
    I have what I think is a pretty good start on the logic, but would like some help with the following:
    1) loading selected fields into the cv_1s array
    2) loading fields not selected into the cv_0s array
    3) generating the narrative
    See "phr.narrative.cv_nar::calculate - (JavaScript, client)" for the coding I've done thus far.  Feel free to comment on any efficiency opportunities you see.  I have a SAS programming background, but I'm new to Javascript.  Thanks...
    Rob

    Hi Rob,
    One approach would be to give your checkboxes the same name so they can then be referenced as a group and use the caption as the source of your text, so you shouldn't have to duplicate the text and will make it easier to add more later.
    Attached is a sample doing that.
    Hope it helps.
    Bruce

  • Array help needed!!!

    import java.lang.String;
    import java.io.*;
    import java.io.IOException;
    import java.util.*;
    import java.lang.Boolean;
    class Books
    public static final int SIZE=3;
    // public static final int LOAN;
    // public static final int RETURN;
    //public static final int QUERY;
    static int option;
    String title;
    String author;
    boolean loanStatus;
    String borrowerID;
    Date loanDate;
    Date dueDate;
    Books[]p0=new Books[SIZE];
    static void DisplayMenu()
    System.out.println("===Menu===");
    System.out.println("0 to Exit");
    System.out.println("1 to Borrow a book");
    System.out.println("2 to Return a book");
    System.out.println("3 to Query a book");
    System.out.print("===Your Choice>>");
    public static void main(String[] args)
    throws IOException
    BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
    String string;
    Books display =new Books();
    do
    System.out.println("\n\n");
    Date loanDate = new Date();
    Date dueDate = new Date();
    dueDate.setTime(loanDate.getTime() + (long)(24*60*60*1000)*14);
    System.out.println(loanDate);
    System.out.println(dueDate);
    display.DisplayMenu();
    System.out.flush();
    string=stdin.readLine();
    option=Integer.parseInt(string);
    switch(option)
    case 0:
    System.out.println("Exit");
    break;
    case 1:
    //display.displayBookList(Books[] p0)
    display.displayBookList(p0);
    display.loanBook();
    break;
    case 2:
    display.returnBook();
    break;
    }while(option!=0);
    void loanBook() throws IOException {
    BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
    String string;
    if(!loanStatus){
    System.out.println("Enter borrower ID: ");
    System.out.flush();
    borrowerID=stdin.readLine();
    loanStatus=true;
    else
    System.out.println("Book is on loan");
    public void Books()
    // Books[]p0=new Books[SIZE];
         loanStatus=false;      
    p0[0]=new Books();
    p0[0].title="Java Software Solution";
    p0[0].author="Lewis Loftus";
    p0[1]=new Books();
    p0[1].title="Java How To Programming";
    p0[1].author="Lewis Loftus";
    p0[2]=new Books();
    p0[2].title="Java";
    p0[2].author="Lewis Loftus";
    void returnBook()
    if( loanStatus)
    loanStatus=false;
    System.out.println("Book is return");
    else
    System.out.println("Book is Not on loan");
    static void displayBookList(Books[] p0)
    //Books display=new Books();
    System.out.println("===Book List===");
    System.out.println("0 Back To Main Menu");
    System.out.println("1 "+p0[0].title);
    System.out.println("2 "+p0[1].title);
    System.out.println("3 "+p0[2].title);
    System.out.print("===Your Choice>>");
    static void processBook(Books[] p0) throws IOException
    System.out.flush();
    string=stdin.readLine();
    option=Integer.parseInt(string);
    switch(option)
    case 0:
    display.DisplayMenu();
    break;
    case 1:
    break;
    case 2:
    display.returnBook();
    break;
    Does anyone know how why i cant access the array???

    Hello,
    After u make p0 as display.p0 inside choice 1 in your main method u can compile the code.
    But still there are some problems in ur code.
    1)when u will try running it and give option as 1.
    ur constructor --- public void Books() will not be called because its not a constructor at all its a method. In any case a constructor can not have a return type.
    if u give a return type to a constructor as given void by u.then that constructor wil be treated as a method and when u costruct the objects default costructor will be called. So ur constructor is never called.Thats why it will
    give u null pointer exception when u try to display the list of books.
    2) if u remove void from ur constructor...
    then also u are calling new Books() constructor again in side new Books() constructor, so it will go in to an infinite loop....
    so be clear what u want to do and then proceed..
    hope this will be of help.
    Amrainder

  • Basic Array Help needed

    K all i am trying to do is Make an array of 5 int and then make a small basic test program that returns the smallest index of the matrix. Now the way i am doing this i want to make two files and make a call to the method that i createded called getSmallest of the public class SmallestIndex. The reason i am doing it this way nstead of putting the code in the main method is because i want to learn to pass arrays as parameters . I am learning them for the first time. This is my code:
    import java.util.*;
    import java.io.*;
    public class SmallestIndex
         public static int getSmallest(int[] matrix)
              int minIndex = 0;
              int smallestmatrix;
              for(int index = 1; index < matrix.length; index++)
                   if(matrix[minIndex] < matrix[index])
                        minIndex = index;
                   smallestmatrix = matrix[minIndex];
                   return smallestmatrix;
         public static void fillarray(int[] matrix, int numofelements) throws IOException
              BufferedReader board = new BufferedReader(new InputStreamReader(System.in));
              StringTokenizer tokenizer;
              tokenizer = new StringTokenizer(board.readLine());
              for(int index = 0; index < numofelements; index++)
                   matrix[index] = Integer.parseInt(tokenizer.nextToken());
                   if(!tokenizer.hasMoreTokens())
                        tokenizer = new StringTokenizer(board.readLine());
         public static void printArray(int[] matrix, int numofelements)
              for(int index = 0;index < numofelements; index++)
                   System.out.print(matrix[index] + " ");
    import java.io.*;
    public class TestMatrix
         static BufferedReader board = new BufferedReader(new InputStreamReader(System.in));
         public static void main(String[] args) throws IOException
              int[] matrix = new int[5];
              for(int index = 0; index < matrix.length; index++)
                   matrix[index] = Integer.parseInt(board.readLine());
              System.out.print("Elements");
              SmallestIndex.printArray(matrix, matrix.length);
              //SmallestIndex.fillarray(matrix);
              //SmallestIndex.getSmallest(matrix);

    Here's something slightly different. Compare to yours to see differences
    import java.io.*;
    class SmallestIndex
      public SmallestIndex()
        int[] matrix = fillArray();
        printArray(matrix);
        System.out.println("Smallest          = " + getSmallestNumber(matrix));
        System.out.println("Index of smallest = " + getSmallestIndex(matrix));  
        System.exit(0);
      private int[] fillArray()
        int[] temp = new int[5];
        try
          BufferedReader board = new BufferedReader(new InputStreamReader(System.in));
          for( int x = 0; x < 5; x++)
            System.out.print("Enter a number: ");
            temp[x] = Integer.parseInt(board.readLine());
        catch(Exception e) {System.out.println("error - " + e.getMessage());}   
        return temp;  
      private void printArray(int[] arrayToPrint)
        for(int x = 0; x < arrayToPrint.length; x++)
          System.out.println("Element "+ x + " = " + arrayToPrint[x]);
      private int getSmallestNumber(int[] arrayToGetNumber)
        int smallest = arrayToGetNumber[0];
        for(int x = 1; x < arrayToGetNumber.length; x++)
          if(arrayToGetNumber[x] < smallest)
            smallest = arrayToGetNumber[x];
        return smallest;
      private int getSmallestIndex(int[] arrayToGetIndex)
        int smallest = arrayToGetIndex[0];
        int smallestIndex = 0;
        for(int x = 1; x < arrayToGetIndex.length; x++)
          if(arrayToGetIndex[x] < smallest)
            smallest = arrayToGetIndex[x];
            smallestIndex = x;
        return smallestIndex;
      public static void main(String[] args){new SmallestIndex();}
    }

  • Help needed in constructing a tree

    Help needed in constructing a tree. I was wondering if some one can suggest me how to add messages in the second column for both the parent node and child elements.
    I was able to create a tree succefully, but want to add some description in the second column for the first column elements, for both parent and child elements.
    Please suggest me how to add the arrays to second column for parent and child nodes.
    Solved!
    Go to Solution.
    Attachments:
    Tree_fix.vi ‏15 KB

    The Child Text parameter is the one you are searching for. It accepts a 1D string array for the following columns.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • HELP NEEDED!! (please) CS6

    HELP NEEDED!  I have been working for 3 days in a "new doc". Of course i have saved several times (control+s)
    but i do not remember it asking me about file name or folder. Today my comp crashed and i do not find the file. Just found 2 files (a tmp and one with no extension)
    : one with 174 mg and another one with almost 2 gb. Is there any possibility to recover my work? Photoshop did not oppened a thing when i restarted comp
    Thanks in advance

    The TMP file is your Scratch Disk file, and cannot be "recovered" to an Image file.
    Your second file might be almost anything. Though designed more for video files, both G-Spot and MediaInfo (both free file info utilities), CAN read several Still Image file types, and might help point out what that file (the one with no extension) really is. OTOH, as it could be almost anything, it could be that there is no header info in the file, for either to read.
    Good luck,
    Hunt
    PS - Before I did much additional work, I would investigate WHY your computer shut down. If you are on a PC, I would go into Event Viewer, at the time of the shutdown, and see if you can track down any warning, or error messages, in both the System and Applications Tabs. I am pretty sure that a Mac has similar, but have not a clue where, or even what it would be called.

  • Help needed to run JSTL 1.1 in Tomcat 6.0.16

    Hi All,Help needed to run JSTL 1.1 in Tomcat 6.0.16. I am trying to run the example given in http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html The example tries to connect to MySQL database from JSP using JSTL and JNDI Datasource.I am running the example using Eclipse 3.4.2 using Sysdeo plugin to start and stop Tomcat server from Eclipse IDE.
    My web.xml file has <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    </web-app>
    and test.jsp has proper taglib directives
    <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    I have placed the jstl.jar and standard.jarof the jakarta-taglibs-standard-1.1.2.zip under E:\Deepa\workspace\DBTest\WebContent\WEB-INF\lib directory also placedcontext.xml file under E:\Deepa\workspace\DBTest\WebContent\META-INF and the content of context.xml is as below
    <Context path="/DBTest" docBase="DBTest"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="deepa" password="mysql" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
    </Context>
    Now while running the example, Eclipse creates one DBTest.xml file under C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost
    which has the following line:
    <Context path="/DBTest" reloadable="true" docBase="E:\Deepa\workspace\DBTest" workDir="E:\Deepa\workspace\DBTest\work" />
    I am getting the following error when running http://localhost/DBTest/WebContent/test.jsp
    in Browser:
    <HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
    org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
    org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
    org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
    org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148)
    org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:431)
    org.apache.jasper.compiler.Parser.parseDirective(Parser.java:494)
    org.apache.jasper.compiler.Parser.parseElements(Parser.java:1444)
    org.apache.jasper.compiler.Parser.parse(Parser.java:138)
    org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
    org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    In the Tomcat Server console, I am getting the following error:
    INFO: Server startup in 7295 ms
    May 20, 2009 6:36:48 AM org.apache.jasper.compiler.TldLocationsCache processWebDotXml
    WARNING: Internal Error: File /WEB-INF/web.xml not found
    May 20, 2009 6:36:48 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/sql cannot be resolved in either web.xml or the jar files deployed with this application
    what is the problem with my code?
    When running the same example, by creating a local server in Eclipse(creating new Server connection pointing to same Tomcat 6.0 installation) it runs fine without any error.

    Hi evnafets,
    Wow, very helpful information, great insight into working of Eclipse. Thanks a lot.
    I have one more question. I have a context.xml file under {color:#0000ff}E:\Deepa\workspace\DBTest\WebContent\META-INF{color} folder and that has the Resource element to connect to MySQL database:
    {code{color:#000000}}{color}<Context path="/DBTest" docBase="DBTest" debug="5" reloadable="true" crossContext="true">
    <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="deepa" password="mysql" driverClassName="com.mysql.jdbc.Driver"
    {color:#0000ff}url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>{color}
    {color:#0000ff}</Context>{color}As usual when running application in local Tomcat server of Eclipse, this data source works fine. But when I run the application on Tomcat, by starting Sysdeo plugin from Eclipse, the DBTest.xml file created in C:\Tomcat 6.0\conf\Catalina\localhost has the context entry as<Context path="/DBTest" reloadable="true" docBase="E:\Deepa\workspace\DBTest\WebContent" workDir="E:\Deepa\workspace\DBTest\work">
    </Context>The<Resource> element I have specified in the context.xml of \WebContent\META-INF folder is not taken into account by Tomcat and it gives the following error:May 21, 2009 5:20:04 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException_: Cannot create JDBC driver of class '' for connect URL 'null'"
    _at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(_QueryTagSupport.java:276_)
    at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(_QueryTagSupport.java:159_)
    at org.apache.jsp.test_jsp._jspx_meth_sql_005fquery_005f0(_test_jsp.java:113_)
    at org.apache.jsp.test_jsp._jspService(_test_jsp.java:66_)
    at org.apache.jasper.runtime.HttpJspBase.service(_HttpJspBase.java:70_)
    at javax.servlet.http.HttpServlet.service(_HttpServlet.java:717_)
    at org.apache.jasper.servlet.JspServletWrapper.service(_JspServletWrapper.java:374_)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(_JspServlet.java:342_)
    at org.apache.jasper.servlet.JspServlet.service(_JspServlet.java:267_)
    at javax.servlet.http.HttpServlet.service(_HttpServlet.java:717_)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:290_)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:206_)
    at org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:233_)
    at org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:191_)
    at org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:128_)
    at org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:102_)
    at org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:109_)
    at org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:286_)
    at org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:845_)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(_Http11Protocol.java:583_)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(_JIoEndpoint.java:447_)
    at java.lang.Thread.run(_Thread.java:619_)
    {code}
    So to overcome this error I had to place the <Resource> element in DBTest.xml under C:\Tomcat 6.0\conf\Catalina\localhost {color:#000000}and then it works fine. {color}{color:#ff0000}*Why is the context.xml file in META-INF not considered by Tomcat server using Sysdeo Plugin?*
    *Thanks,*
    *Deepa*{color}
    {color}
    Edited by: Deepa76 on May 26, 2009 9:32 PM

  • Help Needed REP-1800 Formatter error VGS-1701 Not enough memory

    Hi. Gents
    Help needed
    I’m working on a Report, it gets some 2 million records and the report pages are approximately 52,000
    It works fine if the pages are lesser then 48,000 or the data is less let say one and half a million, the problem occurs only after 48000 + pages formatted.
    Report is generated successfully when trying to go to the last page it throw an error.
    REP-1800 Formatter error
    VGS-1701 Not enough memory
    I have already gone through the metalink DOC Id 95505.1 as well as OTN
    But all in vain,
    Any comments or help much appreciated.
    Details are:
    Reports 6i (Clients/Server) on Windows platform
    (Windows XP Professional with SP 2)
    Database: Oracle9i Enterprise Edition Release 9.2.0.5.0
    Computer:
    Pentium(R) 4, CPU 3.00GHz, 1 GB of RAM
    Still 20 GB free space
    Thanks & Regards

    I don't see the point in making a report with more than 48,000 pages, I think Al Gore will not be happy when you start printing it...
    The problem might be caused by the fact that Reports needs to format all output at once, and then even 1GB of memory will probably be not enough. Formatting all pages at once is needed if you use pagination with displaying total number of pages. If you have this, try to get that out of the report definition and try again.

  • EXCEPTION_ACCESS_VIOLATION encountered !!! Help Needed

    Hi,
    I have a java code thru which i try to call one simple C program.
    I am passing 6 int arrays to it and some calculations happen in C code and i get back the data in one single array.(float)
    Strange thing is,it works fine if the array size is less...(say array length 150) But if i try to send more than tht i am getting the following error.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910de3, pid=1480, tid=3948
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x10de3]
    # An error report file with more information is saved as hs_err_pid1480.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Can any one please tell me how to handle this exception.
    C code is generic.. i.e., no lengths are hardcoded. But still if the length is higher i am getting this error.. Please help..
    Java Code
    //Class which contains Native Method declaration
    class NativeConstellation
    native public float[] MIMO(int mode, int[] Y_Re, int[] dH_Re, int[] H_Re, int[] Y_Im, int[] dH_Im, int[] H_Im, float[] ConstPoints);
    //Loads the file Native.DLL at run-time
    static
    System.loadLibrary("Constellation");
    // Native Function Call
    NativeConstellation nativeConstellation = new NativeConstellation();
    float[] Points = Points = nativeConstellation.MIMO(mode,nY_Real,ndH_Real,nH_Real,nY_Img,ndH_Img,nH_Img,ConstPoints);
    C Code
    JNIEXPORT jfloatArray JNICALL Java_dm_utils_NativeConstellation_MIMO(JNIEnv *env, jobject obj, jint mode, jintArray Y_RE, jintArray dH_RE, jintArray H_RE,jintArray Y_IM, jintArray dH_IM, jintArray H_IM,jfloatArray rxdarray)
         //Global Declaration
         int i = 0, j=0;
         // Parameters
         int nTxAnt ;
         int nRxAnt = 4 ;
         int nY=0, nH=0;
         int index =0;
         int nt, nr, length,Length = 0;
         iCOMPLEX ***H, ***dH, **Y;
         fCOMPLEX **constel;
         int **antenna_idx;
         int ArrayIndex = 0;
         int Mode = mode;
         FILE *fp_out, *fp_y, *fp_H, *fp_dH;
         // DL MIMO modes
         //   mode 1 : DL 1x4 QPSK (NM,BC)
         //   mode 2 : DL 2x4 QPSK (IC)
         //   mode 3 : DL 2x4 16QAM (NM)
         //   mode 4 : DL 4x4 16QAM (NM)
         // Get length of all 3 arrays
         unsigned int  Y_length = (*env)->GetArrayLength(env,Y_RE);
         unsigned int  dH_length = (*env)->GetArrayLength(env,dH_RE);
         unsigned int  H_length = (*env)->GetArrayLength(env,H_RE);
         //Added for Returning the floatarray
           jboolean isCopy1;
         jboolean isCopy2;
           jfloat* srcArrayElems = (*env) -> GetFloatArrayElements(env,rxdarray, &isCopy1);
           jint n = (*env) -> GetArrayLength(env,rxdarray);
         jfloatArray result = (*env) -> NewFloatArray(env,n);
           jfloat* destArrayElems = (*env) -> GetFloatArrayElements(env,result, &isCopy2);
         // Get the elements from the int arrays          
         //Real Part
         jint *Y_Elements_Re = (*env)->GetIntArrayElements(env,Y_RE, 0);                         
         jint *dH_Elements_Re = (*env)->GetIntArrayElements(env,dH_RE, 0);
         jint  *H_Elements_Re = (*env)->GetIntArrayElements(env,H_RE, 0);
         //Imaginary Part
         jint *Y_Elements_Im = (*env)->GetIntArrayElements(env,Y_IM, 0);                         
         jint *dH_Elements_Im = (*env)->GetIntArrayElements(env,dH_IM, 0);
         jint  *H_Elements_Im = (*env)->GetIntArrayElements(env,H_IM, 0);
         Length = Y_length/4;
         //    Memory allocation
         Y = (iCOMPLEX **) malloc( Length*sizeof(iCOMPLEX *) ) ;
         H = (iCOMPLEX ***) malloc( Length*sizeof(iCOMPLEX **) ) ;
         dH = (iCOMPLEX ***) malloc( Length*sizeof(iCOMPLEX **) ) ;
         constel = (fCOMPLEX **) malloc( Length*sizeof(fCOMPLEX *) ) ;
         antenna_idx = (int **) malloc( Length*sizeof(int *) ) ;
         for (length=0; length<Length; length++) {
              Y[length] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
              H[length] = (iCOMPLEX **) malloc( 4*sizeof(iCOMPLEX *) ) ;
              dH[length] = (iCOMPLEX **) malloc( 4*sizeof(iCOMPLEX *) ) ;
              constel[length] = (fCOMPLEX *) malloc( 4*sizeof(fCOMPLEX) ) ;
              antenna_idx[length] = (int *) malloc( 4*sizeof(int) ) ;
              for (nr=0; nr<4; nr++) {
                   H[length][nr] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
                   dH[length][nr] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
         //    Data read
         switch(Mode)
              case 1:               // DL 1x4 QPSK (NM, BC)
                   nTxAnt = 1;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode, Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_1x4_16QAM_constell.txt","w") ;
                   break;
              case 2:               // DL 2x4 QPSK (IC)
                   nTxAnt = 2;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode, Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_2x4_16QPSK_constell.txt","w") ;
                   break;
              case 3:               // DL 2x4 16QAM (NM)
                   nTxAnt = 2;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode,Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_2x4_16QAM_constell.txt","w") ;
                   break;
              case 4:               // DL 4x4 16QAM (NM)
                   nTxAnt = 4;
                   //fp_out = fopen("DL_4x4_16QAM_constell.txt","w") ;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode,Y_length*2, dH_length*2, H_length*2);
                   break;
              default:
                   break;
         //   Copy the Arrays into the actual Arrays here
         for ( length=0; length < Length; length++)
              for( nr=0 ; nr<nRxAnt ; nr++ )
                   Y[length][nr].re = Y_Elements_Re[nY];
                   Y[length][nr].im= Y_Elements_Im[nY++];
                   for( nt=0 ; nt<nTxAnt ; nt++ )
                        H[length][nr][nt].re = H_Elements_Re[nH];
                        H[length][nr][nt].im = H_Elements_Im[nH];
                        //printf("\nH : Real : %d - Imag : %d",length,H[length][nr][nt].re,H[length][nr][nt].im);
                        dH[length][nr][nt].re = dH_Elements_Re[nH];
                        dH[length][nr][nt].im = dH_Elements_Im[nH++];
                        //printf("\ndH : Real : %d - Imag : %d",dH[length][nr][nt].re,dH[length][nr][nt].im);
                   //printf("\nY : Real : %d - Imag : %d",Y[length][nr].re,Y[length][nr].im);
         length = Length;
         //    call MIMO_DL_DL()
         MIMO_DM_DL(Y, H, dH, Mode, length, constel, antenna_idx ) ;
         //MIMO_DM_UL(Y, H, mode, length, constel, antenna_idx ) ;
         //    Save to file
         for (length = 0; length < Length; length++)
              for( nt=0; nt<nTxAnt; nt++)
                   destArrayElems[ArrayIndex++] = (jfloat)antenna_idx[length][nt];      // Antenna ID
                   destArrayElems[ArrayIndex++] = (jfloat)constel[length][nt].im;       // Real - Q
                   destArrayElems[ArrayIndex++] = (jfloat)constel[length][nt].re;     // Imaginary - I
                   printf("\n %d,%f,%f ", antenna_idx[length][nt], constel[length][nt].im, constel[length][nt].re);
                   //fprintf(fp_out, "%d,%f,%f\n",antenna_idx[length][nt], constel[length][nt].im, constel[length][nt].re);
         //    Memory release
         for ( length = 0; length < Length; length++)
              printf("\nMemory Cleaning Started..  %d Total Length : %d",length,Length);
              for(nr = 0 ; nr < nRxAnt ; nr++)
                   free( H[length][nr] );
                   free( dH[length][nr] );
              free( H[length] ) ;
              free( dH[length] ) ;
              free( Y[length] ) ;
              free( constel[length] ) ;
              free( antenna_idx[length] ) ;
         printf("\nOutside for Memory Cleaning Started..  %d",length);
         free(H);
         free(dH);
         free(Y);
         free(constel) ;
         free(antenna_idx);
         printf("\nMemory Cleaning Done!!");
         if(isCopy1 == JNI_TRUE)
             (*env) -> ReleaseFloatArrayElements(env,rxdarray, srcArrayElems, JNI_ABORT);
         if(isCopy2 == JNI_TRUE)
             (*env) -> ReleaseFloatArrayElements(env,rxdarray, destArrayElems, 0);
         return result; // Return the Points Array
    }Please Help...

    Hi,
    I have a java code thru which i try to call one simple C program.
    I am passing 6 int arrays to it and some calculations happen in C code and i get back the data in one single array.(float)
    Strange thing is,it works fine if the array size is less...(say array length 150) But if i try to send more than tht i am getting the following error.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c910de3, pid=1480, tid=3948
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C [ntdll.dll+0x10de3]
    # An error report file with more information is saved as hs_err_pid1480.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Can any one please tell me how to handle this exception.
    C code is generic.. i.e., no lengths are hardcoded. But still if the length is higher i am getting this error.. Please help..
    Java Code
    //Class which contains Native Method declaration
    class NativeConstellation
    native public float[] MIMO(int mode, int[] Y_Re, int[] dH_Re, int[] H_Re, int[] Y_Im, int[] dH_Im, int[] H_Im, float[] ConstPoints);
    //Loads the file Native.DLL at run-time
    static
    System.loadLibrary("Constellation");
    // Native Function Call
    NativeConstellation nativeConstellation = new NativeConstellation();
    float[] Points = Points = nativeConstellation.MIMO(mode,nY_Real,ndH_Real,nH_Real,nY_Img,ndH_Img,nH_Img,ConstPoints);
    C Code
    JNIEXPORT jfloatArray JNICALL Java_dm_utils_NativeConstellation_MIMO(JNIEnv *env, jobject obj, jint mode, jintArray Y_RE, jintArray dH_RE, jintArray H_RE,jintArray Y_IM, jintArray dH_IM, jintArray H_IM,jfloatArray rxdarray)
         //Global Declaration
         int i = 0, j=0;
         // Parameters
         int nTxAnt ;
         int nRxAnt = 4 ;
         int nY=0, nH=0;
         int index =0;
         int nt, nr, length,Length = 0;
         iCOMPLEX ***H, ***dH, **Y;
         fCOMPLEX **constel;
         int **antenna_idx;
         int ArrayIndex = 0;
         int Mode = mode;
         FILE *fp_out, *fp_y, *fp_H, *fp_dH;
         // DL MIMO modes
         //   mode 1 : DL 1x4 QPSK (NM,BC)
         //   mode 2 : DL 2x4 QPSK (IC)
         //   mode 3 : DL 2x4 16QAM (NM)
         //   mode 4 : DL 4x4 16QAM (NM)
         // Get length of all 3 arrays
         unsigned int  Y_length = (*env)->GetArrayLength(env,Y_RE);
         unsigned int  dH_length = (*env)->GetArrayLength(env,dH_RE);
         unsigned int  H_length = (*env)->GetArrayLength(env,H_RE);
         //Added for Returning the floatarray
           jboolean isCopy1;
         jboolean isCopy2;
           jfloat* srcArrayElems = (*env) -> GetFloatArrayElements(env,rxdarray, &isCopy1);
           jint n = (*env) -> GetArrayLength(env,rxdarray);
         jfloatArray result = (*env) -> NewFloatArray(env,n);
           jfloat* destArrayElems = (*env) -> GetFloatArrayElements(env,result, &isCopy2);
         // Get the elements from the int arrays          
         //Real Part
         jint *Y_Elements_Re = (*env)->GetIntArrayElements(env,Y_RE, 0);                         
         jint *dH_Elements_Re = (*env)->GetIntArrayElements(env,dH_RE, 0);
         jint  *H_Elements_Re = (*env)->GetIntArrayElements(env,H_RE, 0);
         //Imaginary Part
         jint *Y_Elements_Im = (*env)->GetIntArrayElements(env,Y_IM, 0);                         
         jint *dH_Elements_Im = (*env)->GetIntArrayElements(env,dH_IM, 0);
         jint  *H_Elements_Im = (*env)->GetIntArrayElements(env,H_IM, 0);
         Length = Y_length/4;
         //    Memory allocation
         Y = (iCOMPLEX **) malloc( Length*sizeof(iCOMPLEX *) ) ;
         H = (iCOMPLEX ***) malloc( Length*sizeof(iCOMPLEX **) ) ;
         dH = (iCOMPLEX ***) malloc( Length*sizeof(iCOMPLEX **) ) ;
         constel = (fCOMPLEX **) malloc( Length*sizeof(fCOMPLEX *) ) ;
         antenna_idx = (int **) malloc( Length*sizeof(int *) ) ;
         for (length=0; length<Length; length++) {
              Y[length] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
              H[length] = (iCOMPLEX **) malloc( 4*sizeof(iCOMPLEX *) ) ;
              dH[length] = (iCOMPLEX **) malloc( 4*sizeof(iCOMPLEX *) ) ;
              constel[length] = (fCOMPLEX *) malloc( 4*sizeof(fCOMPLEX) ) ;
              antenna_idx[length] = (int *) malloc( 4*sizeof(int) ) ;
              for (nr=0; nr<4; nr++) {
                   H[length][nr] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
                   dH[length][nr] = (iCOMPLEX *) malloc( 4*sizeof(iCOMPLEX) ) ;
         //    Data read
         switch(Mode)
              case 1:               // DL 1x4 QPSK (NM, BC)
                   nTxAnt = 1;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode, Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_1x4_16QAM_constell.txt","w") ;
                   break;
              case 2:               // DL 2x4 QPSK (IC)
                   nTxAnt = 2;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode, Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_2x4_16QPSK_constell.txt","w") ;
                   break;
              case 3:               // DL 2x4 16QAM (NM)
                   nTxAnt = 2;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode,Y_length*2, dH_length*2, H_length*2);
                   //fp_out = fopen("DL_2x4_16QAM_constell.txt","w") ;
                   break;
              case 4:               // DL 4x4 16QAM (NM)
                   nTxAnt = 4;
                   //fp_out = fopen("DL_4x4_16QAM_constell.txt","w") ;
                   printf("In native method printing 2-D byte array  : %d   %d   %d  %d\n",Mode,Y_length*2, dH_length*2, H_length*2);
                   break;
              default:
                   break;
         //   Copy the Arrays into the actual Arrays here
         for ( length=0; length < Length; length++)
              for( nr=0 ; nr<nRxAnt ; nr++ )
                   Y[length][nr].re = Y_Elements_Re[nY];
                   Y[length][nr].im= Y_Elements_Im[nY++];
                   for( nt=0 ; nt<nTxAnt ; nt++ )
                        H[length][nr][nt].re = H_Elements_Re[nH];
                        H[length][nr][nt].im = H_Elements_Im[nH];
                        //printf("\nH : Real : %d - Imag : %d",length,H[length][nr][nt].re,H[length][nr][nt].im);
                        dH[length][nr][nt].re = dH_Elements_Re[nH];
                        dH[length][nr][nt].im = dH_Elements_Im[nH++];
                        //printf("\ndH : Real : %d - Imag : %d",dH[length][nr][nt].re,dH[length][nr][nt].im);
                   //printf("\nY : Real : %d - Imag : %d",Y[length][nr].re,Y[length][nr].im);
         length = Length;
         //    call MIMO_DL_DL()
         MIMO_DM_DL(Y, H, dH, Mode, length, constel, antenna_idx ) ;
         //MIMO_DM_UL(Y, H, mode, length, constel, antenna_idx ) ;
         //    Save to file
         for (length = 0; length < Length; length++)
              for( nt=0; nt<nTxAnt; nt++)
                   destArrayElems[ArrayIndex++] = (jfloat)antenna_idx[length][nt];      // Antenna ID
                   destArrayElems[ArrayIndex++] = (jfloat)constel[length][nt].im;       // Real - Q
                   destArrayElems[ArrayIndex++] = (jfloat)constel[length][nt].re;     // Imaginary - I
                   printf("\n %d,%f,%f ", antenna_idx[length][nt], constel[length][nt].im, constel[length][nt].re);
                   //fprintf(fp_out, "%d,%f,%f\n",antenna_idx[length][nt], constel[length][nt].im, constel[length][nt].re);
         //    Memory release
         for ( length = 0; length < Length; length++)
              printf("\nMemory Cleaning Started..  %d Total Length : %d",length,Length);
              for(nr = 0 ; nr < nRxAnt ; nr++)
                   free( H[length][nr] );
                   free( dH[length][nr] );
              free( H[length] ) ;
              free( dH[length] ) ;
              free( Y[length] ) ;
              free( constel[length] ) ;
              free( antenna_idx[length] ) ;
         printf("\nOutside for Memory Cleaning Started..  %d",length);
         free(H);
         free(dH);
         free(Y);
         free(constel) ;
         free(antenna_idx);
         printf("\nMemory Cleaning Done!!");
         if(isCopy1 == JNI_TRUE)
             (*env) -> ReleaseFloatArrayElements(env,rxdarray, srcArrayElems, JNI_ABORT);
         if(isCopy2 == JNI_TRUE)
             (*env) -> ReleaseFloatArrayElements(env,rxdarray, destArrayElems, 0);
         return result; // Return the Points Array
    }Please Help...

  • Help need to switch Muse site to BC on a allready hosted plan

    Hi,  i also posted on BC forum...
    I have a client that was in a hurry to have his emails accounts before the entire website.
    So i went on and bought the email marketing plan (cos he will also need to do email campains) an pointed his domain everything is working fine, at this moment he has his accounts the domain is live.
    The site would be just a small 7-10 pages not to complicated.
    Has a graphic designer (who has venture into Business catalyst cos it had all the solutions i needed, well that's what the promotional videos said anyway) I made a site in Muse.
    First i did a temporary page thats says "comming soon", and then i made the entire site, all the design and menu but with blank pages cos the client didnt have all the content yet (and still dont have). I uploaded that site to a sub directory so he could see the evolution.
    He approved the design, yay!
    At the end of the process, he told me he needed to have full control with the editor. (style, images, bulleted list, need to put downloadable document like pdf etc.) i told him that he could only modify what was allready there with the Muse in Browser editing (that he saw when i made the pitch using another site) he was impress with the way it worked.
    so i told him i would have to remake "template".
    I thought of using a BC template, and modify the looks to adapt to my client image, Of course, use a responsive theme so he could make the change at one place only. (cos in Muse you need to make the changes on the 3 layouts).
    Now, i created a new temporary site using one of the new responsive template available.
    How can i import that new site onto his live domain? In other words, how can a switch from a theme made in Muse, to a BC template?
    cant i just delete everything in the root folder, and upload the entire new site via ftp?
    please help me find the solution. i am a bit in a panic here
    hope you could understand my lousy English.
    Sincerely,
    i.d.

    This would need to be transparent for m'y client...
    Y
    Envoyé de mon iPhone
    Le 2014-04-20 à 15:29, Sanjit_Das <[email protected]> a écrit :
    Re: help need to switch Muse site to BC on a allready hosted plan
    created by Sanjit_Das in Help with using Adobe Muse CC - View the full discussion
    Thanks for additional details.
    Unfortunately we cannot change site template of a live site in BC , but as a workaround Create a site from BC using the template you wish to use then publish the site from Muse to the site created from BC and transfer the contents stored from live site to trial site. Ater final transition is done , you can delete the already paid site and make live the new trial site which includes new site template.
    Thanks,
    Sanjit
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6314730#6314730
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6314730#6314730
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6314730#6314730. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Help needed in Substitution & User Exit.

    Hi Experts,
    I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
    The user need to enter the bank key and acc no and  need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
    Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
    Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
    <b>Can any one of you by any luck have a feasible solution for this ?</b>

    hi Saurav.
    there are 14 user exits in thsi transaction. these are as follows
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    check if anyone of them meets ur requiremnt
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Help needed to enhance Image Processor Pro Script to save transparency in TIF

    Hi everyone,
    this is my first post in this community.
    We have a droplet which reduces the resolution of tif images to 72dpi and save the tif image with transparency. This works fine, but it took to long for the whole process of many picture in different folders. That's the reason why we searched for another script which can preserve the folder structure and set the resolution of every tif image to 72dpi.
    We found Image Processor Pro, which does exactly what we needed. The script works perfectly in CS5 and CS5.5 as it saves the tif with the transparency. Those saved tif images could be used in InDesign with the transparency.
    BUT Image Processor Pro script works not so perfectly in CS6 as it seems that this option to save a tif with transparency is not implemented or does not work in the script. The result is that those converted tif images are w/o transparency in InDesign. That's a huge problem for us.
    This is the point where I need your help. Neither I have experience yet with jsx-files nor with the right syntax of it.
    Is there a way for anybody of you to implement / enhance Image Processor Pro so it will save tif with transparency?
    We used the latest German Version of Image Processor Pro: 2.3.1 (link: http://www.russellbrown.com/scripts.html)
    (The German version contains only german on screen texts!)
    I am very thankful for every help you can give.
    Thanks in advance for your help.

    Possible causes:
    1) It probably has nothing to do with your image files, but you won't know until someone else tests one of them. You could create a small 50% gray TIFF file with transparency and post it, assuming you know it exhibits the issue with IPP.
    2) At the download link you provided:
    http://www.russellbrown.com/scripts.html
    There are two installers for Image Processor (CS5 and CS6). Did you download and install the CS6 Version Installer?
    3) Another possible solution other than modifying the script is to reset the PS Preferences file. When strange things happen in PS with no explanation this usually fixes them. My PS CS6 was inflating  all new files by 1.4MB. After examining one of the files it turned out PS was inserting a Costco printer profile into every new file. So don't automatically assume your PS image files are not somehow being corrupted and causing loss of transparency in IPP. Creating a new Preferences file resolved my issue:
    http://forums.adobe.com/thread/375776
    You may want to record your old Preferences settings prior to creating a new one, but test it first with the default settings.

  • Help needed to resolve there is no attribute X errors..

    On my website http://www.dorffdesign.nl/ there is a problem. Ive put the FB Like button there and it worked fine for a while. But now its gone. So ive run
    http://validator.w3.org/ on it and came up with the next errors:
    ========================================================================================== ==============================================
      Line 232, Column 32: there is no attribute "data-href" <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" da… ✉  
      Line 232, Column 71: there is no attribute "data-send" …http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces=… ✉  
      Line 232, Column 89: there is no attribute "data-width" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div> ✉  
      Line 232, Column 111: there is no attribute "data-show-faces" …orffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    ========================================================================================== ===============================================
    In dreamweaver ive use this code for the FB likke button:
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/nl_NL/all.js#xfbml=1";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    ========================================================================================== ===========
    <div class="fb-like" data-href="http://www.dorffdesign.nl/" data-send="true" data-width="450" data-show-faces="true"></div>
    I really want to solve this so im hoping if you can point me into the right direction.
    Regards

    Hi ive bin able to put the fb like button on my page. But i totally forgot how i have to place the fb like button under the black box named portfolio.
    I hope you can tell me.
    Regards
    Date: Wed, 7 Nov 2012 07:41:54 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed to resolve there is no attribute X errors..
        Re: Help needed to resolve there is no attribute X errors..
        created by MurraySummers in Dreamweaver General - View the full discussion
    You can either ignore those errors (since they have no impact on your page's functionality) or you can use DW to convert your page to an HTML5 doctype (File > Convert > HTML 5, and then the errors will go away.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4829606#4829606
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4829606#4829606
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4829606#4829606. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Help needed in inbound IDoc for ORDERS....

    Hello all,
    I need help in IDoc for ORDERS.. Here is the situation. I have an ORDERS IDoc coming to my SAP system from my customer. When I see the SO it creates.. it says that it has incomplete data.. Information like pricing, inco terms, payment terms. load data, load date etc. is not filled in. How do get those filled automatically.. my customer can not, obviously, give me all the information needed for the SO.. Where do I configure and how?
    Thanks,
    Charles

    Hi,
    You can use user exits available in FM IDOC_INPUT_ORDERS to populate additional information.
    Also you can use form CUSTOMER_FUNCTION_DYNPRO to populate additional information for BDC screens of VA01. This form is available in FM IDOC_INPUT_ORDERS as well.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

Maybe you are looking for

  • My iPhoto requires an update to work but when I update it there is an error.

    Hello, I'm having problems with my iPhoto. I used to have the iLife of '09 (which I believe is version 8.0). I recently updated my macbook pro from 10.6.8 to 10.7.2 then through Software Update I updated my mac to 10.7.4. I'm not sure if the update e

  • ID help for basic rtmfp video stream app

    In the article: http://www.adobe.com/devnet/flashplayer/articles/rtmfp_cirrus_app.html I need help understanding the following section: "Now, create the receiving NetStream: private var recvStream:NetStream; recvStream = new NetStream(netConnection,

  • Button in bex analyzer workbook

    Hello all I am trying to customize a button in bex analyzer workbook (BI 7). I want to insert a planning sequence into the button. As far as i know (and as i did ), if the sequence contain variables, i should see in the static parameters : VAR_NAME_1

  • Recomended Language Translator Software for Email Use in iMac (latest ios)?

    Request recomendation for All Purpose Email Language Translator Software to install on iMac Intel (latest ios version installed)

  • Also can't upgrade - "Older version of ASI can't be removed"

    If I go to Windows Installer and try to uninstall the Apple Software Installer it tells me it can't find the file applesoftwareupdate.msi. I have searched my computer and the file is not there. Now that I've uninstalled my old version of iTunes (7.3.