Your message dated Mon, 18 Jul 2016 02:19:15 +0200
with message-id <[email protected]>
and subject line Re: netbeans: Fails to create a new project as Java Application
has caused the Debian Bug report #829503,
regarding netbeans: Fails to create a new project as Java Application
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
829503: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829503
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: netbeans
Version: 8.1+dfsg3-1
Severity: important

Dear Maintainer,

   * What led up to the situation?

Creating a new project

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

1. File/New Project
2. Java/Java Application, press next
3. Complete name and location, ensure "Create Main Class" is selected, press 
finish

   * What was the outcome of this action?

The wizard didn't close, and a silent notification appeared on status bar.

The notification in the details show this stack trace:

java.lang.ClassNotFoundException: freemarker.template.Template
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Caused: java.lang.ClassNotFoundException: freemarker.template.Template starting 
from ModuleCL@4bc9a64f[org.netbeans.libs.freemarker] with possible defining 
loaders null and declared parents 
[org.netbeans.MainImpl$BootClassLoader@4eec7777, 
ModuleCL@4fe71683[org.netbeans.modules.queries]]
        at org.netbeans.ProxyClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Caused: java.lang.NoClassDefFoundError: freemarker/template/Template
        at 
org.netbeans.libs.freemarker.FreemarkerFactory.getScriptEngine(Unknown Source)
        at 
javax.script.ScriptEngineManager.getEngineByName(ScriptEngineManager.java:238)
        at 
org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.getEngine(Unknown
 Source)
        at 
org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.engine(Unknown
 Source)
        at 
org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.accept(Unknown
 Source)
        at org.netbeans.api.templates.CreateFromTemplateImpl.build(Unknown 
Source)
        at org.netbeans.api.templates.CreateFromTemplateImpl.build(Unknown 
Source)
        at org.netbeans.api.templates.FileBuilder.build(Unknown Source)
        at org.netbeans.api.templates.FileBuilder.createFromTemplate(Unknown 
Source)
        at org.openide.loaders.MultiDataObject.handleCreateFromTemplate(Unknown 
Source)
        at org.openide.loaders.DataObject$CreateAction.run(Unknown Source)
        at org.openide.loaders.DataObjectPool$1WrapAtomicAction.run(Unknown 
Source)
        at org.openide.filesystems.EventControl.runAtomicAction(Unknown Source)
        at org.openide.filesystems.FileSystem.runAtomicAction(Unknown Source)
        at org.openide.loaders.DataObjectPool.runAtomicAction(Unknown Source)
        at org.openide.loaders.DataObject.invokeAtomicAction(Unknown Source)
        at org.openide.loaders.DataObject.createFromTemplate(Unknown Source)
        at org.openide.loaders.DataObject.createFromTemplate(Unknown Source)
        at 
org.netbeans.modules.java.j2seproject.api.J2SEProjectBuilder.createMainClass(Unknown
 Source)
        at 
org.netbeans.modules.java.j2seproject.api.J2SEProjectBuilder.access$2100(Unknown
 Source)
        at 
org.netbeans.modules.java.j2seproject.api.J2SEProjectBuilder$1.run(Unknown 
Source)
        at org.openide.filesystems.EventControl.runAtomicAction(Unknown Source)
        at org.openide.filesystems.FileSystem.runAtomicAction(Unknown Source)
        at 
org.netbeans.modules.java.j2seproject.api.J2SEProjectBuilder.build(Unknown 
Source)
        at 
org.netbeans.modules.java.j2seproject.J2SEProjectGenerator.createProject(Unknown
 Source)
        at 
org.netbeans.modules.java.j2seproject.ui.wizards.NewJ2SEProjectWizardIterator.instantiate(Unknown
 Source)
        at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(Unknown
 Source)
        at org.openide.loaders.TemplateWizard.handleInstantiate(Unknown Source)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(Unknown 
Source)
        at org.openide.loaders.TemplateWizardIterImpl.instantiate(Unknown 
Source)
        at 
org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(Unknown
 Source)
        at org.openide.WizardDescriptor.callInstantiateOpen(Unknown Source)
        at org.openide.WizardDescriptor.callInstantiate(Unknown Source)
        at org.openide.WizardDescriptor.access$2300(Unknown Source)
        at org.openide.WizardDescriptor$Listener$2$1.run(Unknown Source)
        at org.openide.util.RequestProcessor$Task.run(Unknown Source)
        at org.netbeans.modules.openide.util.GlobalLookup.execute(Unknown 
Source)
[catch] at org.openide.util.lookup.Lookups.executeWith(Unknown Source)
        at org.openide.util.RequestProcessor$Processor.run(Unknown Source)


   * What outcome did you expect instead?

The wizard should complete, and the project appear in the IDE.
The project folder is created, but appears empty.

Previously I had an error reported here 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829293,
now I'm using the packages for libatk-wrapper provided in that bug report.

Although it is easy to workaround in the case of creating a simple Java 
Application
(like choosing to not create the main class), this same exception also occurs 
when trying to create
a more complex project like the Web Application in the report for bug 829293.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages netbeans depends on:
ii  default-jdk [java8-sdk]    2:1.8-57
ii  libnb-apisupport3-java     8.1+dfsg3-1
ii  libnb-ide14-java           8.1+dfsg3-1
ii  libnb-java5-java           8.1+dfsg3-1
ii  libnb-platform18-java      8.1+dfsg1-2
ii  openjdk-8-jdk [java8-sdk]  8u91-b14-3

netbeans recommends no packages.

netbeans suggests no packages.

-- no debconf information


Regards,

Ismael

--- End Message ---
--- Begin Message ---
On Sun, 03 Jul 2016 18:40:05 -0300 Ismael <[email protected]> wrote:
> Package: netbeans
> Version: 8.1+dfsg3-1
> Severity: important
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> 
> Creating a new project
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> 1. File/New Project
> 2. Java/Java Application, press next
> 3. Complete name and location, ensure "Create Main Class" is selected, press 
> finish
> 
>    * What was the outcome of this action?
> 
> The wizard didn't close, and a silent notification appeared on status bar.
[...]

Hello,

two weeks ago I could reproduce this issue but today everything worked
fine. I suppose this was related to one of Netbean's many dependencies
but it got fixed in the meantime. Hence I am going to close this bug
report now.

Markus

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to