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 138909 - Error messages on a compiled project
Summary: Error messages on a compiled project
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-03 10:35 UTC by Alexandr Scherbatiy
Modified: 2008-07-10 13:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
JavaFX Script project (20.49 KB, application/octet-stream)
2008-07-03 10:37 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-07-03 10:35:36 UTC
Steps to reproduce:

- Open the attached project
- Build the project
  The project is compiled without errors
  Open ' assortis.library.mathematics.multidim.HyperCube' file

  There are some errors in the IDE log file:

INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [51:27]/1685 - not a statement
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [51:31]/1689 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [51:49]/1707 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [53:34]/1762 - not a statement
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [53:40]/1768 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [55:13]/1799 - illegal start of expression
Error at [17:12]/326 - cannot find symbol
symbol  : class attribute
location: class assortis.library.mathematics.multidim.MDUniverseError at [19:12]/372 - cannot find symbol
symbol  : class attribute
location: class assortis.library.mathematics.multidim.MDUniverseINFO
[org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [8:41]/166 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [9:41]/217 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [11:49]/277 - <identifier> expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [11:50]/278 - ';' expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [11:60]/288 - illegal start of type
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [11:61]/289 - <identifier> expected
INFO [org.netbeans.api.javafx.source.CompilationInfoImpl]: Error at [11:62]/290 - ';' expected
 I
Comment 1 Alexandr Scherbatiy 2008-07-03 10:37:59 UTC
Created attachment 63875 [details]
JavaFX Script project
Comment 2 David Strupl 2008-07-03 12:23:56 UTC
Petr, this is yours. I suggest to log on FINE level ...
Comment 3 Alexandr Scherbatiy 2008-07-03 12:44:56 UTC
The INFO  message in IDE log file is not a big issue.
What is a root problem of these errors?
They looks very strange because the project is compiled without any error.
   
Comment 4 Alexandr Scherbatiy 2008-07-03 13:02:29 UTC
Is it a compiler issue?
Comment 5 Oleg Barbashov 2008-07-03 14:01:34 UTC
Looks like project class files compiled by different (probably old) compiler are placed on classpath.
Comment 6 Petr Nejedly 2008-07-03 14:29:31 UTC
The spurious error reports are caused by JFXC-1309 - the compiler tried to parse dependent files as java sources instead
of JFX sources. The issue is already fixed in the compiler (even in the tp1 branch), but the fix didn't make it into the
latest SDK drop yet.
I'll reduce the log level...
Comment 7 Petr Nejedly 2008-07-10 08:57:40 UTC
http://hg.netbeans.org/javafx/rev/be4533ae9122
Comment 8 Alexandr Scherbatiy 2008-07-10 13:01:49 UTC
verified