[Bug 225285] New: Modified Maven Netbeans Module won't reload until full clean & build of the module

  • From:
  • To:
  • Subject: [Bug 225285] New: Modified Maven Netbeans Module won't reload until full clean & build of the module
  • Date: Thu, 24 Jan 2013 13:28:14 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=225285

             Bug #: 225285
        Issue Type: DEFECT
           Summary: Modified Maven Netbeans Module won't reload until full
                    clean & build of the module
    Classification: Unclassified
           Product: apisupport
           Version: 7.2.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Priority: P1
         Component: Maven
        AssignedTo: 

        ReportedBy: 

         QAContact: 



Created attachment 130581
  --> http://netbeans.org/bugzilla/attachment.cgi?id=130581
error after first reload

Product Version: NetBeans IDE 7.2.1 (Build 201210100934)
Updates: Updates available
Java: 1.7.0_09; Java HotSpot(TM) 64-Bit Server VM 23.5-b02
System: Linux version 3.5.0-17-generic running on amd64; UTF-8; hu_HU (nb)
User directory: /home/sola/.netbeans/7.2.1
Cache directory: /home/sola/.cache/netbeans/7.2.1

---------
I am developing a Mavenized Platform application.

I have a module (module1) attached to the "app" project of the platform
application as a Maven dependency. Module1 is also added as a module to the 
pom
of the "parent" project of the platform application.

Module1 is a very simple project consisting a singleton topcomponent created
with the visual designer.

When I modify the code of Module1 (say, change the background color of a label
placed in the topcomponent) the following happens:

I build Module1 with "Build".
I call "Reload in target platform":

The text of menu item for the topcomponent (in the "Window" menu) disappears 
in
the running platform application. The menu item stays there but it will not
work anymore. There is an error in the "IDE Log" window
(attached:error_after_first_reload.txt)

After this, Module1 somehow becomes invalid in the platform application and
will not load even after a full restart of the application.

I can fix this only by running a full "Clean & Build" and calling "Reload in
target platform" but I still get an error from the platform application in a
dialog (attached:error_after_second_reload.txt) and an error in the "IDE log"
(attached:error_after_second_reload2.txt).

After this the platform application can be restarted and will start without
errors and showing the modified version of Module1.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 225285] New: Modified Maven Netbeans Module won't reload until full clean & build of the module

solasola 01/24/2013

[Bug 225285] Modified Maven Netbeans Module won't reload until full clean & build of the module

solasola 01/24/2013

[Bug 225285] Modified Maven Netbeans Module won't reload until full clean & build of the module

solasola 01/24/2013

[Bug 225285] Modified Maven Netbeans Module won't reload until full clean & build of the module

mkleint 01/24/2013

[Bug 225285] Modified Maven Netbeans Module won't reload until full clean & build of the module

solasola 01/24/2013

[Bug 225285] Modified Maven Netbeans Module won't reload until full clean & build of the module

mkleint 01/24/2013

Project Features

About this Project

APIsupport was started in November 2009, is owned by Antonin Nebuzelsky, and has 43 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close