Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[COCOA]have you ever seen this?

 
   Soft32 Home -> Mac -> Programmer Help RSS
Next:  Cocoa: Dragging to recycle bin?  
Author Message
MarcoS

External


Since: Aug 24, 2004
Posts: 3



(Msg. 1) Posted: Wed Aug 25, 2004 6:25 pm
Post subject: [COCOA]have you ever seen this?
Archived from groups: comp>sys>mac>programmer>help (more info?)

i wrote an application in cocoa-java(thank you for your help in my last
thread)...it compiles without errors, but when i try to run it... :

ObjCJava FATAL:
**** CANNOT CALL -init ON NSJavaObject OR ANY OF ITS SUBCLASSES
INSTANCES ****
ObjCJava Exit

what does it mean?
what is -init?(i dont know obj-c, just ANSI C)
the app (a simply mail sender) is composed by 3 java classes: a
controller, the streamin and the streamout classes...
maybe can't i import standard java classes like java.net.*?
thank you!
bye
Back to top
Login to vote
Joe Shimkus

External


Since: Mar 28, 2004
Posts: 25



(Msg. 2) Posted: Fri Aug 27, 2004 3:19 pm
Post subject: Re: [COCOA]have you ever seen this? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <_d9Xc.190436$5D1.8976189@news4.tin.it>,
MarcoS <marcos84.DeleteThis@despammed.com> wrote:

> i wrote an application in cocoa-java(thank you for your help in my last
> thread)...it compiles without errors, but when i try to run it... :
>
> ObjCJava FATAL:
> **** CANNOT CALL -init ON NSJavaObject OR ANY OF ITS SUBCLASSES
> INSTANCES ****
> ObjCJava Exit
>

I got something similar on a recent pure Objective-C program. A clean
and a rebuild cleared it up though I don't know what was wrong.

On the same project I've also experienced numerous times where Xcode 1.5
apparently believes an include file is being included multiple times.
I'm not using #ifndef to prevent recursion but am strictly using
#import. Again, a clean and a build clears it up.

> what is -init?(i dont know obj-c, just ANSI C)

Object default initializer.

--
PGP Key (DH/DSS): http://www.shimkus.com/public_key.asc
PGP Fingerprint: 89B4 52DA CF10 EE03 02AD 9134 21C6 2A68 CE52 EE1A

Windows has always aspired to be Mac-like without Microsoft ever really
understanding what that even means. - Robert Cringely
Back to top
Login to vote
M. Uli Kusterer

External


Since: Oct 28, 2004
Posts: 33



(Msg. 3) Posted: Tue Aug 31, 2004 11:02 am
Post subject: Re: [COCOA]have you ever seen this? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <joe-775D43.20192927082004 DeleteThis @individual.net>,
Joe Shimkus <joe DeleteThis @shimkus.com> wrote:

> > what is -init?(i dont know obj-c, just ANSI C)
>
> Object default initializer.

Java people would probably most likely equate it with the object's
constructor.

Cheers,
-- Uli
http://www.zathras.de
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Localization in Cocoa - I've dealt with the localization aspects of cocoa, and bundles for a while now, and am wondering how other people are d...

DragGrayRgn for Cocoa? - Is there any equivalent to DragGrayRgn for Cocoa - ie something where the user can drag the mouse and a rectangle will ...

Cocoa Browser Help - Anybody else here using Hoshi Takanori's Cocoa Browser as a documentation tool. I'm hoping someone can explain why it ...

Applescript & Cocoa - I just started playing around with the Applescript events in Interface Builder and I can't get anything to work. At f...

Cocoa Networking - I really need some advice here. I am learning the basics of Mac OS X programming and I have learned a great deal on my...

Cocoa Newbie - I've asked this question before, but I don't remember the answer, so if anyone could reply to this, it would be a help...
       Soft32 Home -> Mac -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
  Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]