jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven NetBeans Module Plugin
  • MNBMODULE-158

Problem with 'Uncharacterized problems"

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 3.6
  • Fix Version/s: None
  • Labels:
    None

Description

My situation does not look much like MNBMODULE-102 afaikt. I will attach a log.

[ERROR] Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.6:manifest (default-manifest) on project coreutils: Uncategorized problems with NetBeans dependency verification (maybe MNBMODULE-102): [org.netbeans.core.NbErrorManager] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.6:manifest (default-manifest) on project coreutils: Uncategorized problems with NetBeans dependency verification (maybe MNBMODULE-102): [org.netbeans.core.NbErrorManager]

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    nbm.oops
    30/Jan/12 11:50 AM
    107 kB
    Benson Margulies

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Benson Margulies added a comment - 30/Jan/12 11:59 AM

To try this for yourself, git clone from git://github.com/bimargulies/autopsy.git, cd to CoreUtils, and fire away.

Show
Benson Margulies added a comment - 30/Jan/12 11:59 AM To try this for yourself, git clone from git://github.com/bimargulies/autopsy.git, cd to CoreUtils, and fire away.
Hide
Permalink
Benson Margulies added a comment - 30/Jan/12 1:48 PM

This is at tag mnbmodule-158. Note that adding in some module.xml dependencies works around this problem. See tip.

Show
Benson Margulies added a comment - 30/Jan/12 1:48 PM This is at tag mnbmodule-158. Note that adding in some module.xml dependencies works around this problem. See tip.
Hide
Permalink
Jesse Glick added a comment - 31/Jan/12 5:13 PM

Using Maven 3.0.4, I get no error in trunk, and using the mentioned tag I get

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[31,24] error: package org.netbeans.core does not exist

[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[31,24] error: package org.netbeans.core does not exist

[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[42,46] error: cannot find symbol

as expected, since org.netbeans.core is not in compile scope. Nor can it be without the impl dep you added, since this is not a public API.

(API usage tip: rather than supersedes, try position with any number you like, since http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/build/generated/services.txt shows NbErrorManager at no particular position and thus at the very end, so you can run stuff first. Or if you must supersede the default handler, obtain it via Lookup.getDefault().lookup(ClassLoader.class).loadClass("org.netbeans.core.NbErrorManager").newInstance() and handle exceptions gracefully.)

Show
Jesse Glick added a comment - 31/Jan/12 5:13 PM Using Maven 3.0.4, I get no error in trunk, and using the mentioned tag I get
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[31,24] error: package org.netbeans.core does not exist

[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[31,24] error: package org.netbeans.core does not exist

[ERROR] .../CoreUtils/src/main/java/org/sleuthkit/autopsy/coreutils/AutopsyExceptionHandler.java:[42,46] error: cannot find symbol
as expected, since org.netbeans.core is not in compile scope. Nor can it be without the impl dep you added, since this is not a public API. (API usage tip: rather than supersedes, try position with any number you like, since http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/build/generated/services.txt shows NbErrorManager at no particular position and thus at the very end, so you can run stuff first. Or if you must supersede the default handler, obtain it via Lookup.getDefault().lookup(ClassLoader.class).loadClass("org.netbeans.core.NbErrorManager").newInstance() and handle exceptions gracefully.)
Hide
Permalink
Benson Margulies added a comment - 31/Jan/12 5:28 PM

Since I eventually got it to work with judicious use of dependencies in the descriptors, I guess I'll stick to looking to improve the doc.

Show
Benson Margulies added a comment - 31/Jan/12 5:28 PM Since I eventually got it to work with judicious use of dependencies in the descriptors, I guess I'll stick to looking to improve the doc.

People

  • Assignee:
    Jesse Glick
    Reporter:
    Benson Margulies
Vote (0)
Watch (0)

Dates

  • Created:
    30/Jan/12 11:50 AM
    Updated:
    31/Jan/12 5:28 PM
    Resolved:
    31/Jan/12 5:13 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.