Rmic and "contains an invalid return type."

Hello,
since two days, rmic does not compile anymore. rmic is called via an Ant job like this:
<javac srcdir="${src}" destdir="${bin}" depend="true">
</javac>
<rmic base="${bin}" includes="../**/*.class" iiop="true" idl="true">
</rmic>
And I get errors like
[rmic] error: Class Session contains an invalid return type.
in the Eclipse output console. On the other hand, the Session interface looks like this:
public interface Session extends Remote {
public Enumeration enumerateLocks() throws RemoteException;
[more Methods]
(yes, all methods throw RemoteException)
If I comment out all methods of Session, other messages appear, such as:
[rmic] error: Class ....AccessService contains an invalid argument type in method findSession.
[rmic] error: Class Loader contains an invalid return type.
[rmic] error: Class ....Service contains an invalid argument type in method init.
All classes compile fine with both Jikes and the Eclipse compiler.
Thanks for any help,
Johann

Sorry, even if I comment out Enumeration, rmic will not compile the classes. To me it looks like something in the interface for Session is wrong, but I dont know what it is...
public interface Session extends Remote {
public Unique sessionID() throws RemoteException;
public long sessionCreated() throws RemoteException;
public long sessionDestroyed() throws RemoteException;
public void destroySession() throws RemoteException;
public int actionsPerformed() throws RemoteException;
public Enumeration enumerateActions() throws RemoteException;
public Lock createLock(Reference ref) throws RemoteException, LockedException;
public Lock createLock(Reference ref, long milliseconds)
throws RemoteException, LockedException;
public void releaseAllLocks() throws RemoteException;
public Enumeration enumerateLocks() throws RemoteException;
public boolean isDestroyed() throws RemoteException;
If I comment out all methods in Session, I can compile Session with rmic, but other errors appear:
[rmic] error: Class ...AccessService contains an invalid argument type in method isValidSession.
[rmic] error: Class Loader contains an invalid return type.
[rmic] error: Class ...Service contains an invalid argument type in method init.

Similar Messages

  • Upload from iAd Producer fails with error "The Ad contains an invalid banner type".

    I worked half a day on an ad in iAd Producer, only to see it fails right after the upload with this error:
    "The Ad contains an invalid banner type"
    "iAd Workbench currently accepts standard banners. Remove all other banner types and try upload your banner again."
    The error and the documentation give no hints on what these "standard banners" are exactly. My project is based on the Tap - Web iAd Blueprint, which requires a bunch of images to be created. I created all of these, regular images as jpeg, transparent images as png. At first the png's were normal (24-bit), but then I read in the help that 8-bit is required. Downgrading the png's to 8-bit didn't help to fix the error though. I also tried recreating the whole project, but it didn't help: same error.
    Before the upload, I get this vague warning:
    "Are you sure you want to upload your project with assets missing? There are 0 assets you haven't provided yet."
    Sounds like a bug. This warning was there in my 1st and in my 2nd project, the 2nd one being the exact copy.
    Finally I want to say that simulating in the simulator or Safari, or uploading to the sandbox works fine.
    I'm using version 4.2 of iAd Producer on OS X 10.9.2.
    Can anyone help me?
    Has anyone been successful with the Tap - Web iAd Blueprint?

    The Tap to Web blueprint for iPad contains banner types currently not supported in iAd Workbench.  Delete the MRec and Full Page banners and you should be able to upload.
    -Mark

  • I bought Adobe Photoshop Elements 13 from wal mart today, and when i go to type in my redemption code to get my serial number it says my redemption code is invalid? and yes i have done it with caps and without caps, ive tried everything and I dont know wh

    I bought Adobe Photoshop Elements 13 from wal mart today, and when i go to type in my redemption code to get my serial number it says my redemption code is invalid? and yes i have done it with caps and without caps, ive tried everything and I dont know what to do anymore. I know its non returnable once opened and the package wasnt tampered with when I bought it. im at a loss on what to do

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    -and https://forums.adobe.com/thread/1572504
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • Invalid method declaration; return type required

    The code:
              public Reminder(int seconds) {
            timer = new Timer();
            timer.schedule(new RemindTask(), seconds*1000);
        class RemindTask extends TimerTask {
            public void run() {
                System.out.format("Time's up!%n");
                timer.cancel(); //Terminate the timer thread
    public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JDialog.setDefaultLookAndFeelDecorated(true);
              try
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              catch (Exception ex)
                   System.out.println("Failed loading L&F: ");
                   System.out.println(ex);
           new superball();
                    new Reminder(5);
            System.out.format("Task scheduled.%n");
    //= End of Testing =
        }Gives:
    "invalid method declaration; return type required"
    If i add void to public Reminder(int seconds) {It prints:
    cannot find symbol
    symbol : class Reminder
    location: class superball
    new Reminder(5);
    Is it because of the public class?
    public class superball extends JFrameHere is the FULL code:
    /*                      superball                                 */
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.regex.Pattern;
    import java.util.Timer;
    import java.util.TimerTask;
    import java.util.*;
    import java.io.*;
    * Summary description for superball
    public class superball extends JFrame
         // Variables declaration
         int ballx;
      int bally;
         int jumpstop;
         int stopper;
         int coin;
         int coinx;
         int coiny;
         int coinvaluex;
         int coinvaluey;
      Timer timer;
      private int value = 0;
         private static Random r = new Random();
         private JLabel jLabel1;
         private JLabel jLabel2;
         private JLabel jLabel4;
         private JLabel jLabel5;
         private JLabel jLabel7;
         private JLabel jLabel9;
         private JLabel jLabel10;
         private JPanel contentPane;
         private JPanel jPanel1;
         // End of variables declaration
         public superball()
              super();
              initializeComponent();
              // TODO: Add any constructor code after initializeComponent call
              this.setVisible(true);
          * This method is called from within the constructor to initialize the form.
          * WARNING: Do NOT modify this code. The content of this method is always regenerated
          * by the Windows Form Designer. Otherwise, retrieving design might not work properly.
          * Tip: If you must revise this method, please backup this GUI file for JFrameBuilder
          * to retrieve your design properly in future, before revising this method.
         private void initializeComponent()
              jLabel1 = new JLabel();
              jLabel2 = new JLabel();
              jLabel4 = new JLabel();
              jLabel5 = new JLabel();
              jLabel7 = new JLabel();
              jLabel9 = new JLabel();
              jLabel10 = new JLabel();
              coin = 1;
              coinx = Math.abs(r.nextInt()) % 460 + 100;
              coiny = Math.abs(r.nextInt()) % 200 + 100;
              ballx = 342;
              bally = 338;
              jumpstop = 0;
              stopper = 13;
              contentPane = (JPanel)this.getContentPane();
              jPanel1 = new JPanel();
              // jLabel1
              jLabel1.setIcon(new ImageIcon("IMG\\coin.gif"));
              jLabel1.setText("0");
              // jLabel2
              jLabel2.setIcon(new ImageIcon("IMG\\logo.PNG"));
              // jLabel4
              jLabel4.setIcon(new ImageIcon("IMG\\black.GIF"));
              // jLabel5
              jLabel5.setIcon(new ImageIcon("IMG\\ballstanding2.gif"));
              // jLabel7
              jLabel7.setIcon(new ImageIcon("IMG\\star-heart.gif"));
              jLabel7.setText(" 100");
              // jLabel9
              jLabel9.setIcon(new ImageIcon("IMG\\coin.gif"));
              // jLabel10
              jLabel10.setIcon(new ImageIcon("IMG\\stage1.GIF"));
              // contentPane
              contentPane.setLayout(null);
              contentPane.setBackground(new Color(255, 254, 254));
              addComponent(contentPane, jLabel5, 342,338,60,18);
              addComponent(contentPane, jLabel1, 561,4,100,18);
              addComponent(contentPane, jLabel2, 2,3,208,24);
              addComponent(contentPane, jLabel7, 495,4,60,18);
              addComponent(contentPane, jLabel9, coinx,coiny,19,18);
              addComponent(contentPane, jLabel2, 2,3,208,24);
              addComponent(contentPane, jLabel10, -2,29,738,412);
              addComponent(contentPane, jPanel1, 79,209,200,100);
              // jPanel1
              jPanel1.setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
              jPanel1.setFocusable(true);
              jPanel1.addKeyListener(new KeyAdapter() {
                   public void keyPressed(KeyEvent e)
                        jPanel1_keyPressed(e);
                   public void keyReleased(KeyEvent e)
                        jPanel1_keyReleased(e);
                   public void keyTyped(KeyEvent e)
                        jPanel1_keyTyped(e);
              // superball
              this.setTitle("Superball created by Hannes Karlsson");
              this.setLocation(new Point(0, 0));
              this.setSize(new Dimension(617, 450));
              this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
              this.setResizable(false);
         /** Add Component Without a Layout Manager (Absolute Positioning) */
         private void addComponent(Container container,Component c,int x,int y,int width,int height)
              c.setBounds(x,y,width,height);
              container.add(c);
         // TODO: Add any appropriate code in the following Event Handling Methods
         private void jPanel1_keyPressed(KeyEvent e)
              System.out.println("\njPanel1_keyPressed(KeyEvent e) called.");
              // TODO: Add any handling code here
              if(e.getKeyCode()==e.VK_LEFT) // when the user enters left
                  jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setIcon(new ImageIcon("IMG\\ballroll.gif"));
                        } // equalling PLAIN_SPEED
                                            if(e.getKeyCode()==e.VK_RIGHT) // when the user enters right
                  jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setIcon(new ImageIcon("IMG\\ballroll.gif"));
                        } // equalling PLAIN_SPEED
                                                                if(e.getKeyCode()==e.VK_UP) // when the user enters up
                  jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setIcon(new ImageIcon("IMG\\balljetpack.gif"));
                        } // equalling PLAIN_SPEED
                                                                                    if(e.getKeyCode()==e.VK_DOWN) // when the user enters up
                  jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setIcon(new ImageIcon("IMG\\ballroll.gif"));
                        } // equalling PLAIN_SPEED     
                        if(bally>=340)
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                                  System.out.println("LOW!!!");
                        if(bally<=-2)
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                        jLabel5.setLocation(new Point(ballx, bally++));
                                  System.out.println("HIGH!!!");
                                            if(ballx>=594)
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                        jLabel5.setLocation(new Point(ballx--, bally));
                                  System.out.println("RIGHT!!!");
                                                                if(ballx<=-3)
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                        jLabel5.setLocation(new Point(ballx++, bally));
                                  System.out.println("LEFT!!!");
                                                                           if (bally==294 && (ballx > 218 && ballx < 274))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                                                                           if (bally==262 && (ballx > 246 && ballx < 306))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                                                       if (bally==230 && (ballx > 486 && ballx < 562))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                                        if (bally==310 && (ballx > 486 && ballx < 594))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                         if (bally==262 && (ballx > 442 && ballx < 514))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
          if (bally==294 && (ballx > 378 && ballx < 466))
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                        jLabel5.setLocation(new Point(ballx, bally--));
                   // COIN
                         if ((bally > coiny-10 && bally < coiny+10) && (ballx > coinx-10 && ballx < coinx+10))
                coinx = Math.abs(r.nextInt()) % 617 + 1;
                coiny = Math.abs(r.nextInt()) % 300 + 1;
                   jLabel9.setLocation(new Point(coinx, coiny));
                        System.out.println("Coinx:"+coinx+"");
                        System.out.println("Coiny:"+coiny+"");
                        jLabel1.setText(""+ coin++ +"");
                        System.out.println("Ballx:"+ballx+"");
                        System.out.println("Bally:"+bally+"");
         private void jPanel1_keyReleased(KeyEvent e)
              System.out.println("\njPanel1_keyReleased(KeyEvent e) called.");
              // TODO: Add any handling code here
              jLabel5.setIcon(new ImageIcon("IMG\\ballstanding2.gif"));
         private void jPanel1_keyTyped(KeyEvent e)
              System.out.println("\njPanel1_keyTyped(KeyEvent e) called.");
              // TODO: Add any handling code here
         // TODO: Add any method code to meet your needs in the following area
    //============================= Testing ================================//
    //=                                                                    =//
    //= The following main method is just for testing this class you built.=//
    //= After testing,you may simply delete it.                            =//
    //======================================================================//
              public void Reminder(int seconds) {
            timer = new Timer();
            timer.schedule(new RemindTask(), seconds*1000);
        class RemindTask extends TimerTask {
            public void run() {
                System.out.format("Time's up!%n");
                timer.cancel(); //Terminate the timer thread
         public static void main(String[] args)
              JFrame.setDefaultLookAndFeelDecorated(true);
              JDialog.setDefaultLookAndFeelDecorated(true);
              try
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
              catch (Exception ex)
                   System.out.println("Failed loading L&F: ");
                   System.out.println(ex);
           new superball();
                    new Reminder(5);
            System.out.format("Task scheduled.%n");
    //= End of Testing =
    }

    No, it's because you can't have a constructor called Reminder if you don't have a class named Reminder.

  • Trouble defining an interface return type and parameter

    This is what I have so far
    interface Display {
       //Excel
       public HSSFRow createRow(HSSFSheet sheet);
       public HSSFWorkbook createContainer();
       //Pdf
       public Document createContainer(Document document);
       public Document createRow(Document document);
    }Really what I want is one method declaration called createRow() that has an unknown return type and an unknown input parameter type. Is there a way to accomplish this? I will have two classes implement this interface. An Excel class and a PDF class. Those two classes will contain the correct implementations of createContainer() and createRow().
    For example my Excel class will contain this
    public HSSFRow createContainer(){
    return new HSSFWorkbook();
    }and my pdf class will look something like this
    public Document createContainer(Document document){
    return new Document();
    }My main class then can do something like this:
    Display display;
    if(input.equals("xls")){
    display = new Excel();
    }else if(input.equals("pdf")){
    display = new Pdf();
    //Here I can call the correct method to build the outer container
    display.createContainer();What I'm trying to do is have reuse all my algorithms and just have generic calls to create the main container, rows, etc.I had a previous post on this but have created a new one thats more specific to interfaces because ideally I'd like use interfaces here if possible, but not if it will get more complicated than its worth.

    What generic things do you wish to be able to do with all documents? Whatever those things are, they are what should be defined in either an interface or abstract class.
    Here is an example (without any error checking), though it's not the only approach you could take:
    public interface ForumKidDocument {
         public void nextRow();
         public void addTableCell(String cellContent);
         public void save(File file);
         // add whatever other methods you want all documents to be able to do
    public class ExcelForumKidDocument implements ForumKidDocument {
         private HSSFWorkbook workbook;
         private HSSFSheet worksheet;
         private HSSFRow currentRow;
         private int row;
         private int col;
         public XLSForumKidDocument() {
              this.workbook = new HSSFWorkbook();
              this.worksheet = workbook.createSheet();
         public void nextRow() {
              this.currentRow = this.worksheet.createRow(row++);     
              col = 0;
         public void addTableCell(String cellContent) {
              HSSFCell cell = currentRow.createCell(col++);
              cell.setCellValue(cellContent);
         public void save(File file) {
              //TODO:  save workbook to the given File
    public class PDFForumKidDocument implements ForumKidDocument {
    }Then in your outer method, you work with ForumKidDocument instances, calling only ForumKidDocument methods, without having to know anything about the inner workings of the document type.

  • About return type and parameter type in IDL

    I don't know how to define return type and parameter type in
    operations in a module which are not listed in predefined in
    IDL. can I define these types as java class?
    can someone help me where a tutorial about this in detail can
    be found?
    thanks a lot

    My understanding is that if something is not in the IDL definition, then as far as the CORBA system is concerned it doesn't exist.
    Therefore any methods you create in a class that implements an IDL defined interface, that are outside that interface, are completely free and outside the CORBA system.
    The parameters and return types of these 'local native' methods should be java classes. All methods and variables outside the IDL spec will only be visible to the local JVM.
    ciao
    Jim
    PS - there is a zip file containing a very long and fairly messy demo of this behaviour at http://clio.mit.csu.edu.au/subjects/itc327/Asg2Demo.zip
    it has an html file which describes using additional non-IDL 'local native' methods for implementing a save/load function

  • Trying to remove an old version of I Tunes and keep getting the message "The folder path I Tunes contains an invalid character' . It won't let me go any further, have tried deleting/repairing the program but keep getting the same message?

    trying to remove an old version of I tunes, but keep getting the message 'The folder path I Tunes contains an invalid character'
    It won't let me go any further, have tried deleting/repairing but get the same message and am blocked from continuing?

    Hi Barbara,
    I had a similar problem recently and using the "more like this" feature I discovered an answer. To a problem posed by Holo7,  who like myself was a newbie on this platform,  b noir proposed a solution to Holo7's problem that also worked with my problem. It involves downloading a version of MS Windows Instal Cleanup and using it to completely remove all traces of the old version.
    If you look at my problem (follow OldGit66) and the link to Holo7's problem then you will find b noir's answer which I think may help you. I am new around here so you might want to wait for one of the higher status correspondents.
    Regards
    John

  • When installing or uninstalling iTunes I get 'The folder path 'My Music' contains an invalid character' and fails

    When installing or uninstalling iTunes I get 'The folder path 'My Music' contains an invalid character' and fails

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • I am trying to update iTunes and keep receiving the message "The folder path "My Music" contains an invalid character

    I am trying to update iTunes and keep receiving the message "The folder path "My Music" contains an invalid character.
    The folder where everything is stored isnt even called My Music, it is just called Music.
    I gave up on trying to update my itunes and removed it and am trying to re-download but receive the same message. Now I have no itunes on my computer at all.
    Short or wiping my computer and starting again I have no ideas left.
    Please help!

    That message isn't referring to the location of the music, it's referring to the location of the iTunes programme.
    So the message is either referring to the download location or the folder it is trying to install the programme in. I think (I wouldn't put money on this) that invalid characters will be things such as * ^ % and so on. When you get the message, look for the location that your computer is trying to use. Are there any strange characters in the "file path" that your computer is using?

  • I cannot load I Tunes or delete it as the download stops and says the folder path "program files"contains an invalid character, what can I do?

    I cannot load or delete I Tunes from my computer. What comes up is- The folder path "program files" contain an invalid character?

    That's normally produced by a damaged iTunes.msi. The basic treatment for it is given in the following user tip:
    ["not a valid short file name" and "invalid character" install errors|http://discussions.apple.com/thread.jspa?threadID=2368028]
    ... but since Microsoft pulled the Windows Installer CleanUp utility from their Downloads Center, things have grown more difficult. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now start with *step 4* from the user tip, and proceed from there.
    (If you do find a clean download site for the correct version of CleanUp, please don't tell me where it is. Without wishing to sound paranoid (although I grant it does sound paranoid), there is a non-zero chance that posting links to download locations for the utility here at Discussions leads to that download location being shut down.)

  • Difference between Return Po and Retuning with 122 movement type

    Dear Experts,
    i need some clarification on Return Po and retuning goods with 122 movement type in the context of Excise invoice.
    in our previous company we used 122 movement we capture excise invoice with J1IS and referring the incoming excise
    and return the material to vendor.
    in present company we are directly doing return Po and capturing excise invoice with J1is,here we are not capturing against the
    incoming excise,please clarify me.
    Regards,
    Varun

    Hi,
    Refer the below thread:
    Difference between 102, 122 and 161
    In terms of stock movement, both 122 and 161 represents the return delivery to your vendor. The difference takes place in terms of how you are returning your delivery to your vendor - It is movement type 161 that SAP will automatically propose if your return PO is referenced. Otherwise, 122 movement type will be used instead.
    Regards,
    Prashant
    Edited by: Prashant Prasad on Apr 22, 2011 8:51 AM

  • HT1338 I have a slide show in iphoto that I wish to export to iDVD, and when I attempt that I get and error message triangle, ! with the note "This movie contains an invalid data reference"  iphoto help does not seem to have any suggestions, that work.

    I have a slide show (project) that will not export.  The error triangle appears with the message: "This movie contains an invalid data reference"  What is the issue, and what is the solution?
    jh

    I found that the issue was with the title side, it had too many characters in the slide.  When the number of characters was diminished, the show loaded without issue.

  • How comples return types and parameters are mapped

    Hi all!
    I want to know how complex return types and parameters in a java interface gets mapped to wsdl? for example how would the wsdl for the following interface shall look like:
    interface ComplexReturns{
       java.util.Date getLuckyDate(java.util.Date DoB);
       myPack.MyClass getMyClass();
    }

    Hi,
    - In your application module, make a public method that returns an arry, for example an arry of strings[]
        public String[] returnTwoVals(){
            String[] returnvals = {"1","2"};
            return returnvals;
        }- expose this method in the application module
    - in the user interface drag/drop the returnTwoVals method on a page and choose to create a button.
    - double click the button to generate the binding code
        public String commandButton_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("returnTwoVals");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        }- you can access the values in the arry by adding this code after the Object result =...
       String[] vals = (String[])result;
       System.out.println(vals[0] + " - " + vals[1]);

  • IWeb 1.1.1 and "Invalid colorspace type"

    Every time (yes, every time) I publish my iWeb site to .mac, iWeb (v1.1.1) reports that publishing has failed due to a network error. If I leave iWeb open the data continues to upload in the background, although I can't see it. Once the network activity stops I close iWeb and trash the appropriate .plist file to reset the publish state to 'all published'.
    Anyway, I finally got around to remembering to inspect the console and I see the following:
    "Sep 18 22:44:09 2010 /Applications/iWeb.app/Contents/MacOS/iWeb: CMSCreateDataProviderOrGetInfo : Invalid colorspace type
    Sep 18 22:44:09 2010 /Applications/iWeb.app/Contents/MacOS/iWeb: CMSCreateDataProviderOrGetInfo : Invalid colorspace type
    Sep 18 22:48:19 2010 /Applications/iWeb.app/Contents/MacOS/iWeb: CMSCreateDataProviderOrGetInfo : Invalid colorspace type
    Sep 18 22:48:20 2010 /Applications/iWeb.app/Contents/MacOS/iWeb: CMSCreateDataProviderOrGetInfo : Invalid colorspace type"
    Could this be related to the failure to publish to .mac?
    PB 15", 1.67GHz     http://www.slog.me.uk/

    iLife'08 plus updates has made this problem go away. Everything seems much better now.

  • LabWindows/CVI and IMAQ - Invalid Image Type when saving bitmap

    I create and image, grab it, then display it, but when I go to save it using imaqWriteBMPFile, I get an error that maps to Invalid Image Type, so I use imaqCast to cast it to an IMAQ_IMAGE_U8 type (which is what the orignal image was created as), then it works, except that my image has changed, that looks like the contrast or something has changed. Any suggestions?
    Attachments:
    image.bmp ‏302 KB

    What kind of camera & IMAQ board are you using? I have seen similar problems when a 12 bit camera is used. The image is acquired as a 16 bit image, and if you just convert it to an 8 bit image, it ends up looking like the one you attached. To correctly convert to 8 bits, you need to shift the appropriate number of bits during the conversion. For a 12 bit camera, that would be 4 bits.
    Bruce
    Bruce Ammons
    Ammons Engineering

Maybe you are looking for