Constructor problem with super keyword

When I try to compile this class, I get 1 error:
C:\Program Files\Xinox Software\JCreatorV3\MyProjects\FixedDiameterCircle.java:6: cannot resolve symbol
symbol : constructor CircleGUI (int)
location: class CircleGUI
super(100);
^
1 error
class FixedDiameterCircle extends CircleGUI
     FixedDiameterCircle()
          super(100);     
     }//end FixedDiameterCircle()
public void setDiameter(int d)
}//end class FixedDiameterCircle
---------Here's the CircleGUI.java-------
import javax.swing.*; //import Swing components
import java.awt.*; //import awt components
import java.awt.event.*; //import event handlers
public class CircleGUI implements ActionListener
JTextField diameter = new JTextField(3); //text field for first name
JTextField color = new JTextField(5); //text field for last name
JButton button = new JButton("Draw"); //update button
JPanel panel = new JPanel(); //panel for frame content pane
JFrame frame = new JFrame("Draw"); //frame for window + title
public CircleGUI()
panel.add(new JLabel("Diameter")); //add a label to panel
panel.add(diameter); //add first to panel
panel.add(new JLabel("Color")); //add another label to panel
panel.add(color); //add a last to panel
button.addActionListener(this); //add a click listener to button
panel.add(button); //add button to panel
frame.setContentPane(panel); //set panel as frame's content
frame.setSize(120, 120); //set frame size (width, height)
frame.setVisible(true); //make frame visible
}//end CircleGUI()
public void actionPerformed(ActionEvent e)//executed when button is clicked
int d = Integer.parseInt(diameter.getText()); //get diameter
Circle circle; //declare Circle variable
if(color.getText().length() == 0) //if no color entered in field
{                                       //use JColorChooser below
Color rgb = JColorChooser.showDialog(frame, "Choose a Color", null);
if(rgb != null) //if Color rgb chosen
circle = new Circle(d,rgb); //instantiate Circle from Color
}//end if(color...
else
String c = color.getText(); //get color String
circle = new Circle(d,c); //instantiate Circle from String
}//end else
}//end actionPerformed()
public static void main(String[] args) //main method
CircleGUI cGUI = new CircleGUI(); //instantiate CircleGUI
}//end main()
}//end class CircleGUI
What's the problem?

CircleGUI does not have a constructor that takes an int. You need to either add this to CircleGui:public CircleGui(int diameter) { /* do stuff */ } or just cal super() instead of super(int). Which one is better is left as an exercise for the reader.

Similar Messages

  • RFC Implementation problems with SUP iOS

    Hi All,
    I have two RFCs, the first one is quite simple with two string inputs (defined as load parameters) and the output without any table. The Second one has several output tables and several inputs (String) including an Inputstructure.
    The first one is working fine, the second one doesnt work at all. I'm really sure that I implemented everything according to the Documenatation:
    Sybase Unwired Platform 2.1 > Sybase Unwired WorkSpace - Mobile Business Object Development 2.1 > Develop > Developing a Mobile Business Object > Creating Mobile Business Objects > Creating Multiple Mobile Business Objects From a Single Operation
    Are there any known pitfalls regarding the RFC implementation in SUP that are not documented? I'm trying to implent this RFC now for days and I'm not sure if its my fault or a bug in SUP....
    Thanks for any help

    If I understand your problem correctly you are not able to see the out parameters while creating an MBO in SUP? if that's the case, for multiple parameters as an out put you might have to implement a result checker, it will not turn up as an output while creating the MBO.
    Srinivas Divakarla

  • Problems with ABAP Keyword Documentation after install Internet Explorer 7

    After install Internet Explorer 7 I see left frame with tree in ABAP Keyword Documentation, but don't see right frame.
    I find note 857216, but it not approach.
    Product Version SAP R/3 ENTERPRISE 47X200
    SAP GUI 620 Final Release 6206.6.62.970
    Internet Explorer 7.0.5730.11

    Once the page is opened, try to refresh the page a few times. I have seen this couple of times but just refreshing the same will solve the problem I believe.
    Regards
    Kathirvel

  • Problem with metadb keyword in profile

    I am new to use of mirroring during Jumpstart ( I just upgraded my Jumpstart server to S9-09-04), and can't get past an error that says:
    Error in file "Profiles/us087.profile", line 5
    metadb c0t0d0s7 size 8192 count 3
    ERROR: Invalid keyword
    Here is the profile in question:
    install_type initial_install
    system_type standalone
    partitioning explicit
    cluster SUNWCXall
    metadb c0t0d0s7 size 8192 count 3
    metadb c0t2d0s7 size 8192 count 3
    filesys mirror:d0 c0t0d0s0 c0t2d0s0 5120 /
    filesys mirror:d10 c0t0d0s1 c0t2d0s1 2048 swap
    filesys mirror:d20 c0t0d0s3 c0t2d0s3 5120
    filesys c0t0d0s4 free
    filesys c0t2d0s4 free
    What am I missing?
    This server was upgraded from Solaris 8 using Live upgrade, are there new packages that I need to install? It should be something simple since I can't seem to find any messages regarding this.

    <b><font color="red">pmostrom</b></font> <font color="navy">I had this problem but you need to verify which version of check you are using. I initially tried to use metadb with version 1.64 but this failed with your error.
    I then found a copy of 1.65 on a 4/04 CD under Misc which will accept metadb as a keyword. There are other issues with this version and you should look for a newer version than this.</font>

  • Problem with super() call

    The following code is makin my compiler give me the error:
    Error: super() method calls only allowed in constructors
    Why is that happening? and what to fix it?
    Thanks
    //...some code
    public ProcessaArquivoOFCImpl(File arquivoentrada) throws RemoteException{//M�todo construtor
        //Preparando o registro do objeto
        String serverObjectName = "//localhost/OFCServer";
        try{
          Naming.rebind(serverObjectName, this);
        }catch(MalformedURLException Erro_URL){
          System.out.println("Erro na url de exporta��o");
        //Chama o construtor da superclasse (UnicastRemoteObject)
        super();
        ProcessaArquivoOFC(arquivoentrada);
      public void ProcessaArquivoOFC(File arquivoentrada){
    //...some more code

    To make the mothods be exported. Shouldnt that be done before? If not... can i put it after the super() call?Sure -- no clients need access to it until it's fully initialized, that should probably be the last thing you do.

  • Problem with static keyword

    I faced Problem while using static keyword in Netbeans 6.5

    'static' doesn't exist anymore in JavaFX Script. Instead, put your functions and variable definitions outside of your class. Then they will be script level, which is roughly equivalent to 'static' in Java.

  • Problem with Like Keyword

    Display the last name of all employees who have an a and an e in their last name using like keyword in oracle 10g...............

    870737 wrote:
    Display the last name of all employees who have an a and an e in their last name using like keyword in oracle 10g...............need to utilize "OR" in WHERE clause

  • Problem with Raise keyword

    exception
    when others then
    dbms_output.put_line('xxxxxx');
    dbms_output.put_line('xxxxx');
    raise;
    end;
    What is the use of Raise here, pls help, what does it do uin the exception part???

    Don't have the WHEN OTHERS exception here if we are not thinking of handling the exception.
    Go through this link : http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html
    And also the below example :
    SQL> declare
      2    n number;
      3  begin
      4    select level into n from dual
      5    connect by level <= 2;
      6  EXCEPTION
      7  WHEN OTHERS THEN
      8  dbms_output.put_line('Error : '|| dbms_utility.format_error_stack() || CHR(10) || dbms_utility.format_error_backtra
    ce());
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> edi
    Wrote file afiedt.buf
      1  declare
      2    n number;
      3  begin
      4    select level into n from dual
      5    connect by level <= 2;
      6* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at line 4
    SQL>

  • 'super' keyword problem....

    hi everyone,
    I had this starnge problem with super keyword,it gives me this compile error "Error(1042,11): method insertString(int, java.lang.String, javax.print.attribute.AttributeSet) not found in class javax.swing.text.PlainDocument"
    hope any one could help
    thanx
    Code:
    import javax.swing.text.AttributeSet;
    import javax.swing.text.BadLocationException;
    import javax.swing.text.PlainDocument;
    import javax.print.attribute.AttributeSet;
    class myDocPattern extends PlainDocument
      public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
        String oldText = this.getText(0,this.getLength());
        if (str.length() > 2 || "0123456789.".indexOf(str) < 0 || (str.equals(".") && offs <= 0) ||
           (oldText.length() > 3 && (oldText+str).indexOf(".") <= 1) || (oldText+str).length() > 7)
          java.awt.Toolkit.getDefaultToolkit().beep();
          return;
        super.insertString(offs, str, a);
    }

    I had this starnge problem with super keyword,it gives me this
    compile error "Error(1042,11): method insertString(int, java.lang.String,
    javax.print.attribute.AttributeSet)
    not found in class javax.swing.text.PlainDocument"
    > super.insertString(offs, str, a);Repeating what the compiler already told you: the superclass PlainDocument
    doesn't have a method named 'insertString' with a
    javax.print.attribute.AttributeSet type parameter; the last parameter type
    needs to be a javax.swing.text.AttributeSet. (identical class names in
    different packages).
    kind regards,
    Jos

  • Problems with Importing / Exporting Keywords and Meta Datas

    Hi to all!
    I recently upgraded to Aperture 3 and upgraded my referenced library.
    Today I opened the Keyword HUD and noticed some keywords splattered in my list, which seem to be any older ones, since the new numbering indicated that they are not applied to any pictures.
    So I deleted them.
    Than I noticed the <Imported Keywords> folder, opened it, and it contained also a large number of previous keywords. Also they seemed not to be in use, so I also removed them.
    Than I locked the Keyword HUD.
    Now my question: If I export a version, with the option for 'include metadata' ticked, and edit the version than in Photoshop, and after it, import it back into the Aperture library I do have the problem.
    I have tried 'Import Meta Datas' and and click 'Append'. Than it is recognizing the former keywords, which I would appreciate, but not as 'Imported Keywords'.
    If I would open the file w/ the External Editor and return it back, I guess I would not have this problem. Usually I do open the referenced RAW file, and import than the edited version back into Aperture. Keywords are stored in the Library, so I would not avail the former given keywords than, is that right?
    By the way are the keywords part of Meta Datas or not?
    Are there any workarounds?
    And had other people also problems with their keyword list after upgrading?
    Thank for any ideas / infos!
    Michael

    Added header to CSV and to Code
    $ImportFile = Import-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv" -Header Computer
    foreach ($Computer in $ImportFile){
    $path = "\\$Computer\c$\Epic\bin\7.9.2\Epic Print Service"
    $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullService//Cleanup | Select -ExpandProperty Node
    if ($xml.ArchiveHours -eq '12' -and $xml.DeleteHours -eq '120') {
    $Compliance = $True
    }Else{
    $Compliance = $False
    } "$Computer","$Compliance" | Export-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Results.csv"
    Results:
    select-xml : Cannot find path '\\@{Computer=SW1412-16985}\c$\Epic\bin\7.9.2\Epic Print Service\EpicPullService.config.xml' because it does not exist.
    At C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Check_PullServiceXML.ps1:4 char:8
    + $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (\\@{Computer=SW...vice.config.xml:String) [Select-Xml], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SelectXmlCommand
    If it is not a CSV file then just get it with Get-Content
    Get-Content C:\Users\UserName\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv |
        ForEach-Object{
            $computer=$_
            $path ="\\$computer\c$\Epic\bin\7.9.2\Epic Print Service\\EpicPullService.config.xml"
    ¯\_(ツ)_/¯

  • Problems with keywords?,

    Hello everybody,
    Recently I updated my iPhone 4S to iOS 6.
    Since then I keep having problems with the keywords hardware.
    At sudden moment it stops working and how many times I keep trying the words won't come.
    Example;
    When I want a heart i type : wx
    Normally: Goodbye: wx '<3' ==> <3
    Now: Goodbye wx
    and there ain't no heart coming, I tried new keywords but they didn't work either.
    The only solution I have, is to restart my iPhone. But this is NOT DONE.
    I hope it's not a matter of waiting till iOS 6.1.
    If somebody has a solution, tip or a remark, you can answer me here or @ my email adress: [email protected]
    Thanks and greetz !

    Never mind! (I think) - it turns out that I had a metadata preset to include those keywords - I have since cleared that box and now none of those offending keywords show up

  • Problems with constructors

    Hi guys im having problems with constructors. I get the following error:
    package\Cat5500IfXDescr.java:60: cannot resolve symbol
    symbol : constructor IfXDescrScanner(java.net.Inet,java.lang.String,java.lang.String,differentPackage.SNMPCommandObserver)
    location: class package.IfXDescrScanner
    super( InetAddress.getByName( device.getIpAddress()),
    I have a class SNMPCommand
    I have a class IfDescrScanner which extends SNMPCommand
    I have a class Cat5500IfXDescr which extends IfDescrScanner
    Here are the respective constructors:
         public SNMPCommand( InetAddress agentAddress, String readCommunityString,
                                  String writeCommunityString, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              peer.getParameters().setReadCommunity( readCommunityString );
              peer.getParameters().setWriteCommunity( writeCommunityString );
              this.observer = observer;
         public SNMPCommand( InetAddress agentAddress, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              this.observer = observer;
         public IfXDescrScanner(Device device, SNMPCommandObserver observer )
         throws UnknownHostException{
              super(      InetAddress.getByName( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
        public Cat5500IfXDescr( Device device, SNMPCommandObserver observer )
         throws UnknownHostException{
              super(      InetAddress.getByName( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
         }You'll notice SNMPCommand has 2 constructors. i get no error when i call super to the SNMPCommand constructor from IfXDescrScanner however when i call it from Cat5500IfXDescr i get the error. Is what i am doing illegal. Anyone any ideas on how i solve this. Thanks
    Joe.

    From what I see in a single look, you are passing an object of java.net.Inet to the constructor and the constructor takes InetAddress object as parameter.
    Just check it.
    Hi guys im having problems with constructors. I get
    the following error:
    package\Cat5500IfXDescr.java:60: cannot resolve
    symbol
    symbol : constructor
    IfXDescrScanner(java.net.Inet,java.lang.String,java.la
    ng.String,differentPackage.SNMPCommandObserver)
    location: class package.IfXDescrScanner
    super( InetAddress.getByName(
    device.getIpAddress()),
    I have a class SNMPCommand
    I have a class IfDescrScanner which extends
    SNMPCommand
    I have a class Cat5500IfXDescr which extends
    IfDescrScanner
    Here are the respective constructors:
         public SNMPCommand( InetAddress agentAddress,
    String readCommunityString,
    String writeCommunityString,
    tring, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
    peer.getParameters().setReadCommunity(
    y( readCommunityString );
    peer.getParameters().setWriteCommunity(
    y( writeCommunityString );
              this.observer = observer;
    public SNMPCommand( InetAddress agentAddress,
    , SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              this.observer = observer;
         public IfXDescrScanner(Device device,
    SNMPCommandObserver observer )
         throws UnknownHostException{
    super(      InetAddress.getByName(
    e( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
        public Cat5500IfXDescr( Device device,
    SNMPCommandObserver observer )
         throws UnknownHostException{
    super(      InetAddress.getByName(
    e( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
         }You'll notice SNMPCommand has 2 constructors. i get
    no error when i call super to the SNMPCommand
    constructor from IfXDescrScanner however when i call
    it from Cat5500IfXDescr i get the error. Is what i am
    doing illegal. Anyone any ideas on how i solve this.
    Thanks
    Joe.

  • Problem with constructors and using public classes

    Hi, I'm totally new to Java and I'm having a lot of problems with my program :(
    I have to create constructor which creates bool's array of adequate size to create a sieve of Eratosthenes (for 2 ->n).
    Then it has to create public method boolean prime(m) which returs true if the given number is prime and false if it's not prime.
    And then I have to create class with main function which chooses from the given arguments the maximum and creates for it the sieve
    (using the class which was created before) and returns if the arguments are prime or not.
    This is what I've written but of course it's messy and it doesn't work. Can anyone help with that?
    //part with a constructor
    public class ESieve {
      ESieve(int n) {
    boolean[] isPrime = new boolean[n+1];
    for (int i=2; i<=n; i++)
    isPrime=true;
    for(int i=2;i*i<n;i++){
    if(isPrime[i]){
    for(int j=i;i*j<=n;j++){
    isPrime[i*j]=false;}}}
    public static boolean Prime(int m)
    for(int i=0; i<=m; i++)
    if (isPrime[i]<2) return false;
    try
    m=Integer.parseInt(args[i]);
    catch (NumberFormatException ex)
    System.out.println(args[i] + " is not an integer");
    continue;
    if (isPrime[i]=true)
    System.out.println (isPrime[i] + " is prime");
    else
    System.out.println (isPrime[i] + " is not prime");
    //main
    public class ESieveTest{
    public static void main (String args[])
    public static int max(int[] args) {
    int maximum = args[0];
    for (int i=1; i<args.length; i++) {
    if (args[i] > maximum) {
    maximum = args[i];
    return maximum;
    new ESieve(maximum);
    for(int i=0; i<args.length; i++)
    Prime(i);}

    I've made changes and now my code looks like this:
    public class ESieve {
      ESieve(int n) {
       sieve(n);
    public static boolean sieve(int n)
         boolean[] s = new boolean[n+1];
         for (int i=2; i<=n; i++)
    s=true;
    for(int i=2;i*i<n;i++){
    if(s[i]){
    for(int j=i;i*j<=n;j++){
    s[i*j]=false;}}}
    return s[n];}
    public static boolean prime(int m)
    if (m<2) return false;
    boolean x = sieve(m);
    if (x=true)
    System.out.println (m + " is prime");
    else
    System.out.println (m + " is not prime");
    return x;}
    //main
    public class ESieveTest{
    public static int max(int[] args) {
    int maximum = args[0];
    for (int i=1; i<args.length; i++) {
    if (args[i] > maximum) {
    maximum = args[i];
    return maximum;
    public static void main (String[] args)
    int n; int i, j;
    for(i=0;i<=args.length;i++)
    n=Integer.parseInt(args[i]);
    int maximum=max(args[]);
    ESieve S = new ESieve(maximum);
    for(i=0; i<args.length; i++)
    S.prime(i);}
    It shows an error for main:
    {quote} ESieveTest.java:21: '.class' expected
    int maximum=max(args[]); {quote}
    Any suggestions how to fix it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Iv'e had my mac for 2 weeks & now have a problem with safari since I changed to a wireless super hub.  It will not open a web site I use my iPad & windows lap top will.  Apple support say it's the DNS settings cable say there okay please can anyone help

    Iv'e had my mac for 2 weeks safari was working great until I changed to a wire less super hub.  Safari will not let me open & log into a web site I go on a lot.  My ipad & windows lap top will on the same network.  Apple have said it's the DNS setting my cable provider say it's not it's a problem with my mac.  Iv'e phoned apple lots of times same with cable provider Iv'e tried a few things it has not helped solve the problem.  I'm now advised to return my mac to the shop for a check.  Has anyone else had this problem I would appreciate any help because I'm going round in circles.

    Adding a couple of DNS numbers sometimes helps:
    System Preferences>Network, select your wifi or ethernet network on the left and click on the 'advanced' button and then the DNS tab. On the left side of the window make a note of any DNS numbers listed so that you can re-instate them if necessary and then click on the '+" button bottom left of the window. Type 8.8.8.8 and click the + again and type 8.8.4.4 save the settings and try the website again.
    BTW, I have the same problem with Firefox not letting me input my password in secure sites. I did find a workround in the network settings in Firefpx prefs, but it didn't stick so I reverted to using Chrome as alternative browser. No problems with that so long as you don't mind Google looking over your shoulder

  • Problems with java constructor: "inconsistent data types" in SQL query

    Hi,
    I tried to define a type "point3d" with some member functions, implemented in java, in my database. Therefor I implemented a class Point3dj.java as you can see it below and loaded it with "loadjava -user ... -resolve -verbose Point3dj.java" into the database.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package spatial.objects;
    import java.sql.*;
    public class Point3dj implements java.sql.SQLData {
    public double x;
    public double y;
    public double z;
    public void readSQL(SQLInput in, String type)
    throws SQLException {
    x = in.readDouble();
    y = in.readDouble();
    z = in.readDouble();
    public void writeSQL(SQLOutput out)
    throws SQLException {
    out.writeDouble(x);
    out.writeDouble(y);
    out.writeDouble(z);
    public String getSQLTypeName() throws SQLException {
    return "Point3dj";
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    public static Point3dj create(double x, double y, double z)
    return new Point3dj(x,y,z);
    public double getNumber()
         return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.z);
    public static double getStaticNumber(double px, double py, double pz)
         return Math.sqrt(px*px+py*py+pz*pz);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Additionally, I created the corresponding type in SQL by
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CREATE OR REPLACE TYPE point3dj AS OBJECT EXTERNAL NAME
    'spatial.objects.Point3dj' LANGUAGE JAVA USING SQLDATA (
    x FLOAT EXTERNAL NAME 'x',
    y FLOAT EXTERNAL NAME 'y',
    z FLOAT EXTERNAL NAME 'z',
    MEMBER FUNCTION getNumber RETURN FLOAT
    EXTERNAL NAME 'getNumber() return double',
    STATIC FUNCTION getStaticNumber(xp FLOAT, yp FLOAT, zp FLOAT) RETURN FLOAT
    EXTERNAL NAME 'getStaticNumber(double, double, double) return double')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After that I tried some SQL commands:
    create table pointsj of point3dj;
    insert into pointsj values (point3dj(2,1,1));
    SELECT x, a.getnumber() FROM pointsj a;Now, the problem:
    Everything works fine, if I delete the constructor
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    in the java class, or if I replace it with a constructor that has no input arguments.
    But with this few code lines in the java file, I get an error when executing the SQL command
    SELECT x, a.getnumber() FROM pointsj a;The Error is:
    "ORA-00932: inconsistent data types: an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class expected, an Oracle type that could not be converted to a java class received"
    I think, there are some problems with the input argument of the constructor, but why? I don't need the constructor in SQL, but it is used by a routine of another java class, so I can't just delete it.
    Can anybody help me? I would be very glad about that since I already tried a lot and also search in forums and so on, but wasn't successful up to new.
    Thanks!

    Dear Avi,
    This makes sense when it is a short code sample (and i think i've done that across various posts), but sometime this is too long to copy/paste, in these cases, i refer to the freely available code samples, as i did above on this forum; here is the quote.
    Look at examples of VARRAY and Nested TABLES of scalar types in the code samples of my book (chapter 8) http://books.elsevier.com/us//digitalpress/us/subindex.asp?maintarget=companions/defaultindividual.asp&isbn=9781555583293&country=United+States&srccode=&ref=&subcode=&head=&pdf=&basiccode=&txtSearch=&SearchField=&operator=&order=&community=digitalpress
    As you can see, i was not even asking people to buy the book, just telling them where to grab the code samples.
    I appreciate your input on this and as always, your contribution to the forum, Kuassi

Maybe you are looking for

  • Word for Mac no longer working since updating

    Since updating to lion my Word for Mac won't open

  • Balance diffarences in reconcilation account

    Hi, my vendor balances according to reconcilation account wise(s_alr_87012082 vendor balances in local currency) in this report my value is Rs 4734349.48/-and my balace sheet report (f.01) particular reconcilation a/c is showing Rs 4837848.48/-. beca

  • Error on using CLOB in Report's PL/SQL Editor

    Hi Guys, I am using the Reports 9i (2.9.0.1.0) and using a field in Format Trigger to check is null or not. Field's datatype is CLOB. I am getting error on using this field in PL/SQL Editor otherwise data is showing on Layout Editor nicely. Does CLOB

  • Exchange Server 2010 Edge - Port Change

    I am learning Exchange 2010 and have set it up. BUT my ISP blocks port 25 so I thought no problem I have a windows VPS set up I will install an Exchange Edge Server there and then it will work. However it looks like exchange uses port 25 to send the

  • Air Application won't work

    New to fireworks.  I'm trying to prototype an air application.  I have succussfully created it once, but my links were not created yet so I started again from the original psd file.  Now, no matter what I do it will not finish the creation.  I get re