fabric8io / django

Camel iPaaS functionality
0 stars 4 forks source link

Django in web ui error #44

Closed davsclaus closed 8 years ago

davsclaus commented 8 years ago
java.lang.IllegalStateException: A project is required in the current context
  at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:86)
  at io.fabric8.forge.ipaas.ConnectorSelectComponentStep.initializeUI(ConnectorSelectComponentStep.java:151)

  Caused by: java.lang.IllegalStateException: A project is required in the current context
  at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:86)
  at io.fabric8.forge.ipaas.ConnectorSelectComponentStep.initializeUI(ConnectorSelectComponentStep.java:151)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)

Got django installed in fabric8-forge and it gives some errors in the wizards. Forge is a pain to build commands when you have more than 1 screen and its bad lifecycle and calling the methods over and over again. And they are called in opposite order when executing.

davsclaus commented 8 years ago

screen shot 2016-09-29 at 7 03 06 pm

davsclaus commented 8 years ago

There is a NPE fix merged now.