GithubHelp home page GithubHelp logo

ceylon-ide-netbeans's Introduction

Ceylon

This is the 1.3.4-SNAPSHOT "You'll Thank Me Later" release of the Ceylon command line tools. This is a production version of the platform.

Ceylon is a modern, modular, statically typed programming language for the Java and JavaScript virtual machines. The language features a flexible and very readable syntax, a unique and uncommonly elegant static type system, a powerful module architecture, and excellent tooling, including an awesome Eclipse-based IDE.

Ceylon enables the development of cross-platform modules which execute portably in both virtual machine environments. Alternatively, a Ceylon module may target one or the other platform, in which case it may interoperate with native code written for that platform.

Read more about Ceylon at http://ceylon-lang.org.

Distribution layout

  • cmr - Ceylon Module Resolver module
  • common - Common code module
  • compiler-java - JVM compiler module
  • compiler-js - JS compiler module
  • dist - Build files
  • language - Ceylon language module
  • model - Type model module
  • runtime - Runtime module
  • typechecker - Typechecker module
  • langtools-classfile - Java tools classfile module fork
  • tool-provider - Ceylon tool provider module
  • LICENSE-ASL - The Ceylon ASL license
  • LICENSE-GPL-CP - The Ceylon GPL/CP license
  • LICENSE-LGPL - The Ceylon LGPL license
  • README.md - This file

Building the distribution

Go to the dist folder and follow the instructions in the BUILD.md file.

Source code

Source code is available from GitHub:

http://github.com/ceylon

Issues

Bugs and suggestions may be reported in GitHub's issue tracker.

http://github.com/ceylon/ceylon/issues

Systems where Ceylon is known to work

Since Ceylon is running on the JVM it should work on every platform that supports a Java 7 or 8 compatible JVM. However we have tested the following platforms to make sure it works:

Linux

  • Ubuntu "wily" 15.10 (64 bit) JDK 1.7.0_95 (IcedTea) Node 0.10.25
  • Fedora 23 (64 bit), JDK 1.8.0_77 (OpenJDK)
  • Fedora 22 (64 bit), JDK 1.8.0_72 (OpenJDK)
  • Fedora 22 (64 bit), JDK 1.7.0_71 (Oracle)

Windows

  • Windows 10 Home (64 bit) 1.8.0_77
  • Windows 7 (64 bit) 1.7.0_05 (Oracle)
  • Windows Server 2008 R2 SP1 JDK 1.7.0_04

OSX

  • OSX 10 Lion (10.8.5) JDK 1.7.0_40 (Oracle) Node 0.10.17
  • OSX 11 El Capitan (10.11.6) JDK 1.7.0_80 (Oracle) Node 0.10.35

License

The Ceylon distribution is and contains work released

  • partly under the ASL v2.0 as provided in the LICENSE-ASL file that accompanied this code, and
  • partly under the GPL v2 + Classpath Exception as provided in the LICENSE-GPL-CP file that accompanied this code.

License terms for 3rd Party Works

This software uses a number of other works, the license terms of which are documented in the NOTICE file that accompanied this code.

Repository

The content of this code repository, available here on GitHub, is released under the ASL v2.0 as provided in the LICENSE-ASL file that accompanied this code.

By submitting a "pull request" or otherwise contributing to this repository, you agree to license your contribution under the license mentioned above.

Acknowledgement

We're deeply indebted to the community volunteers who contributed a substantial part of the current Ceylon codebase, working often in their own spare time.

Ceylon is a project of the Eclipse Foundation.

ceylon-ide-netbeans's People

Contributors

bjansen avatar gavinking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ceylon-ide-netbeans's Issues

Plugin breaks Java editor massively

Unfortunately after I installed the plugin, it breaks the whole java editor. It shows errors but there are no errors, I know that, becaue I could compile. I can't go to declaration anymore.

image

I think it has smth todo with the aggressive exception: #4

Error when saving a ".ceylon" file

Hello:

I'm using the build 1.3.4.1709230046.25.8 with NetBeans IDE 8.2, in Debian 9.1. I've created a new project. Whenever I save the changes in a file with .ceylon extension, a new exception is thrown. It doesn't matter if it's module.ceylon, package.ceylon or a file with code in it.

I've attached the exception's stack trace. A summary:

com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve com.redhat.ceylon.compiler.typechecker.analyzer.Warning .

Thank you.
exception.log

Fix ProgressHandleMonitor

The progress bar that's shown when updating the Ceylon model does not show any progress:

WARNING [org.netbeans.modules.progress.spi.InternalHandle]: Cannot switch to determinate mode when not running at com.redhat.ceylon.ide.netbeans.util.ProgressHandleMonitor.updateRemainingWork(ProgressHandleMonitor.ceylon:54)

Compatibility with Maven projects (ceylon-maven-plugin)?

exception.log
Hello:

When I open a Maven project that uses the ceylon-maven-plugin, NetBeans throws the following exception (I've attached the full stack trace at the top of this report):

ceylon.language.AssertionError "Assertion failed
	violated is NbCeylonProject _p = projects.getProject(project)
		expression has type ceylon.language::null which is not a subtype of com.redhat.ceylon.ide.netbeans.model::NbCeylonProject"

I guess that it's because the ceylon-ide-netbeans plug-in doesn't recognize this project as an authentic Ceylon project.

Would it be complicated/risky to enable the features of your plug-in with Maven projects, provided that they also contain a .ceylon directory? Would this feature qualify them as true Ceylon projects? I've tried to add a .ceylon/config file, but the plug-in still throws the error. What does the plug-in use for the detection?

There's a TypeScript plug-in for NetBeans, called nbts, that uses the existence of a tsconfig.json file as a sign that the project contains TypeScript files, and that it must analyse them. This allows the usage of TypeScript code in other type of projects, such as ones of Java/Maven or HTML5. Maybe the Ceylon plug-in could do something similar? Taking into account that ceylon-maven-plugin is able to keep the Maven and Ceylon descriptors in synchronization, Would it be a plausible idea?

Thank you!

New projects are not opened automatically after creating them

Hello:

When I create a new Java project, NetBeans IDE opens it immediately. But in the case of a Ceylon project, NetBeans doesn't do that automatically. Instead, I've to open it manually. Could you fix it, please?

I'm using the build 1.3.4.1709230046.25.8 with NetBeans IDE 8.2, in Debian 9.1.

Thank you.

OutOfBoundsException while opening NetBeans

When I open NetBeans und and I have a look into the messages.log, I see this exception:

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
	at java.lang.String.substring(String.java:1967)
	at com.redhat.ceylon.ide.netbeans.PluginStartup.registerCeylonModules(PluginStartup.java:245)
	at com.redhat.ceylon.ide.netbeans.PluginStartup.run(PluginStartup.java:75)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)

IOException while opening NetBeans

This comes up, when I open NetBeans:

java.io.IOException: Could not connect to URL nbresloc:/com/redhat/ceylon/ide/netbeans/project/CeylonApp.html. No such resource was found.
	at org.netbeans.core.startup.NbResourceStreamHandler$Connection.connect(NbResourceStreamHandler.java:143)
	at org.netbeans.core.startup.NbResourceStreamHandler$Connection.getInputStream(NbResourceStreamHandler.java:202)
	at java.net.URL.openStream(URL.java:1045)
[catch] at org.netbeans.modules.project.ui.TemplatesPanelGUI.propertyChange(TemplatesPanelGUI.java:349)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
	at java.awt.Component.firePropertyChange(Component.java:8428)
	at org.netbeans.modules.project.ui.TemplatesPanelGUI$ExplorerProviderPanel.access$900(TemplatesPanelGUI.java:527)
	at org.netbeans.modules.project.ui.TemplatesPanelGUI$ExplorerProviderPanel$2.run(TemplatesPanelGUI.java:610)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
	at java.awt.Dialog.show(Dialog.java:1084)
	at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1086)
	at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1136)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1108)
	at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:131)
	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:138)
	at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:98)
	at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:94)
	at org.openide.util.Mutex.readAccess(Mutex.java:218)
	at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1093)
	at java.awt.Component.show(Component.java:1671)
	at java.awt.Component.setVisible(Component.java:1623)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.showDialog(DialogDisplayerImpl.java:266)
	at org.netbeans.core.windows.services.DialogDisplayerImpl$1AWTQuery.run(DialogDisplayerImpl.java:192)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Please remove ineffective registration of resolver

I get a warning, while opening NetBeans:

WARNING [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]: Ineffective registration of resolver Services/MIMEResolver/CeylonResolver.xml use @MIMEResolver.Registration! See bug #191777.

please change it with a better solution.

Regards

Chris

Make a release please.

It would be great, if you can craete a 0.0.1 pre-release or so that we can test it. I know we can compile it by our own but if the features are still usable, it would be good to hold it for a releasable version.

Regards

Chris

Several exceptions when opening "ceylon-dddsampple"

Hello:

I'm trying to open a project called ceylon-dddsample. It appears in the section Example programs and applications of the Ceylon website. Unfortunately, NetBeans throws several exceptions when opening it.

I didn't know whether to open a report for each exception or if to put all them in the same report. Finally, I've chosen the 2nd option, even though I don't like it much, because I haven't been able to find a good title for each report.

Although there are lots of exceptions, I believe that there are only 2 types or categories involved in this issue. So I'm going to publish the stack trace of one of each type. I hope it's of help to you:

SEVERE [global]
ceylon.language.AssertionError "Assertion failed
	violated is Color color = attributes.getAttribute(StyleConstants.foreground)
		expression has type ceylon.language::null which is not a subtype of java.awt::Color"
	at com.redhat.ceylon.ide.netbeans.util.color_.color(highlight.ceylon:125)
	at com.redhat.ceylon.ide.netbeans.util.highlight_.highlight(highlight.ceylon:111)
	at com.redhat.ceylon.ide.netbeans.util.highlightQuotedMessage_$1.$call$(highlight.ceylon:48)
	at com.redhat.ceylon.ide.netbeans.util.iterateTokens_.iterateTokens(highlight.ceylon:91)
	at com.redhat.ceylon.ide.netbeans.util.highlightQuotedMessage_.highlightQuotedMessage(highlight.ceylon:45)
	at com.redhat.ceylon.ide.netbeans.util.highlightQuotedMessage_.highlightQuotedMessage(highlight.ceylon:40)
	at com.redhat.ceylon.ide.netbeans.problems.ProblemsTree$1anonymous_5_.getTreeCellRendererComponent(ProblemsModel.ceylon:136)
	at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)
	at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1360)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getXOrigin(VariableHeightLayoutCache.java:1143)
	at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getNodeBounds(VariableHeightLayoutCache.java:1130)
	at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLayoutCache.java:220)
	at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:529)
	at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1192)
	at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:169)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
	at javax.swing.JComponent.paintComponent(JComponent.java:780)
	at javax.swing.JComponent.paint(JComponent.java:1056)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JViewport.paint(JViewport.java:728)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.java:994)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at org.netbeans.core.windows.view.ui.MainWindow$1.paint(MainWindow.java:189)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
	at javax.swing.JComponent.paintChildren(JComponent.java:889)
	at javax.swing.JComponent.paint(JComponent.java:1065)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
	at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
	at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

SEVERE [nbIdeUtils]: Cannot convert type name "javax.ws.rs.Produces" to a Declaration
java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$VarSymbol cannot be cast to java.lang.String
	at org.eclipse.ceylon.model.loader.model.AnnotationTarget.getAnnotationTarget(AnnotationTarget.java:97)
	at org.eclipse.ceylon.model.loader.model.AnnotationTarget.annotationTargets(AnnotationTarget.java:114)
	at org.eclipse.ceylon.model.loader.model.AnnotationTarget.outputTargets(AnnotationTarget.java:146)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.makeInteropAnnotation(AbstractModelLoader.java:915)
	at org.eclipse.ceylon.model.loader.model.LazyPackage$3.run(LazyPackage.java:242)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$2.call(AbstractModelLoader.java:430)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedRun(AbstractModelLoader.java:427)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.addCompiledMember(LazyPackage.java:234)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.setContainer(AbstractModelLoader.java:830)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:797)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.access$400(AbstractModelLoader.java:103)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:2021)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:1910)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1910)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1905)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader.access$1801(IdeModelLoader.ceylon:93)
[catch] at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader$12.$call$(IdeModelLoader.ceylon:497)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader$12.$call$(IdeModelLoader.ceylon:488)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader$2.$call$(IdeModelLoader.ceylon:121)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader$2.call(IdeModelLoader.ceylon:121)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader.callWithLock(IdeModelLoader.ceylon:121)
	at org.eclipse.ceylon.ide.common.model.BaseIdeModelLoader.convertToDeclaration(IdeModelLoader.ceylon:506)
	at org.eclipse.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:126)
	at org.eclipse.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:101)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getDirectMemberMemoised(LazyPackage.java:101)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getDirectMember(LazyPackage.java:86)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.access$200(LazyPackage.java:38)
	at org.eclipse.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:154)
	at org.eclipse.ceylon.model.loader.model.LazyPackage$1.call(LazyPackage.java:101)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at org.eclipse.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getDirectMemberMemoised(LazyPackage.java:101)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getDirectMember(LazyPackage.java:86)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getDirectMember(LazyPackage.java:70)
	at org.eclipse.ceylon.model.loader.model.LazyPackage.getMember(LazyPackage.java:64)
	at org.eclipse.ceylon.compiler.typechecker.analyzer.ImportVisitor.importMember(ImportVisitor.java:344)
	at org.eclipse.ceylon.compiler.typechecker.analyzer.ImportVisitor.visit(ImportVisitor.java:108)
	at org.eclipse.ceylon.compiler.typechecker.tree.Tree$Import.visit(Tree.java:282)
	at org.eclipse.ceylon.compiler.typechecker.tree.Walker.walkImportList(Walker.java:101)
	at org.eclipse.ceylon.compiler.typechecker.tree.Tree$ImportList.visitChildren(Tree.java:262)
	at org.eclipse.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
	at org.eclipse.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:31)
	at org.eclipse.ceylon.compiler.typechecker.tree.Tree$ImportList.visit(Tree.java:254)
	at org.eclipse.ceylon.compiler.typechecker.tree.Walker.walkCompilationUnit(Walker.java:16)
	at org.eclipse.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visitChildren(Tree.java:30)
	at org.eclipse.ceylon.compiler.typechecker.tree.Visitor.visitAny(Visitor.java:24)
	at org.eclipse.ceylon.compiler.typechecker.tree.Visitor.visit(Visitor.java:26)
	at org.eclipse.ceylon.compiler.typechecker.analyzer.ImportVisitor.visit(ImportVisitor.java:69)
	at org.eclipse.ceylon.compiler.typechecker.tree.Tree$CompilationUnit.visit(Tree.java:22)
	at org.eclipse.ceylon.compiler.typechecker.context.PhasedUnit.scanTypeDeclarations(PhasedUnit.java:389)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild$15$2.$call$(CeylonProjectBuild.ceylon:651)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild$12.$call$(CeylonProjectBuild.ceylon:625)
	at org.eclipse.ceylon.compiler.java.Util.apply(Util.java:1671)
	at ceylon.language.unflatten_$1.$call$(unflatten_.java:46)
	at ceylon.language.Iterable$impl.each(Iterable.ceylon:366)
	at ceylon.language.impl.BaseIterable.each(bases.ceylon)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild.typecheck$priv$(CeylonProjectBuild.ceylon:663)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild.access$1700(CeylonProjectBuild.ceylon:117)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild$27$1$1.$call$(CeylonProjectBuild.ceylon:952)
	at org.eclipse.ceylon.ide.common.model.BaseCeylonProject.withSourceModel$canonical$(CeylonProject.ceylon:502)
	at org.eclipse.ceylon.ide.common.model.BaseCeylonProject.withSourceModel(CeylonProject.ceylon:494)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild$27$1.$call$(CeylonProjectBuild.ceylon:918)
	at org.eclipse.ceylon.ide.common.model.withCeylonModelCaching_.withCeylonModelCaching(CeylonProjects.ceylon:50)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild$27.$call$(CeylonProjectBuild.ceylon:917)
	at ceylon.interop.java.internal.synchronize_.synchronize(synchronize_.java:33)
	at ceylon.interop.java.synchronize_.synchronize(misc.ceylon:88)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild.updateCeylonModel(CeylonProjectBuild.ceylon:916)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild.performBuild$canonical$(CeylonProjectBuild.ceylon:610)
	at org.eclipse.ceylon.ide.common.model.CeylonProjectBuild.performBuild(CeylonProjectBuild.ceylon:580)
	at com.redhat.ceylon.ide.netbeans.model.CeylonModelManager$3.$call$(CeylonModelManager.ceylon:95)
	at com.redhat.ceylon.ide.netbeans.model.CeylonModelManager$2.$call$(CeylonModelManager.ceylon)
	at com.redhat.ceylon.ide.netbeans.model.CeylonModelManager$2.run(CeylonModelManager.ceylon)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

Thank you!

Aggressive ModelResolutionException while opening and using NetBeans

I thought this exception only comes, while opening NetBeans, but this comes often while working with NetBeans and opening a new Project or searching:

com.redhat.ceylon.model.loader.ModelResolutionException: Failed to resolve ceylon.language.empty_
	at com.redhat.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:2015)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$7.call(AbstractModelLoader.java:1910)
	at com.redhat.ceylon.model.loader.AbstractModelLoader$1.call(AbstractModelLoader.java:415)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.embeddingSync(AbstractModelLoader.java:406)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.synchronizedCall(AbstractModelLoader.java:411)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1910)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.convertToDeclaration(AbstractModelLoader.java:1905)
	at com.redhat.ceylon.model.loader.AbstractModelLoader.getDeclaration(AbstractModelLoader.java:5955)
	at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.toProducedType(TypeDescriptor.java:318)
	at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.toType(TypeDescriptor.java:310)
	at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.getProducedType(Metamodel.java:361)
	at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor.is(TypeDescriptor.java:1516)
	at com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor$Class.is(TypeDescriptor.java:270)
	at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.isReified(Metamodel.java:326)
	at com.redhat.ceylon.compiler.java.Util.isReified(Util.java:79)
	at ceylon.language.Iterable$impl.sequence(Iterable.ceylon:289)
	at ceylon.language.Map$impl$Items.sequence(Map.ceylon)
	at com.redhat.ceylon.ide.common.model.CeylonProjects$3.$call$(CeylonProjects.ceylon:110)
	at com.redhat.ceylon.ide.common.model.CeylonProjects.withLocking$priv$(CeylonProjects.ceylon:89)
	at com.redhat.ceylon.ide.common.model.CeylonProjects.getCeylonProjects(CeylonProjects.ceylon:108)
	at com.redhat.ceylon.ide.common.model.CeylonProjects.fileTreeChanged(CeylonProjects.ceylon:195)
	at com.redhat.ceylon.ide.netbeans.model.CeylonModelManager.notifyChanges$priv$(CeylonModelManager.ceylon:120)
	at com.redhat.ceylon.ide.netbeans.model.CeylonModelManager.fileChanged(CeylonModelManager.ceylon:137)
[catch] at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:178)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapperMulti.dispatchAllEventsSync(FCLSupport.java:248)
	at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:137)
	at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:112)
	at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1435)
	at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:213)
	at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:188)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:129)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:519)
	at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:421)
	at org.openide.text.DataEditorSupport.saveDocument(DataEditorSupport.java:603)
	at org.openide.loaders.DefaultES$SaveCookieImpl.save(DefaultES.java:207)
	at org.openide.actions.SaveAction.performAction(SaveAction.java:132)
	at org.openide.actions.SaveAction.performAction(SaveAction.java:102)
	at org.openide.actions.SaveAction$Delegate.actionPerformed(SaveAction.java:249)
	at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:231)
	at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:260)
	at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
	at org.openide.util.actions.ActionInvoker$ActionRunnable.actionPerformed(ActionInvoker.java:162)
	at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:109)
	at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:60)
	at org.openide.util.actions.ActionInvoker$ActionRunnable.doRun(ActionInvoker.java:153)
	at org.openide.util.actions.ActionInvoker$2.run(ActionInvoker.java:110)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

I think this has a lot of other wrong behaviours.

Regards

Chris

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.