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 214532 - [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-parsing-api.jar": no such file or directory
Summary: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/module...
Status: RESOLVED INVALID
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks: 214279
  Show dependency tree
 
Reported: 2012-06-20 17:50 UTC by wbrana
Modified: 2012-07-27 13:12 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch which causes bug (5.57 KB, patch)
2012-06-20 20:14 UTC, wbrana
Details | Diff
verbose and debug build log (234.25 KB, application/octet-stream)
2012-07-05 14:54 UTC, wbrana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wbrana 2012-06-20 17:50:50 UTC
I have worked in branch at revision X, which was branched from changeset 224616 of http://hg.netbeans.org/main
Today I compiled latest version
hg pull
hg update
ant
tried to return to and build my branch
hg update -r X
ant
Now build fails

compile:
 [nb-javac] Compiling 123 source files to /mnt/md3/cache/inst/main/api.search/build/classes
   [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-parsing-api.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-api-java-classpath.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/platform/modules/org-openide-execution.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-libs-lucene.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-lib.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-fold.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-lib2.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-settings.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-util.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-lexer.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-indent.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-editor-settings-storage.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/platform/modules/org-netbeans-modules-masterfs.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-parsing-lucene.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-project-indexingbridge.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-projectapi.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-projectuiapi.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/platform/modules/org-netbeans-modules-sampler.jar": no such file or directory
   [repeat] warning: [path] bad path element "/mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-spi-tasklist.jar": no such file or directory
Comment 1 wbrana 2012-06-20 18:52:11 UTC
I created new branch from changeset 224859, added my code and build still 
fails with same error.
Comment 2 wbrana 2012-06-20 18:57:47 UTC
Previous changeset was unexact. Exact is 3cdc11283271.
Product Version: NetBeans IDE Dev (Build 20120620-c587ba686a6a)
Java: 1.7.0_05; Java HotSpot(TM) Client VM 23.1-b03
Comment 3 wbrana 2012-06-20 20:14:02 UTC
Created attachment 121123 [details]
patch which causes bug

steps:
1. ant clean
2. patch -p1 ...
3. ant
Comment 4 wbrana 2012-07-05 14:54:44 UTC
Created attachment 121761 [details]
verbose and debug build log
Comment 5 wbrana 2012-07-07 10:00:33 UTC
this bug seems to be related to following line in log
 /mnt/md3/cache/inst/main/nbbuild/netbeans/ide/modules/org-netbeans-modules-parsing-api.jar missing for /mnt/md3/cache/inst/main/api.search but will not first try to build /mnt/md3/cache/inst/main/parsing.api
Comment 6 Jaroslav Havlin 2012-07-12 16:27:39 UTC
I can reproduce the bug, but I haven't been able to solve it yet, I'm sorry.

This line in log may be also related:

[insert-module-all-targets] Adding target all-api.search with depends="init,all-api.annotations.common,all-api.progress,all-libs.jna,all-queries,all-o.n.swing.outline,all-openide.actions,all-openide.awt,all-openide.dialogs,all-openide.explorer,all-openide.filesystems,all-openide.io,all-openide.loaders,all-openide.modules,all-openide.nodes,all-openide.text,all-openide.util,all-openide.util.lookup,all-openide.windows"
Comment 7 Jaroslav Havlin 2012-07-27 11:54:48 UTC
Tomas, please, wouldn't you know what causes this issue? Thank you.
Comment 8 Tomas Zezula 2012-07-27 12:39:20 UTC
It's caused by illegal backward reference among modules.
The search.api which is in platform cluster cannot depend on parsing.api which is on ide cluster.
Looking at patch it's problematic. Not sure what the index method should do but it probably duplicates existing features. Empty index method (indexer which does nothing) but registers for all mime types just slows down the IDE.
Comment 9 Tomas Zezula 2012-07-27 12:39:56 UTC
What is the purpose of the attached patch?
Thanks
Comment 10 wbrana 2012-07-27 12:47:22 UTC
This patch is reduced test case from full text indexer.
Comment 11 Jaroslav Havlin 2012-07-27 12:50:29 UTC
(In reply to comment #8)
> It's caused by illegal backward reference among modules.
> The search.api which is in platform cluster cannot depend on parsing.api which
> is on ide cluster.
I'm sorry, I haven't noticed it :-( Thank you very much for your help.

> What is the purpose of the attached patch?
See bug 214279.
Comment 12 Petr Jiricka 2012-07-27 13:09:41 UTC
So it sounds to me like this is not a bug because the patch is flawed, and should be closed as INVALID, no?
Comment 13 Tomas Zezula 2012-07-27 13:10:17 UTC
Yes.