Weird JBuilder error, help is appreciated

I built an application using notepad and command line comilation which worked fine. However, now we've got JBuilder and I have to put all the code into it. Just putting it directly in did not work, so any advice on that in general would be appreciated, because I'm not at all familiar with JBuilder.
I'm trying to copy paste some of my classes into JBuilder, they're really just support classes for my application itself. In particular, I have an extension of a JTable called MyTable with supporting files. There is a main class MyTable in file MyTable.java and a supporting interface CellColor in file CellColor.java along with many other supporting classes & interfaces in their own files.
I am just trying to get it to compile without even using it in the application yet. However, JBuilder keeps giving this error:
"CellColor.java": Duplicate definition of class automated_base_schedule.CellColor, defined in \src\automated_base_schedule\CellColor.java and also defined in \src\automated_base_schedule\MyTable.java.I have checked and rechecked file MyTable.java (it's not a big file anyways), but it definitely does not redefine CellColor interface. In fact it doesn't even mention it (it's implemented by another class that supports MyTable). I've also checked all the other files in case it was redefined by them.
I can't do anything until I fix this problem. Any advice that might help would be greatly appreciated. Thanks!

You have duplicates.
I would suggest starting another project, workspace (or whatever is is called) and put your stuff in there.
If someone else created the work space then get that again and completely remove your existing one and then replace it with the other one. (Completely means finding the directory and removing it.)

Similar Messages

  • Weird RecordStore error - help...anybody?

    I am receiving an error from a command of the following form:
    setRecord(1, data, 0, data.length)
    where data is a byte array (defined by a toByteArray() from a ByteArrayOutputStream).
    The error states:
    javax:microedition.rms.RecordStoreException: Error setting record data: java.io.IOException: write exceeds maximum file size.
    The thing I find weird is that, when I display the getSize() and getSizeAvailable() on the RecordStore, I get really big numbers, like:
    size is 62200
    size available is 546972
    while my data is small,
    data.length = 9536
    So I am confused by the "exceeds maximum file size" notice. The data is definitely small enough to fit in what memory I have available. And...Is there a file involved or is something not quite right with the message, which also appears to have the form of two error messages merged as one.
    Does anyone have any ideas as to what I am encountering here? Would anyone know of anyway I can track down such a problem? I'm a bit lost as to how to debug this since it seems like there isn't much I can play around with given the somewhat limited amount of things I can do (and mess up) with RecordStores. Could it be a memory leak/overwrite? (I'm not sure that that is too likely, particularly in Java, but I'm at a bit of a loss as to where to find problems to try to get my hands on.)
    Thanks for any help, advice or thoughts!

    Hi, I'm writing app, which saves images to RS.
    public void saveImage(String path) {
            RecordStore rs = null;    // Record store
            String RECORD_STORE = path; // Name of record store
            addImageName(path);
            try {
                rs = RecordStore.openRecordStore(RECORD_STORE, true );
                rs.addRecord(data, 0, data.length);
                System.out.println("data lenght : " + data.length);
                System.out.println("writing finished");
                rs.closeRecordStore();
            catch (Exception e) {
            dpy.setCurrent(l);
        }this works...this methos saved even 25kB...

  • I have installed the latest version of iTunes for Windows 8 but when I try to open it, it says Windows has an error and I simply can't open it any longer.  Any help is appreciated!

    I have installed the latest version of iTunes for Windows 8 but when I try to open it, it says Windows has an error and I simply can't open it any longer.  Any help is appreciated!

    Hey socestlavie,
    Thanks for the question. I understand you are experiencing issues with iTunes for Windows. The following resource may help to resolve your issue:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/TS1717
    Thanks,
    Matt M.

  • When updating my ipod Nano, I get the error message Unknown Error 9006. Any help is appreciated.

    When updating my iPod Nano, I get the error message: Unknown Error 9006.  Any help is appreciated. 

    See this
    http://support.apple.com/kb/TS3694#9006

  • I had a problem with the hard disk on a 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB and when I tried to erase and format It fails with input/output error. Any help much appreciated!

    I had a problem with the hard disk on a 13" 2010 macbook pro. Replaced the hard disk with an Hitachi 1TB disk but when I tried to erase and format, it fails with input/output error and at other times saying unable to allocate memory. Any help much appreciated!

    Zap the PRAM and Reset the SMC, then try again.

  • HT201413 I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    I have a windows HP computer with windows 7 installed, when I try and update and restore my phone, I get an error message of there is not enough space on your computer to restore your phone. Any suggestions and help is appreciated.

    You need to discard or save to an external disk and then discard some of the stuff we all tend to keep forever (movies, music, pictures, docs, apps no longer used, etc.). A clogged up disk also does not function ideally either.

  • Problem: ipod server could not be contacted, i went to control panel, lan settings, ck'd auto detect and went back to i-tune to update and got the same error message, any help is appreciated

    Error message: Ipod software update server could not be contacted. I went to control panel, lan settings, clk'd auto detect settings and ok. When i went back to i tunes and clk's update, i got the same error. Any help is appreciated.
    Rand221

    See the previous posts on the right side of this page under the heading "More Like This" that have you same error message.

  • I'm trying to remove pages from my menu by exluded them via the page properties.  When I do that Muse crashes with the following error, "menuItemBox U32584 has no associates page!"  Any help is appreciated.

    I'm trying to remove pages from my menu by excluding them via the page properties.  When I do that Muse crashes and displays the following error, "Adobe Muse CC has encountered an error and wil not exit...." "menuItemBox U32584 has no associates page!"
    Any help is appreciated.
    Thanks,
    Carole

    One or more menu widgets within your site have become out-of-sync with the structure of your site in Plan view. If you send us the file we can repair and return it. Or you could delete and recreate the menu widgets.
    Please send us the .muse file at [email protected] along with a link to this thread. If the file is larger than 20Mb you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (If you use a service, please include your return e-mail address in the body of the message, since not all services include it in the sharing invite they send.)
    Thanks.

  • Weird firewire error: no valid selfIDs

    We are having an issue with firewire on two different macs. One is mac pro running 10.5.5 and the other g5 running 10.4.11 ( i am not on my home machine). We were shooting tethered to a hasselblad h3d via firewire 800 this morning when we first encountered the problem, although subsequently all firewire devices (externals, various manufacturers Lacie, iomega) drives were affected. The camera, and the the hardrives were not recognised. We have followed all steps appart from step 9 in this document http://www.thexlab.com/faqs/firewiretroubleshooting.html . We have also ran permissions repairs and subsequently applejack http://applejack.sourceforge.net/ Reseting the PRAM resulted in sucessful remounting of the external hardrives but when we started the camera it was not recognised. I subsequently noted the external hardrives that had remounted after the pram reset were no longer mounted although i am not sure when this happened.
    This message shows up repeatedly in the system events log, even when no firewire devices are physically connected.:
    Jan 19 15:55:02 Mac-Pro kernel[0]: FireWire (OHCI) TI ID 823f built-in: no valid selfIDs for more than 3 minutes after bus reset.
    A similar message repeatedly shows up in 10.4.11. I would have said that the fact it was not working on two different machines would isolate it to the camera (changed firewire cables too) but these messages on both systems is just weird =. Help very appreciated!!!

    here are a few bits of the log from the g5
    Jan 19 12:46:30 Studio-G5 configd[35]: executing /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/enable-net work
    Jan 19 12:46:30 Studio-G5 configd[35]: posting notification com.apple.system.config.network_change
    Jan 19 12:46:30 Studio-G5 lookupd[85]: lookupd (version 369.8) starting - Mon Jan 19 12:46:30 2009
    Jan 19 12:46:32 Studio-G5 configd[35]: target=enable-network: disabled
    Jan 19 12:47:40 Studio-G5 kernel[0]: Bad SelfID packet 3: 0x0 != 0xffffffff!
    Jan 19 12:47:49 Studio-G5 kernel[0]: Bad SelfID packet 3: 0x0 != 0xffffffff!
    Jan 19 12:47:51 Studio-G5 kernel[0]: Bad SelfID packet 3: 0x0 != 0xffffffff!
    Jan 19 12:48:02 Studio-G5 kernel[0]: Bad SelfID packet 3: 0x0 != 0xffffffff!
    Jan 19 12:49:22 Studio-G5 kernel[0]: FireWire (OHCI) Apple ID 52 built-in: 274 bus resets in last minute.
    Jan 19 12:50:26 Studio-G5 kernel[0]: FireWire (OHCI) Apple ID 52 built-in: no valid selfIDs for more than 2 minutes after bus reset.
    and
    Jan 19 13:19:14 Studio-G5 kernel[0]: FireWire (OHCI) Apple ID 52 built-in: no valid selfIDs for more than 2 minutes after bus reset.
    Jan 19 13:22:26 Studio-G5 kernel[0]: FireWire (OHCI) Apple ID 52 built-in: no valid selfIDs for more than 2 minutes after bus reset.
    Jan 19 15:09:24 Studio-G5 kernel[0]: disk1s1: media is not present.
    Jan 19 15:09:24 Studio-G5 kernel[0]: disk1s1: media is not present.
    Jan 19 15:09:24 Studio-G5 kernel[0]: disk1s1: media is not present.
    Jan 19 15:09:24 Studio-G5 kernel[0]: disk1s1: media is not present.
    there

  • Sort error help

    Hi all.
    I have a function that work fine by itself
    ItemEditEnd calls a function to change a value in a DP from
    true to false or vice versa.
    When a user clicks on a NumericStepper to change values the
    ItemEditEnd Event fires this works fine
    The problem occurs when a user sorts a column prior to
    editing.
    When this occurs I receive this error: Find criteria must
    contain at least one sort field value.
    Any help is appreciated.

    Sreenivas,
    thanks.
    i think it had more to do with the fact that I am using Item
    renderers in a DataGrid.
    when the grid is sorted Flex losses the context of the item
    renderers
    What I did was to assign the DP to a temp AC then perform my
    operations then set the original AC source equal to the temp
    ac

  • Accessing Runtime Information - ERROR - HELP

    Hi all,
    I am trying to access the runtime MBean with the sample code given in the WebLogic online document
    Here is the part of the code
    try {            
    System.out.println("\n----Trying to access runtime mbean \n");
    mbeanSet = home.getMBeansByType("ServerRuntime");
    mbeanIterator = mbeanSet.iterator();
    // Comparing the name of the server in each ServerRutime
    // MBean to the value specified by serverName
    while(mbeanIterator.hasNext()) {               
    serverRuntime = (ServerRuntimeMBean)mbeanIterator.next();
    if(serverRuntime.getName().equals(serverName)) {                   
    System.out.println("Found the serverRuntimembean: " + serverRuntime + " for: " + serverName); System.out.println("Current state: " + serverRuntime.getState() ); System.out.println("Stopping the server ..."); serverRuntime.shutdown(); System.out.println("Current state: " + serverRuntime.getState() ); } }
    } catch (Exception e) {            
    System.out.println("Caught exception: " + e); }
    When I try to run the program I am getting the following error.
    <Aug 26, 2004 3:48:33 PM PDT> <Error> <RJVM> <BEA-000503> <Incoming message header or abbreviation processing failed
    java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -54677950900
    68647408, local class serialVersionUID = 1081892073854801359
    java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -546779509006
    8647408, local class serialVersionUID = 1081892073854801359
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
    at java.io.ObjectInputStream.readExternalData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:209)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:232)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:618)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    >
    Caught exception: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
            java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
            java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -5467
    795090068647408, local class serialVersionUID = 1081892073854801359]
    Did anybody come across this kind of error? Please let me know. Any help is appreciated. Thanks!
    -Praneetha

    Praneetha,
    The client version of ObjectName is different from the version on the
    server side. Make sure you have the same class version.
    Thanks,
    -satya
    Praneetha Sabhanayakam wrote:
    Hi all,
    I am trying to access the runtime MBean with the sample code given in the WebLogic online document
    Here is the part of the code
    try {            
    System.out.println("\n----Trying to access runtime mbean \n");
    mbeanSet = home.getMBeansByType("ServerRuntime");
    mbeanIterator = mbeanSet.iterator();
    // Comparing the name of the server in each ServerRutime
    // MBean to the value specified by serverName
    while(mbeanIterator.hasNext()) {               
    serverRuntime = (ServerRuntimeMBean)mbeanIterator.next();
    if(serverRuntime.getName().equals(serverName)) {                   
    System.out.println("Found the serverRuntimembean: " + serverRuntime + " for: " + serverName); System.out.println("Current state: " + serverRuntime.getState() ); System.out.println("Stopping the server ..."); serverRuntime.shutdown(); System.out.println("Current state: " + serverRuntime.getState() ); } }
    } catch (Exception e) {            
    System.out.println("Caught exception: " + e); }
    When I try to run the program I am getting the following error.
    <Aug 26, 2004 3:48:33 PM PDT> <Error> <RJVM> <BEA-000503> <Incoming message header or abbreviation processing failed
    java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -54677950900
    68647408, local class serialVersionUID = 1081892073854801359
    java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -546779509006
    8647408, local class serialVersionUID = 1081892073854801359
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
    at java.io.ObjectInputStream.readExternalData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:209)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:232)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:618)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caught exception: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
    [weblogic.rjvm.PeerGoneException: ; nested exception is:
    java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
    java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = -5467
    795090068647408, local class serialVersionUID = 1081892073854801359]
    Did anybody come across this kind of error? Please let me know. Any help is appreciated. Thanks!
    -Praneetha

  • Hi, everytime I go onto abode illustrator it crashes almost immediately and just says 'not responding'. it seems to resolve itself but then everytime you click something it just says not responding again. :/ any help is appreciated.

    My adobe just basically says not responding anytime i go on it and wont resolve itself no matter what? it's really prohibiting my work and i can't afford to lose too much time. any help is appreciated.

    Nobody can tell you anything without proper system and version info and ideally crash logs.
    Working with your Operating System’s Tools | Mylenium's Error Code Database
    Mylenium

  • Google Play Error Help

    Hello,
    I am trying to get a magazine up and running on the Google Play store. I thought everything was setup correctly but when I go to install the app (it's already on the google play store) i get the error message:
    "Couldn't install on USB storage or SD card"
    Any ideas?
    The App I built was for the Android market and was just for multi-folios. It's a free magazine if that helps.
    Any help is appreciated.
    Thanks!

    Hi Ali,
    I looked through the settings and couldnt seem to find an option to unmount the card. I'm new to the android tablets so maybe I am missing something?
    Thanks

  • TS2755 My husband and I have a linked apple account and i cloud. Now he is receiving all of my text messages. How can I fix it to where he only receives his messages and not mine? Any help is appreciated!

    My husband and I both have iphones and both are linked to the app store and i cloud. Now my husband is receiving all of my text messages and has all my contacts. How can we get it to where he does not receive my messages anymore? Any help is appreciated!

    Best way is to get your own Apple ID, but until then have him go to Settings > Message > Receive at and remove your phone number.

  • How do I sync my iPhone 5 to my new PC? iTunes will not recognize it even when plugged in the USB port. Settings General iTunes wifi sync is still my old laptop. Any help is appreciated.

    How do I sync my iPhone 5 to my new PC? iTunes will not recognize it even when plugged in the USB port. Settings>General>iTunes wifi sync is still my old laptop. Any help is appreciated.

    See also Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • Show rtf file with header and footer  in Editor

    hi I want to open an rtf file which contains header and footer.The file i got is opened but the header and footer are not there.these all done with Editor.Please kindly go thru this and give me a solution.

  • Controlfile creation

    Hi, While creating a control file, I got the following error. ERROR at line 1: ORA-01503: CREATE CONTROLFILE failed ORA-01130: database file version 10.2.0.2.0 incompatible with ORACLE version 10.2.0.0.0 ORA-01110: data file 1: 'L:\BackupPR1-22Aug09\

  • RDS 2008 R2 Internet explorer auto log out after 20 seconds IE9

    I have Windows RDS (remote Desktop services) 2008 r2 running (2 Gateway servers, 1 Session host, and 1 licence\broker server) and it has been working fine for past several months. Currently whenever a user launches an app that is internet biased or  

  • Error: mozilla-firefox conflicts with nss-nspr

    I get this message when I try: #>pacman -S gnome i get: error:  mozilla-firefox conflicts with nss-nspr i tried upgraded all installed packages, and still got this error.  I'm still not used to pacman, so I could have missed a step or something.  The

  • Question I've updated to CS6 CC 13.1.2

    I've updated to CS6 CC 13.1.2 iT seems ok but 3D is greyed out and not do I need to update Nvidia GeForce 9400 openGL Engine I'm lost on this?