[JBoss Tools] - Occasional NPE
by Jesper Skov
Jesper Skov [https://community.jboss.org/people/jskovjyskebankdk] created the discussion
"Occasional NPE"
To view the discussion, visit: https://community.jboss.org/message/807352#807352
--------------------------------------------------------------
We get the occasional NPE in 4.0.0.Final:
Stacktrace:
!ENTRY org.eclipse.ui 4 4 2013-04-10 08:41:59.264
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.NullPointerException
at org.jboss.tools.common.validation.TempMarkerManager$1.runInUIThread(TempMarkerManager.java:270)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3762)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1108)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:992)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:137)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:600)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
This is with Kepler M6, so it may be a side effect of it not being entirely compatible?
It happens while editing in a Team comparison view.
A modal error dialog shows up with a message like "'As-you-type JBT validation. Disabling the marker annotations' has encountered a problem."
I only have this from a single developer, but I'll see if I can reproduce in the 4.1.0b2 nightly we are using now.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807352#807352]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 2 months
[jBPM] - Start an InstanceProcess From a State
by 7ab3rn4t3 7ab3rn4t3
7ab3rn4t3 7ab3rn4t3 [https://community.jboss.org/people/7ab3rn4t3] created the discussion
"Start an InstanceProcess From a State"
To view the discussion, visit: https://community.jboss.org/message/807809#807809
--------------------------------------------------------------
Hello
let's suppose that
I start a process in this way from a Servlet
Map<String, Object> params = new HashMap<String, Object>();
params.put("name", "Arthur");
ProcessInstance istance = ksession.startProcess("com.sample.bpmn.hello", params);
and put it in the httpSession.... am I correct?
let's suppose that on the state 5 I will save in my DB my process params (I don't know how yet!!!!!!!!!)
first of all:
How can I get that params map from a UserTask or Script in JBPM so that I can make a Class that save them on my db????
the Tomorrow
I reLoad my page and want to create a new process that begin from the state that I left the day before.
Of course I can detect the state by a parmeter saved in that map.....
but is there a way to begin a process from a specific state ?
which is ?
Thanks in advance
fabio
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807809#807809]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 2 months
[JBoss Messaging] - Randomly ocorrence of “javax.naming.NameNotFoundException: queue not bound”
by Vitor Oliveira
Vitor Oliveira [https://community.jboss.org/people/vitorcoliveira] created the discussion
"Randomly ocorrence of “javax.naming.NameNotFoundException: queue not bound”"
To view the discussion, visit: https://community.jboss.org/message/807742#807742
--------------------------------------------------------------
I have one jboss 4.2.3 application consuming from a queue and putting in another queue. All 3 components running jboss 4.2.3. Deployment of all components were ok. However sometimes my application got this error:
javax.naming.NameNotFoundException: queue not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]
...
at javax.naming.InitialContext.lookup(Unknown Source) ~[na:1.6.0_26]
**or**
javax.naming.NameNotFoundException: [queue_name] not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) ~[jnpserver.jar:4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)]
...
at javax.naming.InitialContext.lookup(Unknown Source) ~[na:1.6.0_26]
I already verified the `service=JNDIView` on the final queue and everything seems ok. The problem occurs **randomly**. After ~15 minutes the errors stops and my deployment can process all messages without restart. Despite being random, this error is recurrent.
The jboss of the destination queue is running on virtual machines. Can this be a performance\load or network problem?
I searched for similar problems and only found occurring at start up of the application. My application is running and errors occurs from time to time randomly 3 to 5 times a day for 15 minutes.
Thank you.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807742#807742]
Start a new discussion in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 2 months
[jBPM] - Production deployment and jBPM?
by dimmordino
dimmordino [https://community.jboss.org/people/dimmordino] created the discussion
"Production deployment and jBPM?"
To view the discussion, visit: https://community.jboss.org/message/807027#807027
--------------------------------------------------------------
After reading through the user handbook and creating some simple business processes to get a feel for development/deployment, i still do not have a good feel for what a production system using jBPM would look like. For example, do most systems use the jbpm-console and guvnor in production? Or do most just use the jBPM engine without a repository and using a home grown or third party tool for visualizing the different workflows and raising user tasks?
I guess i'm really having trouble fitting all of the peices together to create a real production ready system. Any opinions, experiences and insight as to what worked for you, what doesn't scale etc... would be helpful in determining a direction to go.
thanks,
Dave
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/807027#807027]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 2 months