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 203594 - Error parsing file
Summary: Error parsing file
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.3
Hardware: PC Windows XP
: P3 normal with 3 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 12:14 UTC by cezariusz
Modified: 2015-05-12 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error screen with build success (168.69 KB, image/x-png)
2011-10-12 12:15 UTC, cezariusz
Details
File with the problem (6.73 KB, text/java)
2011-10-12 12:16 UTC, cezariusz
Details
Same problem on linux (112.48 KB, image/png)
2013-08-01 18:59 UTC, gilbertoca
Details
export the project to zip (17.79 KB, application/zip)
2013-08-01 19:09 UTC, gilbertoca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2011-10-12 12:14:16 UTC
[ BUILD # : 201109260601 ]
[ JDK VERSION : 1.6.24 ]

On one file I have an error "Error parsing file", but there is no information
about what kind of error it that. File opens in editor without any problems.
Project builds in Maven without problems (see output window).
Comment 1 cezariusz 2011-10-12 12:15:23 UTC
Created attachment 111933 [details]
Error screen with build success
Comment 2 cezariusz 2011-10-12 12:16:27 UTC
Created attachment 111934 [details]
File with the problem
Comment 3 waynebeast 2013-04-24 13:54:16 UTC
I am having the same problem with 7.3 on Windows 7. My colleague is having the same problem with 7.3 on Mac OSX.

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
Runtime: Java(TM) SE Runtime Environment 1.6.0_26-b03
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\wayne\AppData\Roaming\NetBeans\7.3
Cache directory: C:\Users\wayne\AppData\Local\NetBeans\Cache\7.3
Comment 4 gilbertoca 2013-08-01 18:59:24 UTC
Created attachment 138146 [details]
Same problem on linux

Product Version: NetBeans IDE 7.3 (Build 201306052037)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Linux version 3.7.10-1.16-desktop running on amd64; UTF-8; pt_BR (nb)
User directory: /home/gilberto.andrade/.netbeans/7.3
Cache directory: /home/gilberto.andrade/.cache/netbeans/7.3
Comment 5 gilbertoca 2013-08-01 19:09:57 UTC
Created attachment 138147 [details]
export the project to zip

I've used the option: File>>Export.
Hope that, with attached project, it will be easy to locate and fix the bug.
Comment 6 Jan Lahoda 2013-08-30 08:38:36 UTC
I am afraid the only errors I see in the attached project in a recent trunk build relate to duplicate class (e.g. "Pagamento" is defined at least three times in the fj.pkg17 package - once in a separate file, twice in Movimentacao.java) - the project does not compile using ant either. There may be a potential in improving the duplicate class error messages, however.
Comment 7 hefest 2014-05-26 07:44:18 UTC
Affects NB 8.0 (on linux, FWIW) as well.
Comment 8 Svata Dedic 2015-05-12 14:43:58 UTC
Cannot reproduce, sorry