webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Creating objects of class int

    Posted Mon August 18, 2003 10:50 AM

    Why can’t I create new instances of main classes like int, float etc.?? -I can only create objects from the class tree below. I use the tamino mobile suite 1.1, so do I need to set anything up??


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: Creating objects of class int

    Posted Mon August 18, 2003 11:03 AM

    I can see it errors in the command-window:

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1476)
    at com.covigo.plugins.ResourceEditor.CreationPanel.a(CreationPanel.java:
    265)
    at com.covigo.plugins.ResourceEditor.CreationPanel.actionPerformed(Creat
    ionPanel.java:109)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
    67)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
    ctButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
    .java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257
    )
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
    istener.java:258)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214
    )
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)


    #Tamino
    #webMethods
    #API-Management


  • 3.  RE: Creating objects of class int

    Posted Tue August 19, 2003 11:56 AM

    Work-around: I inserted




    directly in the StartModel.cml file, and now it is possible to use the Int objects


    #webMethods
    #Tamino
    #API-Management