This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65685 - inconvertible types reported where not applicable
Summary: inconvertible types reported where not applicable
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 10:32 UTC by jymen
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jymen 2005-10-03 10:32:03 UTC
from inside a project with existing ant :
- the Ant Build does not report any error whien building.
- Editing a source belonging to project, the following code :

    private boolean isDataNode ( Object source )
    { 
****> if ( source instanceof XmlTag ) // Direct coming from Xml jedit Pluggin
        return true ; 
      else if ( source instanceof DataModelPropertyElement ) // Node 
encapsulated
        return true ; 
      return false ; 
    }

reports 'inconvertible types found : java.land.Object required : 
xml.parser.XmlTag' on line marked with ****> from inside the editor with the 
corresponding line marked as error
Comment 1 Tomas Hurka 2005-10-03 14:38:42 UTC
I cannot reproduce it. Which version of Netbeans are you using? 
Comment 2 jymen 2005-10-03 16:18:12 UTC
Official BETA 5.0 on XP platform
Comment 3 Milan Kubec 2005-11-01 12:32:52 UTC
Removing INCOMPLETE, user provided requested info.
Comment 4 Jan Becicka 2005-11-01 14:16:56 UTC
We are unable to reproduce this bug. Can you attach your project?
Comment 5 jymen 2005-11-01 14:59:37 UTC
sorry , no just because in order to workaround the problem , I just migrate 
the existing ant project to a standard java project.

Sorry.
Comment 6 Jan Becicka 2005-11-09 14:47:28 UTC
Please reopen this issue if you are able to reproduce it. Thanks