Sorry, it took me some time to create the repository, as I'm currently
working on-site, so I'm only at home at the weekend ...

However, here's the link to the example not working for me:
https://github.com/pnabbefeld/HelloToJavaHints/tree/nb13-jdk8

Kind regards,
Peter



Am 21.02.22 um 08:59 schrieb Geertjan Wielenga:
You're always going to get the same response -- no one can help if you
don't make your code available, put it on GitHub, and put a link here.

Gj

On Sun, Feb 20, 2022 at 8:21 PM Peter Nabbefeld <[email protected]>
wrote:

Don't know, if this might be related, but I also get error messages
related to NB 12.4 update center:

org.xml.sax.SAXParseException; systemId:
https://netbeans.apache.org/nb/updates/12.4/updates.xml.gz?unique=
<unique-id
removed>; lineNumber: 26; columnNumber: 2; Markup im Dokument nach dem
Root-Element muss ordnungsgemäß formatiert sein.
      at

com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
      at

com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      at

com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:327)
      at

org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:175)
Caused: java.io.IOException: Failed to parse
https://netbeans.apache.org/nb/updates/12.4/updates.xml.gz?unique=
<unique-id
removed>
      at

org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:177)
      at

org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:120)
[catch] at

org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:150)


The first message ("Markup im Dokument nach dem Root-Element muss
ordnungsgemäß formatiert sein.") means sth. like: "Document markup after
root element must be well-formatted."

Kind regards,
Peter



Am 20.02.22 um 18:37 schrieb Peter Nabbefeld:
Hello,

in the mean time, I've tried creating a Java hint following the
tutorials using different versions of NB (12.4, 12.6) on different OS
(Linux, Windows) without success, so I give up.

However, when trying to use Ant, I'm not able to build the module
project, either:

warning: No processor claimed any of these annotations:

org.netbeans.spi.java.hints.Hint,org.netbeans.spi.java.hints.TriggerPattern

/home/peter/NetBeansProjects/Geertjan/HintDemoWithAnt/src/org/nb/hintdemo/JOptionPaneHint.java:31:
error: cannot access TreePath
         return ErrorDescriptionFactory.forName(ctx, ctx.getPath(),
Bundle.ERR_JOptionPaneHint());
   class file for com.sun.source.util.TreePath not found
1 error
1 warning

Can anybody help me?

Kind regards,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to