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 233037 - Clean install Output stops displaying after a couple of lines
Summary: Clean install Output stops displaying after a couple of lines
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
: 233036 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-19 07:22 UTC by tomzi
Modified: 2013-07-23 02:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2013-07-19 07:22:39 UTC
Clean install Output stops displaying after a couple of lines,  
but it seems to continue in the background


Product Version = NetBeans IDE 7.4 Beta (Build 201307092200)
Operating System = Linux version 3.8.0-26-generic running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Comment 1 tomzi 2013-07-19 07:30:19 UTC
It gets this exception after starting a Build:
java.lang.IllegalStateException: Fold has been already finished.
	at org.netbeans.core.output2.NbIO$IOFoldingImpl$NbIoFoldHandleDefinition.finish(NbIO.java:594)
	at org.openide.windows.FoldHandle.finish(FoldHandle.java:69)
	at org.netbeans.modules.maven.execute.cmd.ExecutionEventObject$Tree.finishFold(ExecutionEventObject.java:223)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.processExecEvent(CommandLineOutputHandler.java:467)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.trimTree(CommandLineOutputHandler.java:525)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.processExecEvent(CommandLineOutputHandler.java:431)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.access$300(CommandLineOutputHandler.java:90)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:275)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.setStdOut(CommandLineOutputHandler.java:168)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Comment 2 Milos Kleint 2013-07-22 05:34:45 UTC
can you attach the affected build output?
Comment 3 tomzi 2013-07-22 09:15:08 UTC
(In reply to comment #2)
> can you attach the affected build output?

grep from messages.log:

WARNING [org.openide.filesystems.Ordering]: Not all children in Projects/Actions/ marked with the position attribute: [net.sf.efhnbm.ExploreFromHere.instance], but some are: [org-zeroturnaround-jrebel-netbeans-actions-CreateRebelXMLContextMenuAction.instance, Projects_separatorBefore.instance, org-netbeans-modules-coverage-ProjectMenuAction.shadow, Projects_separatorAfter.instance, org-netbeans-modules-projectimport-eclipse-core-UpdateProjectAction.shadow, org-netbeans-modules-versioning-core-ProjectMenuItem.instance]
WARNING [org.openide.filesystems.Ordering]: Not all children in Projects/Actions/ marked with the position attribute: [net.sf.efhnbm.ExploreFromHere.instance], but some are: [org-zeroturnaround-jrebel-netbeans-actions-CreateRebelXMLContextMenuAction.instance, Projects_separatorBefore.instance, org-netbeans-modules-coverage-ProjectMenuAction.shadow, Projects_separatorAfter.instance, org-netbeans-modules-projectimport-eclipse-core-UpdateProjectAction.shadow, org-netbeans-modules-versioning-core-ProjectMenuItem.instance]
WARNING [org.openide.filesystems.Ordering]: Relative ordering attribute org-netbeans-modules-favorites-Select.instance/net-sf-efhnbm-SelectFromHere.instance on Actions/Window/SelectDocumentNode is deprecated in favor of numeric position attributes
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@52d3f288[MultiFileObject@64a80bd1[Shortcuts/D-R.shadow]]
WARNING [org.netbeans.modules.options.keymap.LayersBridge]: Invalid shortcut: org.openide.loaders.BrokenDataShadow@52d3f288[MultiFileObject@64a80bd1[Shortcuts/D-R.shadow]]
WARNING [org.netbeans.modules.editor.settings.storage.keybindings.KeyMapsStorage]: Duplicate shortcut 'D-I' definition; rebound from 'format' to 'reindent-line' in (Editors/Keybindings/Eclipse/Defaults/org-netbeans-modules-defaults-keybindings.xml).
WARNING [org.netbeans.modules.editor.settings.storage.keybindings.KeyMapsStorage]: Duplicate shortcut 'D-BACK_SLASH' definition; rebound from 'completion-show' to 'toggle-comment' in (Editors/Keybindings/Eclipse/Defaults/org-netbeans-modules-defaults-keybindings.xml).
WARNING [org.netbeans.modules.editor.settings.storage.keybindings.KeyMapsStorage]: Duplicate shortcut 'D-EQUALS' definition; rebound from 'expand-fold' to 'zoom-text-in' in (Editors/Keybindings/Eclipse/Defaults/org-netbeans-modules-defaults-keybindings.xml).
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output
java.lang.IllegalStateException: An unfinished nested fold exists.
	at org.netbeans.core.output2.NbIO$IOFoldingImpl$NbIoFoldHandleDefinition.startFold(NbIO.java:616)
	at org.openide.windows.FoldHandle.startFold(FoldHandle.java:81)
	at org.netbeans.modules.maven.execute.cmd.ExecutionEventObject$Tree.startFold(ExecutionEventObject.java:199)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler$Output.run(CommandLineOutputHandler.java:330)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
	at org.netbeans.modules.maven.execute.CommandLineOutputHandler.setStdOut(CommandLineOutputHandler.java:168)
	at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
[catch] at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
WARNING [org.netbeans.modules.masterfs.watcher.Watcher]: Cannot add filesystem watch for /home/tomzi/Develop/eircom/trunk/eircom/commons/commons-utils/target/test-classes: java.io.IOException: addWatch on /home/tomzi/Develop/eircom/trunk/eircom/commons/commons-utils/target/test-classes errno: 2
WARNING [org.netbeans.modules.masterfs.watcher.Watcher]: Cannot add filesystem watch for /home/tomzi/Develop/eircom/trunk/eircom/commons/commons-utils/target/maven-archiver: java.io.IOException: addWatch on /home/tomzi/Develop/eircom/trunk/eircom/commons/commons-utils/target/maven-archiver errno: 2



========================

grep from output:

cd /home/tomzi/Develop/product/trunk/product; JAVA_HOME=/opt/jdk/java-7-oracle M2_HOME=/opt/maven /opt/maven/bin/mvn -DskipTests=true -Pjrebel clean install -T3 -o
Scanning for projects...

Some problems were encountered while building the effective model for com.company.product-customizations.product.commons:commons:pom:4.0-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.company.product.components.scheduling:scheduling-commons:jar -> duplicate declaration of version ${components.product.version} @ com.company.product-customizations.product:product:4.0-SNAPSHOT, /home/tomzi/Develop/product/trunk/product/pom.xml, line 1067, column 22

Some problems were encountered while building the effective model for com.company.product-customizations.product.packaging:implementations-ear-product:pom:4.0-SNAPSHOT
'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 18, column 21

Some problems were encountered while building the effective model for com.company.product-customizations.product:product:pom:4.0-SNAPSHOT
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.company.product.components.scheduling:scheduling-commons:jar -> duplicate declaration of version ${components.product.version} @ line 1067, column 22

It is highly recommended to fix these problems because they threaten the stability of your build.

For this reason, future Maven versions might no longer support building such malformed projects.

------------------------------------------------------------------------
Reactor Build Order:

product
commons
commons-utils
commons-business
components-product
om-product
om-interface-product
rm-product
rm-interface-product
commons-cim
commons-webservices
ial-wwb-config
ial-product
ial-ws-ug-interface-product
ial-ws-cms-interface-product
commons-test
ial-ws-ug-impl-product
ial-ws-meteor-interface-product
ial-ws-meteor-impl-product
ial-ws-postout-interface-product
ial-ws-postout-impl-product
ial-ws-cms-impl-product
ial-ws-iptv-interface-product
ial-ws-iptv-impl-product
ial-sms-interface-product
ial-sms-impl-product
ial-email-interface-product
ial-email-impl-product
ial-ws-eicdd-interface-product
ial-ws-eicdd-impl-product
ial-ws-meteor-consumer-interface-product
ial-ws-meteor-consumer-impl-product
ial-ws-iptv-consumer-interface-product
ial-ws-iptv-consumer-impl-product
ial-ws-realex-interface-product
ial-ws-realex-impl-product
ial-ws-callback-product
ial-ws-consumer-product
bm-product
bm-interface-product
crm-product
crm-interface-product
banks-product
banks-interface-product
offerfilter-product
offerfilter-interface-product
channel-management-product
channel-management-interface-product
task-management-product
task-management-interface-product
om-workflow-product
ial-ug-notification-consumer-product
ial-meteor-notification-consumer-product
ial-dev-consumer-product
iim-product
iim-impl-product
rm-impl-product
banks-impl-product
psm-product
psm-interface-product
psm-impl-product
channel-management-impl-product
operator-management-product
operator-management-interface-product
operator-management-impl-product
debtor-management-product
debtor-management-interface-product
debtor-management-commands-product
debtor-management-impl-product
notification-commands-product
om-impl-product
bm-impl-product
crm-impl-product
offerfilter-impl-product
workflow-product
workflow-impl-product
scheduling-product
scheduling-commons-product
task-management-impl-product
balance-management-product
balance-management-commands-product
api-product
frontend-product
frontend-templates-product
css-war-template-product
webac-product
webac-module-product
webac-module-common
webac-module-ordermanagement-product
webac-module-customer-product
webac-module-billingmanagement-product
webac-module-channelmanagement-product
webac-module-accountsreceivable-product
infrastructure-product
ehcache-config
webac-war-template-product
packaging-product
company-config-product
css-wars-product
webac-css-vso01-product
webac-wars-product
webac-vso01-product
webac-vsp-product
r6-core-product
r6-rest-api
r6-scheduling-product
dev-scheduling-product
ial-consumer-product
dev-consumer-product
implementations-ear-product
impex-product
impex-file-product
impex-workspace-product
deployment-product
scm-config-product
scm-tool-product
impex-deployment-product
resources
jasper reports
jasper-fonts
Building with 3 threads
                                                                        
------------------------------------------------------------------------
Building product 4.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:2.5:clean (default-clean) @ product ---

--- jrebel-maven-plugin:1.1.3:generate (generate-rebel-xml) @ product ---
Processing com.company.product-customizations.product:product with packaging pom

>>> maven-source-plugin:2.1.2:jar (default) @ product >>>

<<< maven-source-plugin:2.1.2:jar (default) @ product <<<

--- maven-source-plugin:2.1.2:jar (default) @ product ---

--- maven-install-plugin:2.3.1:install (default-install) @ product ---
Installing /home/tomzi/Develop/product/trunk/product/pom.xml to /home/tomzi/.m2/repository-company/com/company/product-customizations/product/product/4.0-SNAPSHOT/product-4.0-SNAPSHOT.pom
                                                                        
------------------------------------------------------------------------
Building commons 4.0-SNAPSHOT
------------------------------------------------------------------------
                                                                        
------------------------------------------------------------------------
Building frontend-product 4.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:2.5:clean (default-clean) @ frontend-product ---
                                                                        
------------------------------------------------------------------------
Building components-product 4.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:2.5:clean (default-clean) @ commons ---
Comment 4 Milos Kleint 2013-07-22 09:22:16 UTC
thanks, the problem is in the -T3 switch. The output line folding is to be disabled when multithreaded builds are involved. however I've got the condition wrong and assumed either --threads X or -T x. apparently the short variant has no space.
Comment 5 tomzi 2013-07-22 09:49:37 UTC
I think you can have it with space or without, seen both...
Comment 6 Milos Kleint 2013-07-22 10:41:08 UTC
*** Bug 233036 has been marked as a duplicate of this bug. ***
Comment 7 Milos Kleint 2013-07-22 11:23:42 UTC
http://hg.netbeans.org/core-main/rev/825ed873921f
Comment 8 Quality Engineering 2013-07-23 02:39:27 UTC
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/825ed873921f
User: Milos Kleint <mkleint@netbeans.org>
Log: #233037 can have -T and --threads switches with a space or directly with a number attached