Bug 429588 - KSOAP2 methods not available in Eclipse editor for Mac OS X
Summary: KSOAP2 methods not available in Eclipse editor for Mac OS X
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.4   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2014-03-04 13:18 EST by Marcello Turnbull CLA
Modified: 2014-03-31 11:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Turnbull CLA 2014-03-04 13:18:20 EST
Platform: MAC OS X 10.8.5
Eclipse: eclipse-standard-kepler-SR2-macosx-cocoa-x86_64
External libraries: Android 4.4.2, ksoap2-j2se-full-2.1.2

Hi

I'm developing Android apps that consume Web Services on Mac OS X. Eclipse editor signals an error when I try to instantiate any KSOAP2 class:

SoapObject mySoap = new SoapObject("http://www.eclipse.org", "eclipse_method");
mySoap.

For example, in the case of mySoap object, the hint isn't working and I cannot compile my project.

Best regards
Comment 1 Wayne Beaton CLA 2014-03-04 13:49:03 EST
What error message are you receiving?

What hint?

The subject suggests that the editor is malfunctioning (that you can't type). Is this the case, or it more that what you type results in a code error marker?
Comment 2 Dani Megert CLA 2014-03-05 02:53:00 EST
Which editor are you using?

Is there something in the <workspace>/.metadata/.log?
Comment 3 Marcello Turnbull CLA 2014-03-06 09:26:09 EST
(In reply to Wayne Beaton from comment #1)
> What error message are you receiving?
> 
> What hint?
> 
> The subject suggests that the editor is malfunctioning (that you can't
> type). Is this the case, or it more that what you type results in a code
> error marker?



Error message: "Multiple markers at this line..."

No hint (code completion). I looks like Eclipse editor cannot map the methods of KSOAP library.

The editor works fine with many external libraries, i.e. JERSEY, however in the case of KSOAP, I cannot write any of its methods without getting an error message. However, the editor never freezes.
Comment 4 Marcello Turnbull CLA 2014-03-06 09:37:35 EST
(In reply to Dani Megert from comment #2)
> Which editor are you using?
> 
> Is there something in the <workspace>/.metadata/.log?

I'm using Eclipse Kepler built-in editor (eclipse-standard-kepler-SR2-macosx-cocoa-x86_64).

No log file.
Comment 5 Wayne Beaton CLA 2014-03-06 10:57:01 EST
(In reply to Marcello Turnbull from comment #3)
> Error message: "Multiple markers at this line..."

If you hover over the red x, you should get some more helpful error messages. Those same error messages should be visible in the Problems view.

> No hint (code completion). I looks like Eclipse editor cannot map the
> methods of KSOAP library.

Is the library on your build path?

This might help:

http://stackoverflow.com/questions/3642928/adding-a-library-jar-to-an-eclipse-android-project
Comment 6 Dani Megert CLA 2014-03-31 11:07:19 EDT
Please reopen if you have more details/steps.