Re: [rules-users] HTTP 401 Unauthorized when using KIE API on Workbench M2 repository

2014-05-14 Thread Patel, Ronak (Autonomy)
have this header? It seems like it's not picking up the preemptive authentication settings. Thanks, Ronak From: Patel, Ronak (Autonomy) Sent: Monday, May 12, 2014 5:01 PM To: rules-users@lists.jboss.org Subject: HTTP 401 Unauthorized when using KIE API on Workbench M2 repository I'm

[rules-users] HTTP 401 Unauthorized when using KIE API on Workbench M2 repository

2014-05-12 Thread Patel, Ronak (Autonomy)
I'm having trouble authenticating to access the Workbench Maven repository through the KIE API (kie-ci). My code is the following and fails on the second line with an exception that says something like module not found. I see the more specific 401 error in the local Maven repository in the reso

Re: [rules-users] NullPointerException when calling FactType.set and FactType.setFromMap

2014-05-06 Thread Patel, Ronak (Autonomy)
ve Types before. The getFactType() API is for manipulating declared types. Java's standard Reflection API is for manipulating Java classes. Sent on the move On 6 May 2014 20:57, "Patel, Ronak (Autonomy)" mailto:ronak.pa...@hp.com>> wrote: Hello all, I’m g

[rules-users] NullPointerException when calling FactType.set and FactType.setFromMap

2014-05-06 Thread Patel, Ronak (Autonomy)
Hello all, I'm getting a NullPointerException when calling org.kie.api.definition.type.FactType.set(Object, String, Object) and also when I call org.kie.api.definition.type.FactType.setFromMap(Object, Map). The exception stack trace points to the same line in both cases: Exception in thread "ma