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 205091 - Warning messages Cannot load library from file
Summary: Warning messages Cannot load library from file
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 11:55 UTC by Jiri Skrivanek
Modified: 2011-11-18 10:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log. (86.71 KB, text/x-log)
2011-11-14 11:55 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-11-14 11:55:02 UTC
Created attachment 113188 [details]
IDE log.

On IDE start there is a lot of messages Cannot load library from file (see attached file for complete list). There is no clear reason in these messages.

WARNING [org.netbeans.modules.project.libraries.LibrariesStorage]: Cannot load library from file org-netbeans-api-project-libraries/Libraries/MySQLDriver.xml in Default System, reason: LibraryDeclarationHandlerImpl: Cannot create library: MySQLDriver of unknown type: j2se
Comment 1 Tomas Zezula 2011-11-14 12:31:31 UTC
>There is no clear reason in these messages.
The reason is that there is no J2SE library type provider disabled by FoD.
The warnings are OK, important is that the libraries are activated when the java cluster is enabled.
Can you verify it?
Comment 2 Jiri Skrivanek 2011-11-14 12:47:35 UTC
Libraries are OK, when Java SE is activated. Then warnings are useless IMO. Warning should be logged only after libraries are activated and something is wrong.
Comment 3 Tomas Zezula 2011-11-14 12:52:48 UTC
>Then warnings are useless IMO.
In fact this is not true, the warning says that there are library definitions which are not valid and are being ignored, IDE is not in consistent state. Unfortunately with FoD inconsistent state is normal.
What I can do is changing WARNING to INFO, I will definitely not remove it as it helps debugging strange error reports.
Comment 4 Tomas Zezula 2011-11-14 14:16:55 UTC
Fixed jet-main 53cc9880a518
Comment 5 Quality Engineering 2011-11-16 15:46:19 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/53cc9880a518
User: Tomas Zezula <tzezula@netbeans.org>
Log: #205091:Warning messages Cannot load library from file