Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160829 - dev-util/netbeans-5.5-r1 "Metamodel XMI malformed" error
Summary: dev-util/netbeans-5.5-r1 "Metamodel XMI malformed" error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: William L. Thomson Jr. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 162328
Blocks:
  Show dependency tree
 
Reported: 2007-01-08 06:37 UTC by Mikhail V. Vorozhtsov
Modified: 2007-01-16 12:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
messages.log (messages.log,30.74 KB, text/plain)
2007-01-08 06:38 UTC, Mikhail V. Vorozhtsov
Details
emerge.info (emerge.info,10.97 KB, text/plain)
2007-01-08 06:46 UTC, Mikhail V. Vorozhtsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail V. Vorozhtsov 2007-01-08 06:37:19 UTC
There is something wrong with ${HOME}/.netbeans creation: at startup I got "Metamodel XMI malformed" exception (full log is attached), many IDE functions does not work properly (navigator shows "Scanning..." message forever, errors at project creation, etc). I've tried netbeans.org Linux bundle (netbeans-5_5-linux.bin) and it works fine. It even somehow fixed ${HOME}/.netbeans, so now I can run portage version of netbeans (although it still raises errors during code completion for classes from third-party jars).

Reproducible: Always
Comment 1 Mikhail V. Vorozhtsov 2007-01-08 06:38:07 UTC
Created attachment 105981 [details]
messages.log
Comment 2 Mikhail V. Vorozhtsov 2007-01-08 06:45:43 UTC
Bugzilla says that my emerge --info is too long, so I attached it.
Comment 3 Mikhail V. Vorozhtsov 2007-01-08 06:46:05 UTC
Created attachment 105983 [details]
emerge.info
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-01-10 17:24:35 UTC
I encountered something similar to this with 4.0, it was caused by dev-java/jmi-interface mof.jar not having a required xml file in it. I would guess that this could be fixed by bumping jmi-interface using the sources from 5.5.
Comment 5 Mikhail V. Vorozhtsov 2007-01-12 13:37:44 UTC
(In reply to comment #4)
> I encountered something similar to this with 4.0, it was caused by
> dev-java/jmi-interface mof.jar not having a required xml file in it. I would
> guess that this could be fixed by bumping jmi-interface using the sources from
> 5.5.
I think you are right: replacing jmi.jar and mof.jar (from jmi-interface-1.0-r2) in /usr/share/netbeans-5.5/ide7/modules/ext with ones from official bundle solved my problem.

Comment 6 Toralf Goaltenner 2007-01-15 09:49:42 UTC
(In reply to comment #5)
> I think you are right: replacing jmi.jar and mof.jar (from
> jmi-interface-1.0-r2) in /usr/share/netbeans-5.5/ide7/modules/ext with ones
> from official bundle solved my problem.
Thank you. Now I can view and edit the project properties. Is this a problem with the jmi-interface or caused by netbeans not using standard jars?
Comment 7 Mikhail V. Vorozhtsov 2007-01-16 07:32:32 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > I think you are right: replacing jmi.jar and mof.jar (from
> > jmi-interface-1.0-r2) in /usr/share/netbeans-5.5/ide7/modules/ext with ones
> > from official bundle solved my problem.
> Thank you. Now I can view and edit the project properties. Is this a problem
> with the jmi-interface or caused by netbeans not using standard jars?
I found that problem is in jmi-interface mof.jar. See bug #162328. 

Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-01-16 12:22:22 UTC
Deps raised to the new jmi-interface revision. Thanks for reporting and finding out the issue.